Mail Archives: djgpp/1996/11/06/20:23:28
I'm assuming you are doing high res graphics (SVGA). I've also started
doing things such as screen scrolling etc. using vbe 2.0 linear frame
buffer. I dont thing it would be to hard to update a linear screen
buffer from a virtual screen. Scrolling etc. i haven't implemented yet
in my program (which currently only displays 800x600 8 bit color with
own personal mouse routine).
But i was thinking along these lines: have a virtual screen (say
1024x1024) and want to display part of it on a 640x480, find offset into
your virtual screen and copy 640 bytes, skip by 1024, copy another 640,
etc. til screen is refreshed. Of course nifty test for vertical retrace
would come before copying that memory from the virtual screen to the
linear buffer.
This is actually something i'm interested in. If you need help either
post here or email me.
nyztihke
Brad Hughes
bhughes AT fia DOT net
- Raw text -