delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/01/28/06:43:58

From: Charles Sandmann <sandmann AT new-orleans DOT NeoSoft DOT com>
Subject: Re: V2
To: enrico AT max DOT tiac DOT net (Cuthalion / Sliced Bread)
Date: Sat, 28 Jan 1995 00:52:20 -0600 (CST)
Cc: A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk, djgpp AT sun DOT soe DOT clarkson DOT edu

> DPMI?  What sounds more plausable to me would be to include a function 
> that would return a pointer to, say, video graphics memory.  :)  DJ -- Is 
> there any way THIS would be possible?

If you are satisfied doing your own bank switching (or have a linear
graphics card in extended memory) it would be easy to return a selector +
offset pair to access it.  It can't be done with an offset alone because
the relative positions of things in memory may change on a malloc call.

V2 is very modular; by replacing crt0.s different memory layouts can
be tried without changing the rest.  But I want to get one version out
before I create lots of options to confuse you :-)

- Raw text -


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