delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/16/09:28:38

From: "John M. Aldrich" <fighteer AT NO DOT SPAM DOT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Flat model & screen access
Date: Tue, 15 Apr 1997 06:58:31 -0700
Organization: Two pounds of chaos and a pinch of salt
Lines: 26
Message-ID: <33538987.67C3@NO.SPAM.cs.com>
References: <01bc49c3$6bbc8aa0$42e79ac2 AT comp1>
NNTP-Posting-Host: ppp108.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Michal Bacik wrote:
> 
> One of frequently asked questions:
> 
> How do I access video memory in DJGPP? Is there something like flat memory
> model here, or I should create selector pointing into 0xa0000?

Both will work (with caveats).  What you ask is perhaps the single most
frequently asked DJGPP question, and so is covered extensively in the
DJGPP Frequently Asked Questions list, available as 'v2/faq20b.zip' from
SimTel mirrors and online at <http://www.delorie.com/djgpp/v2faq/>.  The
question you ask is covered in chapter 10.

-- 
John M. Aldrich <fighteer AT cs DOT com>                      

* Anything that happens, happens.
* Anything that, in happening, causes something else to happen,
  causes something else to happen.
* Anything that, in happening, causes itself to happen again, happens
  again.
* It doesn't necessarily do it in chronological order, though.
 
                                       --- Douglas Adams


- Raw text -


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