Jeroen Janssen wrote:
> 
> It probably would be VERY usefull to have some kind of "debug
> message/string" api. This will be usefull when working on a plex86 BIOS
> so you can give some debug output that is passed onto the host
> (especially when working on a VGA BIOS when you can't do printf in the
> guest).

Yes, I found this useful in the BIOS I wrote for bochs, so
I implemented an IO port interface.  If you write a string
to port 0xfff0, one byte at a time, it will spit out the
string when you send the '\n'.

This should carry over to plex86 too.  The routine bios_printf
in rombios.c is a simple routine to do this.

-Kevin

Reply via email to