Hi,
Thank you for taking the time to possibly answer my question.
I am using the Atari ST emulator to develop an application which must use Double Buffered Graphics to write to video memory.
Here's what I know;
Physbase() = start location of frame buffer.
Can instantiate pointers which point to start of frame buffer, and manipulate them accordingly in order to draw to memory.
Can create a secondary buffer, which is an invisible back buffer, write to it while a primary buffer is being displayed on the screen, and then swap the two images as soon as the vertical retrace is complete.
Here's what I don't know: HOW .. lol
I am also aware that, because I am working with a monochrome monitor, which only displays two colors;
I need to allocate the second buffer (outside of main) globally as a 32000 byte chunk of memory, which is 256 byte alligned.
Can someone please point me in the right direction, as far as coding and syntax is concerned. I am a relatively fast learner, but this is my first video programming experience, and I am very shaky when it comes to conceptual design issues.
Start Free Trial