1
0
Fork 0

Really clear the lower 4 bits

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1269
This commit is contained in:
Sjoerd van der Berg 2003-09-25 19:30:23 +00:00
parent 1b31d7c835
commit 4f4eefda17

View file

@ -93,7 +93,7 @@ static Bit8u read_dma(Bit32u port) {
break;
case 0x08: /* Read Status */
ret=cont->status_reg;
cont->status_reg&=0xf; /* Clear lower 4 bits on read */
cont->status_reg&=~0xf; /* Clear lower 4 bits on read */
break;
case 0x0a:
case 0x0e: