1
0
Fork 0

don't exit on unhandled pit commands

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1091
This commit is contained in:
Sjoerd van der Berg 2003-07-06 15:31:47 +00:00
parent c184fbd2a0
commit 75c8236f5b

View file

@ -190,7 +190,9 @@ static void write_p43(Bit32u port,Bit8u val) {
if (val & 0x02) counter_latch(0);
if (val & 0x04) counter_latch(1);
if (val & 0x08) counter_latch(2);
} else E_Exit("PIT:Latch Timer Status %X",val);
} else if ((val & 0x10)==0) { /* Latch status words */
LOG(LOG_PIT,LOG_ERROR)("Unsupported Latch status word call");
} else LOG(LOG_PIT,LOG_ERROR)("Unhandled command:%X",val);
break;
}
}