Sender: nate AT cartsys DOT com Message-ID: <36FFDCC0.A5474064@cartsys.com> Date: Mon, 29 Mar 1999 12:04:16 -0800 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.3 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Tricky interrupt problem References: <7do9p8$a7j$1 AT orudios DOT magnet DOT at> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Mark Usher wrote: > > Hi > > After getting thouroughly fed up with VC1.52 for a DOS program I decided go > 32bit with djgpp. > > I am currently having a problem with an interrupt. > > I am calling a driver that is installed with > reg.x.ax = COMMAND > DS:DX pointer to a structure command_block > __dpmi_int(0x2F, reg) > > Now first I am having the problem converting the pointer to the correct > DS:DX. > and second the driver will change values in the command_block. So should I > be using the virtual dos int ? See FAQ section 18.2. -- Nate Eldredge nate AT cartsys DOT com