delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/04/14:00:14

From: Martell <crazy AT ne DOT infi DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: svga
Date: Sun, 04 Jun 2000 13:53:42 -0400
Organization: InfiNet
Lines: 12
Message-ID: <393A97A6.68C0EB6@ne.infi.net>
NNTP-Posting-Host: ebtna010-0132.splitrock.net
Mime-Version: 1.0
X-Mailer: Mozilla 4.04 [en] (Win95; U)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

i already know how to get into svga mode (640x480x256 ... 5 banks) using
DJGPP, but i want to know how to have a buffer for the screen (307,200
bytes) so it would work like this:
1) i would draw to the 307,200 buffer
2) during retrace i would draw 64K to the first bank, switch banks, draw
the next 64K, etc until the entire buffer had been transfered to the
screen.

i tried to create a program that did this, using a near pointer to the
screen, but after it finished drawing to the first bank, it restarted my
computer.   any suggestions?

- Raw text -


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