1
0
Fork 0

Correct line ends

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3549
This commit is contained in:
Peter Veenstra 2010-02-12 12:14:21 +00:00
parent a78b2c4f8b
commit fb848f5af4

View file

@ -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)