Mail Archives: djgpp/1996/06/16/02:48:20
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 -