delorie.com/archives/browse.cgi | search |
Date: | Thu, 6 Oct 94 11:01:19 EDT |
From: | peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock) |
To: | magore AT icr2 DOT uwaterloo DOT ca |
Cc: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Subject: | Re: Q: Memory Access to DOS area running a go32 exec under windows ? |
Reply-To: | babcock AT cfa DOT harvard DOT edu |
> #define peek16(a) _farpeekw(0,a) ------------------------------^ You need to get the selector from _go32_conventional_memory_selector(). 0 is not a valid selector for _anything_, in particular, not for the 1st MB of memory.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |