delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2009/09/03/10:15:24

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: dirw <dirwdirw DOT tw AT yahoo DOT com DOT tw>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How to access 0xFF800000 data ?
Date: Thu, 3 Sep 2009 07:01:32 -0700 (PDT)
Organization: http://groups.google.com
Lines: 25
Message-ID: <1f6bf27d-a58c-4242-8411-acc03958afc2@x25g2000prf.googlegroups.com>
References: <850b568b-640c-435e-b6ca-deb8953ef1d5 AT y10g2000prf DOT googlegroups DOT com>
<cvWdnfdIDYbh1wLXnZ2dnUVZ_sadnZ2d AT earthlink DOT com>
NNTP-Posting-Host: 119.77.142.113
Mime-Version: 1.0
X-Trace: posting.google.com 1251986493 29049 127.0.0.1 (3 Sep 2009 14:01:33 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Thu, 3 Sep 2009 14:01:33 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: x25g2000prf.googlegroups.com; posting-host=119.77.142.113;
posting-account=EGBlIwoAAAAWTa2O3th8t-XpBeiiJ5gV
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;
Trident/4.0; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR
3.0.4506.2152; .NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Dear Sir,

Thanks for your great help.
I already can read the 0xFF800000 data in the MS DOS 6.11 mode.
But I still have some question.

1. In the MS DOS 6.11 mode , I call __dpmi_physical_address_mapping
(&mi) , it will return *successfully*.
   But in the Windows XP DOS mode, I call
__dpmi_physical_address_mapping (&mi) , it will return *FAIL*.
   Could you please give me some suggestion about this issue ?
   Is it possible use *djgpp* to write a BIOS flash application for
windows XP DOS mode ?

2. In the MS DOS 6.11 mode, it need csdpmi5b.zip to provide the DPMI
server for djgpp DPMI funtion.
    In the Windows XP DOS mode, does it already have DPMI server ?

3. If I want to write Windows XP application to read/write 0xFF800000
data, may I use *djgpp" ?
   Or I must use Visual C++ and MASM to call DPMI to meet my request ?
   (MSFT memory access information : http://support.microsoft.com/kb/131426/en-us/)

BR,
dirw

- Raw text -


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