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 X-Sender: eliz AT is To: Jacky Luk cc: djgpp AT delorie DOT com Subject: Re: GAS Samples In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.