From: "John M. Aldrich" 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 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 Precedence: bulk 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 . The question you ask is covered in chapter 10. -- John M. Aldrich * 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