mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-09 03:41:10 +08:00
more constants
This commit is contained in:
parent
43d112b54f
commit
6b2bdbc2e0
@ -868,7 +868,7 @@ void dosbox_integration_trigger_read() {
|
|||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0xAA55BB66UL: /* interface reset result */
|
case DOSBOX_ID_RESET_INDEX_CODE: /* interface reset result */
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@ -1216,8 +1216,8 @@ static void dosbox_integration_port02_command_w(Bitu port,Bitu val,Bitu iolen) {
|
|||||||
dosbox_int_regsel_shf = 0;
|
dosbox_int_regsel_shf = 0;
|
||||||
dosbox_int_error = false;
|
dosbox_int_error = false;
|
||||||
dosbox_int_busy = false;
|
dosbox_int_busy = false;
|
||||||
dosbox_int_regsel = 0xAA55BB66;
|
dosbox_int_regsel = DOSBOX_ID_RESET_INDEX_CODE;
|
||||||
dosbox_int_register = 0xD05B0C5;
|
dosbox_int_register = DOSBOX_ID_RESET_DATA_CODE;
|
||||||
LOG(LOG_MISC,LOG_DEBUG)("DOSBOX-X IG state saved");
|
LOG(LOG_MISC,LOG_DEBUG)("DOSBOX-X IG state saved");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -1252,8 +1252,8 @@ static void dosbox_integration_port02_command_w(Bitu port,Bitu val,Bitu iolen) {
|
|||||||
case DOSBOX_ID_CMD_RESET_INTERFACE:
|
case DOSBOX_ID_CMD_RESET_INTERFACE:
|
||||||
dosbox_int_busy = false;
|
dosbox_int_busy = false;
|
||||||
dosbox_int_error = false;
|
dosbox_int_error = false;
|
||||||
dosbox_int_regsel = 0xAA55BB66;
|
dosbox_int_regsel = DOSBOX_ID_RESET_INDEX_CODE;
|
||||||
dosbox_int_register = 0xD05B0C5;
|
dosbox_int_register = DOSBOX_ID_RESET_DATA_CODE;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
dosbox_int_error = true;
|
dosbox_int_error = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user