1.1 --- a/src/main.c Sun Dec 12 23:47:35 2010 +0000 1.2 +++ b/src/main.c Mon Dec 13 03:00:43 2010 +0000 1.3 @@ -262,18 +262,19 @@ 1.4 // Turn off DMA engine if we finished this cycle 1.5 if (state.dma_count >= 0x4000) { 1.6 printf("\tDMATRAN: transfer complete! dmaa=%06X, dmac=%04X\n", state.dma_address, state.dma_count); 1.7 - state.dma_count = 0; 1.8 + // apparently this isn't required...? 1.9 +// state.dma_count = 0; 1.10 state.dmaen = false; 1.11 } 1.12 } 1.13 1.14 - // Any interrupts? 1.15 - if (wd2797_get_irq(&state.fdc_ctx)) { 1.16 + // Any interrupts? --> TODO: masking 1.17 +/* if (wd2797_get_irq(&state.fdc_ctx)) { 1.18 m68k_set_irq(2); 1.19 } else { 1.20 m68k_set_irq(0); 1.21 } 1.22 - 1.23 +*/ 1.24 // Is it time to run the 60Hz periodic interrupt yet? 1.25 if (clock_cycles > CLOCKS_PER_60HZ) { 1.26 // Refresh the screen