Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DAY 015: PRESET
#3
This is something I had considered a side-effect but could be put to good use, to reduce the number of "COLOR" statements. When I started using GIMP, I was uncomfortable because "X" key has to be pressed to switch back and forth between "foreground" and "background" color, and I never liked its eraser. Only a few days ago that I used that program, the eraser worked like I think it should have; previously, it just ate all color leaving alpha channel alone.

I would have liked to know if old computers were as forgiving only about setting points in graphics although there was a tiny amount of memory available for it. The Radio Shack TRS-80 Color Computer, "SET" was the counterpart to "PSET" and held three parameters. But "RESET" (like "PRESET" in Q(uick)BASIC/QB64(PE)) was allowed only two parameters and always set dots to black color. No way around it until the Coco3 was devised and color attributes could be changed with "PALETTE". I'm not familiar with the Extended BASIC graphic modes offered on that computer which had a combination of statements to set up a screen. The "high-resolution" graphics of the Coco3 had statements to set and unset points that followed along that line. It had "HCIRCLE", "HLINE" and others that supported color attribute zero for background color, though.
Reply


Messages In This Thread
DAY 015: PRESET - by SMcNeill - 11-20-2022, 03:42 PM
RE: DAY 015: PRESET - by bplus - 11-20-2022, 05:54 PM
RE: DAY 015: PRESET - by mnrvovrfc - 11-20-2022, 08:45 PM
RE: DAY 015: PRESET - by PhilOfPerth - 11-20-2022, 10:51 PM



Users browsing this thread: 1 Guest(s)