From: Endlisnis Newsgroups: comp.os.msdos.djgpp Subject: Re: Extended Inline Assembly Help Date: Sun, 09 Aug 1998 15:08:23 -0300 Organization: NBTel Internet Lines: 21 Message-ID: <35CDE597.9FBD6EBE@unb.ca> References: <199808082021 DOT VAA24824 AT sable DOT ox DOT ac DOT uk> <902615331 DOT 608967 AT samba DOT news DOT big-orange DOT net> NNTP-Posting-Host: fctnts13c65.nbnet.nb.ca 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 Precedence: bulk Sylvester Hesp wrote: > It's not only 'simpler', __dpmi_int() must be used, because you can't > just call a real-mode interrupt from protected mode. But: asm ("movl $0x13, %%eax; int $0x10"::"eax"); THIS DOES WORK!! How come this code changes the mode to VGA? If I can't call real-mode interrupts from protected mode then why does this code work (and are there any potential side-effects?) -- (\/) Endlisnis (\/) s257m AT unb DOT ca Endlisnis AT GeoCities DOT com Endlis AT nbnet DOT nb DOT ca