Re: Invoking int 0x10 from a service

"Alexandre Courbot" <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.l4ka.general
Message-ID <[email protected]>
> You're right, Pistachio doesn't offer support for vm86 mode. I don't know
> too much about VESA drivers, but I am not sure if vm86 would solve your
> problem actually. vm86 mode only allows you to run 16-bit user-mode code; on
> interrupts or exceptions, the processor automatically enters the kernel and
> switches back to protected mode again. Thus, executing int $0x10 in a vm86
> compartment should bring you back into the kernel rather than to the
> corresponding BIOS function. I guess what you really need is to switch to
> real mode and then call int $0x10???

Yeah, in that case I suppose this involves adding OS support to handle
the interrupt in a correct way, i.e. switch again into vm86 mode and
branch to the address of the interrupt. This would be a little bit
overkill with respect to what I want to do.

Alex.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.