Date: Mon, 12 Feb 2001 09:42:40 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Jeremiah cc: djgpp AT delorie DOT com Subject: Re: inline asm In-Reply-To: <000a01c094af$716c8960$888aaad0@0021682320> 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, 11 Feb 2001, Jeremiah wrote: > How do i call interrupts with inline assembly in djgpp compiler. like: > int 25h You don't need inline assembly for that, use __dpmi_int instead. The DJGPP FAQ shows how to do that in section 18.2 and other sections of chapter 18. Issuing an INT instruction in assembly is not a good idea with DJGPP, since your program runs in protected mode, so the INT instruction is handled by protected-mode handler first. Who knows what that will do?