www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/16/02:48:20

Date: Sun, 16 Jun 1996 08:47:56 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Galileo 6 <usuario AT casiopea DOT adi DOT uam DOT es>
Cc: djgpp AT delorie DOT com
Subject: Re: Can dos interrupts be called whith DJGPP? Are you using Allegro?
In-Reply-To: <4poqvu$7uv@acebo.sdi.uam.es>
Message-Id: <Pine.SUN.3.91.960616084508.12400A-100000@is>
Mime-Version: 1.0

On 13 Jun 1996, Galileo 6 wrote:

> I want to know if it's possible to call all dos interrupts from DJGGP
> using inline assembler or if you need to use INT****** c command.
> If it is possible, =BFAre there any advantages?=BFIs it faster?

Calling a real-mode DOS interrupt from DJGPP requires a switch from=20
protected mode to real mode and back.  This switch eats up many hundreds=20
of CPU cycles, so it's really not worth it trying to make it ``faster''=20
by using inline assembly.  Just call `__dpmi_int' library function.

- Raw text -


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