www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/26/02:23:55

Date: Mon, 26 Feb 1996 09:02:28 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Orlando Andico <oandico AT eee DOT upd DOT edu DOT ph>
Cc: DJGPP Mailing List <djgpp AT delorie DOT com>
Subject: Re: your mail
In-Reply-To: <Pine.SOL.3.91.960226140325.2257A-100000@gollum>
Message-Id: <Pine.SUN.3.91.960226085853.6819A-100000@is>
Mime-Version: 1.0

On Mon, 26 Feb 1996, Orlando Andico wrote:

> I have a problem calling a real-mode interrupt vector.
> Here's the code I use:
> 
>     __dpmi_regs r;
>     memset (&r, NULL, sizeof (__dpmi_regs));
>     r.x.bx = 1;
>     r.x.flags = 0x0202;
>     __dpmi_simulate_real_mode_interrupt (vector, &r);

What in the world do you need to set the FLAGS for?  In particular, you 
seem to set the Interrupt Flag (???).  Did you try the above code without 
tinkering with the FLAGS?

- Raw text -


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