www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/29/11:46:52

Date: Thu, 29 Oct 1998 18:45:39 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Seyil Yoon <wings AT interlog DOT com>
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: <Pine.SUN.3.91.981029184118.19933Q-100000@is>
MIME-Version: 1.0
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.

- Raw text -


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