www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/07/08/17:14:58

Date: Fri, 8 Jul 94 16:37:57 -0400
From: dj AT ctron DOT com (DJ Delorie)
To: leisner AT sdsp DOT mc DOT xerox DOT com
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: addressing real-mode (<1Meg) memory in djgcc?

> I'm somewhat confused (address *(0) is not 0:0 [or so it seems])

Correct.  Use dosmemget() and dosmemput() to manipulate DOS memory in
a portable way.

> What does mapping mean?  (I assumed I could read the low memory directly,
> but I can't...)

It's mapped internally to go32, but is not visible to your
application, since it's before the 0x10000000 where your application's
segment starts.


- Raw text -


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