04-13-2012, 06:30 AM
Does anyone know if the Z80 used in the NGPC has standard instruction timing? And what its default frequency is if it can be changed?
I've worked under the assumption that the Z80 clock is 3,072 Mhz, and that it has the same instruction timing that is listed here (I rely on the numbers being exactly as listed there, as I use timed loops in my Z80 code to handle the sound refresh rate). My code runs at the speed I had expected it to when I run it in Mednafen, but on a real NGPC it's much slower.
I've worked under the assumption that the Z80 clock is 3,072 Mhz, and that it has the same instruction timing that is listed here (I rely on the numbers being exactly as listed there, as I use timed loops in my Z80 code to handle the sound refresh rate). My code runs at the speed I had expected it to when I run it in Mednafen, but on a real NGPC it's much slower.