From: "Mark Usher" Newsgroups: comp.os.msdos.djgpp Subject: Tricky interrupt problem Date: Mon, 29 Mar 1999 18:29:52 +0200 Organization: magnet Gesellschaft für digitale Kommunikation m.b.H Lines: 23 Message-ID: <7do9p8$a7j$1@orudios.magnet.at> NNTP-Posting-Host: 195.3.75.173 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2013.600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2013.600 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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 ? Am I trying something that isn't possible ? Mark Usher marku AT magnet DOT at