Mail Archives: djgpp/1998/08/09/19:08:28
On Sun, 09 Aug 1998 15:08:23 -0300 Endlisnis <s257m AT unb DOT ca> writes:
>
>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?)
>
It works because if there isn't a protected mode interrupt installed
it'll go right to
the real mode one, so normal "int" instructions would work.
_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]
- Raw text -