delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/05/06:44:49

From: nikki AT gameboutique DOT co (nikki)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: weird dosmemput problem
Date: 5 Mar 1997 10:29:36 GMT
Organization: GameBoutique Ltd.
Lines: 17
Message-ID: <5fjhug$8fo@flex.uunet.pipex.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 970305102656 DOT 14799B-100000 AT is>
NNTP-Posting-Host: www.gameboutique.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> The above is most likely the culprit: you don't zero out regs.x.ss, 
> regs.x.sp and regs.x.flags before calling `_go32_dpmi_simulate_int'.  The 
> best way is just to call `__dpmi_int' instead, though.

ack. it is indeed :( zeroing them out solves the problem. weirdly enough
i had been using dpmi_int but then i saw that the tcplib pktdrv code was using
go32_simulate_int instead so thought perhaps there might be a good reason.
shouldn't have trusted it ;) heh.
thanks muchly,

regards,
nik


-- 
Graham Tootell           
nikki AT gameboutique DOT com  

- Raw text -


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