www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/06/20:23:28

From: "Bradley T. Hughes" <bhughes AT fia DOT net>
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: <michael_sweeney DOT 3 DOT 000C6877 AT videoway DOT com>
Reply-To: bhughes AT fia DOT net
NNTP-Posting-Host: ts18p5.fia.net
Mime-Version: 1.0
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

- Raw text -


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