Date: Sun, 16 Jun 1996 08:47:56 +0200 (IST) From: Eli Zaretskii To: Galileo 6 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: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: QUOTED-PRINTABLE 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.