Jeroen Janssen wrote:
>
> Ramon van Handel wrote:
> >
> > Jeroen Janssen wrote:
> > > thinking about a VGA BIOS "plugin", if I trap int 10h I can use
> > > vm_get_context to see what the registers are upon performing int 10h and
> > > I can use use vm_set_context to return information in the registeres to
> > > the guest?.
> >
> > Exactly. Not particularly fast, as you see (that's why
> > a "real" bios is probably better).
>
> yes, ok... but now for the question... the bios is REALMODE, how far
> does plex86 currently support realmode? (btw.. what are the DO's and
> DON'T s for the guest at this moment?) - else I'll end up (re)writing
> stuff that can't possibly work in plex86 because of "unsupported"
> things..
Don't switch into protected mode, otherwise you'll hit a panic.
No bid deal; I just haven't added this yet.
If you hit some code where an instruction needs to be virtualized
and it isn't emulated yet, you'll also hit a panic.
-Kevin