www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/22/17:32:28

To: djgpp AT delorie DOT com
Subject: Re: VBE2 and movedata()
Message-ID: <19961223.141255.8279.0.chambersb@juno.com>
References: <59i2n7$mhj$1 AT loki DOT tor DOT hookup DOT net>
From: chambersb AT juno DOT com (Benjamin D Chambers)
Date: Sun, 22 Dec 1996 17:08:55 EST

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019