From: John Hodge (sonata) Date: Mon, 26 Nov 2012 08:05:55 +0000 (+0800) Subject: Usermode/AxWin3 - Debugging X-Git-Tag: rel0.15~649 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=21192b41da0f87dba07dac08b2d814b0976d929c;p=tpg%2Facess2.git Usermode/AxWin3 - Debugging --- diff --git a/RunQemu b/RunQemu index 31c5ee8f..87cae417 100755 --- a/RunQemu +++ b/RunQemu @@ -69,7 +69,7 @@ QEMU_PARAMS=$QEMU_PARAMS" -net "$_NETTYPE if [ "x$_NOUSB" != "xyes" ] ; then QEMU_PARAMS=$QEMU_PARAMS" -usb" - QEMU_PARAMS=$QEMU_PARAMS" -device usb-ehci" +# QEMU_PARAMS=$QEMU_PARAMS" -device usb-ehci" QEMU_PARAMS=$QEMU_PARAMS" -drive id=test_usb_image,file=USB_Test_Image.img,if=none" QEMU_PARAMS=$QEMU_PARAMS" -device usb-storage,drive=test_usb_image" QEMU_PARAMS=$QEMU_PARAMS" -usbdevice mouse" diff --git a/Usermode/Applications/axwin3_src/WM/video.c b/Usermode/Applications/axwin3_src/WM/video.c index 1c857fb4..3916baa1 100644 --- a/Usermode/Applications/axwin3_src/WM/video.c +++ b/Usermode/Applications/axwin3_src/WM/video.c @@ -88,7 +88,7 @@ void Video_Update(void) _SysDebug("Video_Update - Updating lines %i to %i (0x%x+0x%x px)", giVideo_FirstDirtyLine, giVideo_LastDirtyLine, ofs, size); seek(giTerminalFD, ofs*4, 1); - _SysDebug("Video_Update - Sending"); + _SysDebug("Video_Update - Sending FD %i %p 0x%x", giTerminalFD, gpScreenBuffer+ofs, size*4); write(giTerminalFD, gpScreenBuffer+ofs, size*4); _SysDebug("Video_Update - Done"); giVideo_FirstDirtyLine = 0;