delorie.com/archives/browse.cgi | search |
Date: | Mon, 18 Apr 94 13:42:03 -0400 |
From: | dj AT ctron DOT com (DJ Delorie) |
To: | white AT moe DOT coe DOT uga DOT edu |
Cc: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Subject: | Re: addressing specific extended memory with farptr module |
You'll need true DPMI (not go32's dpmisim) to do this. Allocate a selector and map it to physical memory. Use that selector for movedata() or farptr (movedata is faster for blocks). You must check _go32_info_block for the run mode to be DPMI for this to work, otherwise you'll get garbage back from the selector alloc call.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |