Re: Game Request: Diggers
Posted: Fri Jul 04, 2014
I'm making progress on implementing IOC device 9 on RO3.71. Once it's working on the RiscPC I can look at adding the emulation on the Pi.
I've got sound coming out under DMA so it's now timed right, you can hear it's the music, but it's not 100% right so there's something wrong with the DMA buffer.
The other problem I need to solve is the fact that MEMC writes to set the DMA start and end use the physical address. To get that working I need to figure out how to translate MEMC physical addresses to ARM physical addresses. That may sound trivial at first, except as we don't have access to the MEMC address table so can't directly translate a MEMC physical address to logical, so we can convert it back to an ARM physical address.
I've got sound coming out under DMA so it's now timed right, you can hear it's the music, but it's not 100% right so there's something wrong with the DMA buffer.
The other problem I need to solve is the fact that MEMC writes to set the DMA start and end use the physical address. To get that working I need to figure out how to translate MEMC physical addresses to ARM physical addresses. That may sound trivial at first, except as we don't have access to the MEMC address table so can't directly translate a MEMC physical address to logical, so we can convert it back to an ARM physical address.