09-23-2003, 04:50 AM
I am trying to do some animation in screen 12. In a test program, I created a "buffer", an array large enough to hold a full screen worth of data. Just PUTting the array runs about 7 fps, so double buffering the full screen is out (unless someone out ther has some really nice tricks).
I also tried working with just a sprite (48x48):This runs about 70 fps for one sprite (the same as my refresh rate), so it flickers even with WAIT &H3DA, 8.
Is it possible to create a buffer that is only part of the screen. I would like to be able to use GET and PUT in memory, then a single PUT statement to video memory.
I also tried working with just a sprite (48x48):
Code:
'pseudocode
PUT OldBackground
GET NewBackground
PUT Mask, AND
PUT Sprite
Is it possible to create a buffer that is only part of the screen. I would like to be able to use GET and PUT in memory, then a single PUT statement to video memory.