www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/10/06/16:12:04

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.

- Raw text -


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