Cleaned up DMA emulation.
This commit is contained in:
parent
2c054de1f6
commit
a514d2fe4b
6 changed files with 178 additions and 440 deletions
|
|
@ -276,7 +276,9 @@ void pit_poll()
|
|||
}
|
||||
// if (output) pclog("%f %04X %02X\n",pit.c[1],pit.l[1],pit.ctrls[1]);
|
||||
// printf("DMA0!\n");
|
||||
readdma0();
|
||||
dma_channel_read(0);
|
||||
if (AT)
|
||||
ppi.pb ^= 0x10;
|
||||
}
|
||||
if (pit.c[2]<1)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue