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: NNTP-Posting-Host: www.gameboutique.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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