Mail Archives: djgpp/1996/12/22/17:32:28
On Sun, 22 Dec 1996 01:24:15 GMT istvan AT outer-net DOT com (Steve Marton)
writes:
>How do you use screen buffers in linear frame buffer mode? For some
>reason I always get a gpf. As a second challenge - how do you do it in
>24 bit modes? Thanks in advance.
As in, you want an offscreen buffer? Just use a chunk of memory the size
of the screen. Then, when you're ready, copy that memory to the LFB.
Just make the memory chunk WIDTHxHEIGHTxBPP bits (320x240x24=1843200 bits
or 230400 bytes).
- Raw text -