ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/21/06:15:31

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Sun, 21 Apr 2002 14:09:08 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Jacky Luk <luckie AT netvigator DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: GAS Samples
In-Reply-To: <a9tti1$a801@imsp212.netvigator.com>
Message-ID: <Pine.SUN.3.91.1020421140620.5173A-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 21 Apr 2002, Jacky Luk wrote:

> > Create them yourself with the "-S" switch to gcc.
> Do u know are there any gcc samples that issue real mode interrupts?

It's best to issue real-mode interrupts via the library function 
__dpmi_int, not directly with the INT nn instruction.  The __dpmi_int 
method is much more reliable on some of the OSes supported by DJGPP.

So I suggest doing what you want in C, not in assembly.  Sections 18.1 
to 18.5 of the DJGPP FAQ list have the details.

- Raw text -

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