From: Marshall Newsgroups: comp.os.msdos.djgpp Subject: Re: Inline ASM help. Date: Tue, 15 Oct 1996 19:59:59 -0600 Organization: AGT Ltd. Lines: 14 Message-ID: <3264419F.1E4B@agt.net> References: <326425F1 DOT 10C1 AT agt DOT net> NNTP-Posting-Host: rddrpx01-port-22.agt.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Marshall wrote: > > I have looked around in the docs and can't quite figure out how to call > an interrupt in inline assembly with DJGPP. I want to set the monitor to > video mode 13h using interrupt 10. I was wondering if someone could post > an example or mail me one. Thanks in advance! I figured this one out myself. void main(void) { __asm__("movw $0x13, %ax\n\t" "int $0x10") }