Jeroen Janssen wrote:
> > Jeroen, why do you think doing it as a plugin is
> > better ?
>
> well, ehmm.. I don't know, that's the first thing that came to mind
> really :) I was thinking about only having to write a plugin and expand
> plex86 functionality (else you'd allways end up writing guest bios code,
> and I don't know if that's allways desirable) + I *think* it's probably
> "easier" to debug plugin code then bios code. is that correct?
Yes, I guess so. I think VESA should be a BIOS, because
that's what it is in a real machine as well. But you can
always first write it as a plugin, and then convert it to
BIOS form (that shouldn't be too difficult, the main logic
is the same!)
> btw. if I hook int 10h from a plugin and I perform an int 10h in the
> guest, will the int 10h handler of the guest also be called, or only the
> plugins int 10h hook?
It depends on the plugin. If the interrupt handler in the
plugin returns != 0 the interrupt is reflected back into
the guest, otherwise not.
-- Ramon