delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/01/27/09:48:00

From: kunst AT prl DOT philips DOT nl
Subject: Re: V2
To: A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk (A.Appleyard)
Date: Fri, 27 Jan 1995 13:44:25 +0100 (MET)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (DJGPP users list)

A.Appleyard writes:
> 
> Aaron Ucko <UCKO AT VAX1 DOT ROCKHURST DOT EDU> wrote:-
> > ... Under VCPI, it is possible to guarantee that physical memory gets mapped
> > to E0000000--EFFFFFFF, etc. Under DPMI, this is no longer possible, which is
> > a problem to several bits of code, especially those pertaining to graphics.
> > BTW, have any GRX drivers been made supporting direct linear mapping (I know
> > that at least my Cirrus Logic card supports this)? If so, the problem would
> > be somewhat alleviated...
> 
> Please! I have an important Gnu C++ program that absolutely depends on knowing
> what addresses the text screen gets mapped to, as well as in a few places
> needing to know what addresses the physical memory (at least the lowest
> megabyte of RAM) gets mapped to.
> 

Don't worry, Anthony!

You can poke to your text screen using 'dosmemput (buf, size, 0xB8000);'.
The same routine can be used for accessing other DOS locations.
These routines will still work in V2.
You can use the 'farptr' routines as well.

Pieter Kunst.

- Raw text -


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