| www.delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| Date: | Wed, 2 Sep 2009 11:30:24 -0400 |
| Message-Id: | <200909021530.n82FUOug032086@envy.delorie.com> |
| From: | DJ Delorie <dj AT delorie DOT com> |
| To: | djgpp AT delorie DOT com |
| In-reply-to: | |
| <77a18d6a-f649-47e2-a8da-7b6ba918d055 AT f18g2000prf DOT googlegroups DOT com> | |
| (message from dirw on Wed, 2 Sep 2009 08:07:09 -0700 (PDT)) | |
| Subject: | Re: How to access 0xFF800000 data ? |
| References: | <850b568b-640c-435e-b6ca-deb8953ef1d5 AT y10g2000prf DOT googlegroups DOT com> |
| <200909021448 DOT n82EmwgV030959 AT envy DOT delorie DOT com> <77a18d6a-f649-47e2-a8da-7b6ba918d055 AT f18g2000prf DOT googlegroups DOT com> | |
| Errors-To: | nobody AT delorie DOT com |
(1) using <sys/farptr.h> you need these DPMI calls:
http://www.delorie.com/djgpp/doc/dpmi/api/310000.html
http://www.delorie.com/djgpp/doc/dpmi/api/310007.html
http://www.delorie.com/djgpp/doc/dpmi/api/310008.html
http://www.delorie.com/djgpp/doc/dpmi/api/310009.html
http://www.delorie.com/djgpp/doc/libc/libc_304.html
(2) using <sys/nearptr.h> you just need to add
__djgpp_conventional_base to your 32-bit linear address.
http://www.delorie.com/djgpp/doc/libc/libc_141.html
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |