En r�ponse � Jeroen Janssen <[EMAIL PROTECTED]>:
> > ok, i will, We could have an official "log port", and host driver.
> > Maybe we can wait for Kevin's point of view.
>
> any idea when he will be back again?
i think he is in Lyon - France, with limited net access.
Hey, internet is not ubiquitous in France ;-)
>
> > I was using 0xffff, with a modified iodev/vga.cc.cc to handle that
> port.
>
> ok, if you can point me to the logging code, I can put that in my plugin
> too (at least for
> the moment).
>
> -
ok, here is the patch :
-----------------------------------------------------------------------
--- vga.cc Fri Jun 22 15:37:58 2001
+++ vga.cb Fri Apr 20 13:50:35 2001
@@ -96,6 +97,7 @@
BX_VGA_THIS devices->register_io_write_handler(this, write_handler,
addr, "vga video");
}
+ BX_VGA_THIS devices->register_io_write_handler(this,
write_handler,0xffff,"vga video");
BX_VGA_THIS s.misc_output.color_emulation = 1;
@@ -645,6 +650,12 @@
Boolean prev_graphics_alpha, prev_chain_odd_even;
Boolean needs_update;
+if(address==0xffff)
+{
+ printf("%c",value);
+ fflush(stdout);
+ return;
+}
#if defined(VGA_TRACE_FEATURE)
if (!no_log && bx_dbg.video)
switch (io_len) {