delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/10/05/23:30:32

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
NNTP-Posting-Date: Tue, 05 Oct 2004 22:18:33 -0500
From: "JC" <jessechao AT comcast DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: [Q] Absolute addressing
Date: Tue, 5 Oct 2004 20:18:34 -0700
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <wqidne_7xN-U-f7cRVn-sg@comcast.com>
Lines: 19
NNTP-Posting-Host: 24.6.123.143
X-Trace: sv3-CDGkJLbg6zouZLzQZjUo942BWfOpbcm1V/iqGEDO4oRohWYIL6R7pdDtZ3+UW7kcMp3nqVRKzluHdcw!bwAXozO0uvnckOvz93N037yBO+2aHMKCqUzL0H04NXOouTqRHw5mOY910gef
X-Complaints-To: abuse AT comcast DOT net
X-DMCA-Complaints-To: dmca AT comcast DOT net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.19
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

Just download DJGPP and wrote a simple C program to dump some known memory
location.
The program compiled and ran fine. However, I noticed the contents of the
memory that I intend
to dump were not right. Later I figured out it must be the virtual memory of
the Windows, so, for
example, when I dumped the memory location 0x400, it's the virtual memory,
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?

Thanks for your help in advance.


- Raw text -


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