delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/23/14:46:40

From: jakarppi AT tuomi DOT oulu DOT fi (Jari Karppinen)
Newsgroups: comp.os.msdos.djgpp
Subject: page flipping in tweaked modes
Date: 23 Jun 1998 17:30:44 GMT
Organization: University of Oulu, Computer Services Center
Lines: 13
Message-ID: <6mooo4$10p$1@ousrvr3.oulu.fi>
NNTP-Posting-Host: tuomi.oulu.fi
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello,

I have a program which uses tweaked 320x400x256 mode. According to some
docs I have two pages in this mode (256k / (320*400) = 2, right?).
Well... I assume that setting a pixel at (x,y) on page 0 is about
modifying the corresponding vram offset located in the first 128000 bytes.
Adding 128000 to that is the same thing for page 1, right?

Now what I'd like know is how to control which page is being displayed
(by default this is page 0, I guess)? 

-- 
jari_karppinen

- Raw text -


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