1
0
Fork 0

Add patch "DAC on LPT1, covox emulation added." from zbiggy.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2703
This commit is contained in:
Peter Veenstra 2006-09-30 12:33:36 +00:00
parent 50a7684df1
commit 14d8f44e0e

View file

@ -44,17 +44,15 @@ static void disney_write(Bitu port,Bitu val,Bitu iolen) {
switch (port-DISNEY_BASE) {
case 0: /* Data Port */
disney.data=val;
if (disney.used<DISNEY_SIZE) {
disney.buffer[disney.used++]=disney.data;
}
break;
case 1: /* Status Port */
LOG(LOG_MISC,LOG_NORMAL)("DISNEY:Status write %x",val);
break;
case 2: /* Control Port */
// LOG_WARN("DISNEY:Control write %x",val);
if (val&0x8) {
if (disney.used<DISNEY_SIZE) {
disney.buffer[disney.used++]=disney.data;
}
}
if (val&0x10) LOG(LOG_MISC,LOG_ERROR)("DISNEY:Parallel IRQ Enabled");
disney.control=val;
break;