I have two questions.
1.How do I plot a pixle to a doublr buffer?
2.How do I display the buffer on my screen?
Thanks.
Double Buffer
RE:Double Buffer
Just like you would when plotting a regular pixel, but instead of writting to memory at 0xA0000, you write to memory your OS has allocated for you.
You display the buffer simply by copying it to 0xA0000.
I wrote a chapter on graphics programming in DJGPP that covers double buffering (or virtual screens, as I call them) which can be found on my web site at http://www.neuraldk.org... might be of some help.
Cheers,
Jeff
You display the buffer simply by copying it to 0xA0000.
I wrote a chapter on graphics programming in DJGPP that covers double buffering (or virtual screens, as I call them) which can be found on my web site at http://www.neuraldk.org... might be of some help.
Cheers,
Jeff
RE:Double Buffer
I Figured out how to set up my dblbuffer but i still need these two things please.
1.How do I plot a pixle to a doublr buffer?
2.How do I display the buffer on my screen?
THanks
1.How do I plot a pixle to a doublr buffer?
2.How do I display the buffer on my screen?
THanks