Hey,
Hot damn. I got plex86 to boot DOS 6.22 from a hard disk
image file from bochs. Even the keyboard emulation works,
and I can type commands at the DOS prompt. :^)
I've got a few hacks in there I have to deal with
eventually. Like when my BIOS from bochs is called
from DOS for Int 0x15 AH=0x87 for moving memory
around in protected mode, I hacked the Int 0x15
to return error. I don't yet support transitioning
from real-mode to protected-mode.
I run RM code (BIOS/DOS) in the monitor in v86 mode.
Seems to work fine. Actually, I got tired of implementing
new instructions with SBE on, so I just bypassed it
and let all RM code run as-is. Didn't cause any probs.
Have to turn it back on.
This will let me run a bunch of emulation tests I have.
I changed things a bit so that the monitor sets the initial
CPU state to that at a RESET. Then the user code can
pass an entire CPU state to the monitor, for hacking
to bootload values etc.
Speaking of bootloaders, we should soon be able to use
the RM capabilities to bootload Linux, rather than the
bootload hacks. Or other guest OSes for that matter.
I'm planning on releasing code within this next week.
At that point, I want to upload it to CVS.
-Kevin
