From: "Bradley T. Hughes" Newsgroups: comp.os.msdos.djgpp Subject: Re: Screen Scrolling Date: Wed, 06 Nov 1996 18:46:23 -0600 Organization: tebtc.com, LLC. Lines: 18 Message-ID: <3281315F.47B0@fia.net> References: Reply-To: bhughes AT fia DOT net NNTP-Posting-Host: ts18p5.fia.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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