diff --git a/src/hardware/iohandler.cpp b/src/hardware/iohandler.cpp index 078d132f..d53ad704 100644 --- a/src/hardware/iohandler.cpp +++ b/src/hardware/iohandler.cpp @@ -236,41 +236,41 @@ void log_io(Bitu width, bool write, Bitu port, Bitu val) { switch(port) { //case 0x020: // interrupt command - //case 0x040: // timer 0 + //case 0x040: // timer 0 //case 0x042: // timer 2 //case 0x043: // timer control //case 0x061: // speaker control case 0x3c8: // VGA palette case 0x3c9: // VGA palette - // case 0x3d4: // VGA crtc + // case 0x3d4: // VGA crtc // case 0x3d5: // VGA crtc - // case 0x3c4: // VGA seq + // case 0x3c4: // VGA seq // case 0x3c5: // VGA seq break; - default: - LOG_MSG("iow%s % 4x % 4x, cs:ip %04x:%04x", len_type[width], - port, val, SegValue(cs),reg_eip); + default: + LOG_MSG("iow%s % 4x % 4x, cs:ip %04x:%04x", len_type[width], + port, val, SegValue(cs),reg_eip); break; } } else { - switch(port) { - //case 0x021: // interrupt status - //case 0x040: // timer 0 - //case 0x042: // timer 2 - //case 0x061: // speaker control - case 0x201: // joystick status - case 0x3c9: // VGA palette - // case 0x3d4: // VGA crtc index - // case 0x3d5: // VGA crtc - case 0x3da: // display status - a real spammer - // don't log for the above cases - break; - default: - LOG_MSG("ior%s % 4x % 4x,\t\tcs:ip %04x:%04x", len_type[width], - port, val, SegValue(cs),reg_eip); - break; - } - } + switch(port) { + //case 0x021: // interrupt status + //case 0x040: // timer 0 + //case 0x042: // timer 2 + //case 0x061: // speaker control + case 0x201: // joystick status + case 0x3c9: // VGA palette + // case 0x3d4: // VGA crtc index + // case 0x3d5: // VGA crtc + case 0x3da: // display status - a real spammer + // don't log for the above cases + break; + default: + LOG_MSG("ior%s % 4x % 4x,\t\tcs:ip %04x:%04x", len_type[width], + port, val, SegValue(cs),reg_eip); + break; + } + } } #else #define log_io(W, X, Y, Z)