Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Star Trek X The Search for The BOB's White Cake
#13
(12-06-2022, 03:49 AM)james2464 Wrote:
Code: (Select All)
Swap ActivePAGE, VisualPAGE 'SWAP values of page variables...
Screen 9, , ActivePAGE, VisualPAGE 'which toggles active/visual page
Had to be done in Q(uick)BASIC. Be happy and use QB64(PE), using "_LOADIMAGE" or "_NEWIMAGE" to have a "page" and then using "_PUTIMAGE" at least to display it into the "current" screen. Way back then while EGA (LOL) was the best that could be done with graphics there wasn't a lot of memory and the programmer had to fumble with those bit planes to get color, which explains those cumbersome "OUT" statements.

There isn't even a need to "flip buffers" like had to be done so often for WindowsXP DirectX programming. At least two buffers were required which was the size of the screen, and the program had to go back and forth between them, showing one while drawing on the other one.
Reply


Messages In This Thread
RE: Star Trek X The Search for The BOB's White Cake - by mnrvovrfc - 12-06-2022, 04:12 AM



Users browsing this thread: 2 Guest(s)