Fixed P6 timings so they no longer fatal (and removed the 3DNow! stuff from them), and also fixed the Distributed DMA bug reported by TheCollector1995.

This commit is contained in:
OBattler
2020-04-25 22:02:48 +02:00
parent 23a92efcf8
commit 6033f4480c
3 changed files with 24 additions and 466 deletions

View File

@@ -107,9 +107,9 @@ ddma_reg_write(uint16_t addr, uint8_t val, void *p)
break;
case 0x02:
if (ch >= 4)
outb(0x88 + page_regs[ch], val);
outb(0x88 + page_regs[ch & 3], val);
else
outb(0x80 + page_regs[ch], val);
outb(0x80 + page_regs[ch & 3], val);
break;
case 0x04:
dma[ch].cb = (dma[ch].cb & 0xffff00) | val;