Sender: nate AT mercury DOT bitbucket Message-ID: <37C74E45.E75DD3B@hmc.edu> Date: Fri, 27 Aug 1999 19:49:41 -0700 From: Nate Eldredge Organization: Harvey Mudd College X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.12pre4 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Hmmm ... I think this works ... References: <37C429BC DOT E9737C29 AT ic DOT ac DOT uk> <37C536B4 DOT FF55C20A AT ic DOT ac DOT uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Kais Dukes wrote: > > I think that this works ... > > int net_exec(NCB *ncb){ > __dpmi_regs regs; > dosmemput(ncb,sizeof(NCB),__tb); > regs.x.es=__tb>>4; > regs.x.bx=__tb&0x0f; > __dpmi_int(0x5c,®s); > dosmemget(__tb,sizeof(NCB),ncb); > return(regs.h.al); > } > > But any help would be GREATLY appreciated ... :) Looks kosher to me. -- Nate Eldredge neldredge AT hmc DOT edu