Disch mentioned Mig-29 and reminded me of the agony related to emulating that godforsaken game. I've been tinkering with it since the day I added the DMC but I still can't make it look like it does on a real NES. I've only got a PAL NES to test with though, I'm not sure exactly what glitches are supposed to be present on NTSC.
Anybody got a clue yet as to why the DMC IRQ clocks have to be converted like this? (from Nestopia's source)
I just do it because otherwise the Codemasters games won't work. That isn't really a good reason, I'd like to hear some logic behind it.
Anybody got a clue yet as to why the DMC IRQ clocks have to be converted like this? (from Nestopia's source)
Code:
NES_DMC_DMA_NTSC( 0xD60 - (0x00 ^ 0xF0) - 0x10 ),
NES_DMC_DMA_NTSC( 0xBE0 - (0x10 ^ 0xF0) - 0x10 ),
NES_DMC_DMA_NTSC( 0xAA0 - (0x20 ^ 0xF0) - 0x10 ),
NES_DMC_DMA_NTSC( 0xA00 - (0x30 ^ 0xF0) - 0x10 ),
NES_DMC_DMA_NTSC( 0x8F0 - (0x40 ^ 0xF0) - 0x10 ),
NES_DMC_DMA_NTSC( 0x7F0 - (0x50 ^ 0xF0) - 0x10 ),
NES_DMC_DMA_NTSC( 0x710 - (0x60 ^ 0xF0) - 0x10 ),
NES_DMC_DMA_NTSC( 0xBE0 - (0x10 ^ 0xF0) - 0x10 ),
NES_DMC_DMA_NTSC( 0xAA0 - (0x20 ^ 0xF0) - 0x10 ),
NES_DMC_DMA_NTSC( 0xA00 - (0x30 ^ 0xF0) - 0x10 ),
NES_DMC_DMA_NTSC( 0x8F0 - (0x40 ^ 0xF0) - 0x10 ),
NES_DMC_DMA_NTSC( 0x7F0 - (0x50 ^ 0xF0) - 0x10 ),
NES_DMC_DMA_NTSC( 0x710 - (0x60 ^ 0xF0) - 0x10 ),
I just do it because otherwise the Codemasters games won't work. That isn't really a good reason, I'd like to hear some logic behind it.