delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/10/06/00:46:45

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: [Q] Absolute addressing
Date: Tue, 05 Oct 2004 23:27:33 CDT
Organization: Rice University, Houston, TX
Lines: 11
Message-ID: <41637435.sandmann@clio.rice.edu>
References: <wqidne_7xN-U-f7cRVn-sg AT comcast DOT com>
NNTP-Posting-Host: clio.rice.edu
X-Trace: joe.rice.edu 1097036981 4552 128.42.105.3 (6 Oct 2004 04:29:41 GMT)
X-Complaints-To: abuse AT rice DOT edu
NNTP-Posting-Date: Wed, 6 Oct 2004 04:29:41 +0000 (UTC)
X-NewsEditor: ED-1.5.9
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> not the real physical location 0x400 I want.
> 
> 1, How can I program about the device's absolute address in DJGPP?
> 2. Can DJGPP compile 32-bit program so I can address the whole system
> memory?

look in the libc documentation for functions such as dosmemget() and
the functions in <sys/farptr.h>

If you want to access memory locations outside first 1MB area you will
need to map them into your address space using DPMI calls

- Raw text -


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