delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/24/20:39:42

Message-ID: <363280F5.44A04D27@montana.com>
Date: Sat, 24 Oct 1998 19:37:57 -0600
From: bowman <bowman AT montana DOT com>
X-Mailer: Mozilla 4.5b2 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Inline assembler and interrupts.
References: <70trl9$53l$1 AT mendelevium DOT btinternet DOT com>
Reply-To: djgpp AT delorie DOT com


Mark Turner wrote:
> 
> Under Turbo C 3.1 I could just 'asm int 10' and everything would be fine,
> How do I
> manage the same operation with GNU?

probably the easiest way out is to use either int86() or __dpmi_int();
just instantiate 
union REGS, fill in the appropriate register values, and do it. The
latter call is more
flexible, but you can read about it. just enter 'info libc a __dpmi_int'
at the DOS prompt.

- Raw text -


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