www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/29/12:04:13

From: "Mark Usher" <marku AT magnet DOT at>
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


- Raw text -


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