delorie.com/archives/browse.cgi | search |
To: | john hoeschele <john AT umdsun2 DOT umd DOT umich DOT edu> |
Cc: | mailing list <djgpp AT sun DOT soe DOT clarkson DOT edu> |
Subject: | Re: DOS memory allocation |
Date: | Thu, 01 Dec 94 18:48:25 +0200 |
From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
Forgot one important detail: on top of all I've told in the previous message, don't use int86(), use _go32_dpmi_simulate_int() instead. int86() requires support of that interrupt/function by GO32, and it doesn't know about all of them. _go32_dpmi_simulate_int(), on the other hand, will always work. Just remember to zero out the SS, SP and FLAGS fields of the structure you pass to it before the call.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |