Page 1 of 1
Double Buffer
Posted: Sat Jan 03, 2004 12:00 am
by SystemHalted
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.
RE:Double Buffer
Posted: Sun Jan 04, 2004 12:00 am
by carbonBased
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
RE:Double Buffer
Posted: Sun Jan 04, 2004 12:00 am
by SystemHalted
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