Date: Thu, 29 Oct 1998 18:45:39 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Seyil Yoon cc: djgpp AT delorie DOT com Subject: Re: Extended int 13h calls (e.g. ah=42h) In-Reply-To: <3637841E.6579850F@interlog.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Wed, 28 Oct 1998, Seyil Yoon wrote: > Regs.h.ah = 0x42; > Regs.h.dl = ucDrive; > Regs.x.ds = ulPacketBufferSeg; // Segment number obtained from > __dpmi_allocate_dos_memory > Regs.x.si = 0; > > __dpmi_int(0x13, &Regs); Insufficient details. Please post a more complete fragment that in particular shows how did you allocate the DOS buffer and how exactly was ulPacketBufferSeg computed. ``Segment number'' doesn't explain enough to guess what might have gone wrong. You might also benefit from reading section 18.5 of the latest version 2.11 of the DJGPP FAQ list, which lists some gotchas in code that calls real-mode services from DJGPP programs.