Page 1 of 1

CPU tests on computer cores

Posted: Tue Apr 27, 2021 9:05 am
by jotego
Has anyone tried running CPU test software on the computer cores? I know that for some CPUs there is software that aims to test the CPU health or emulation accuracy. I am a bit concerned about the fx68k core (M68000) as I suspect there could be a bug hidden somewhere. I think this CPU is used in the Atari ST core (not sure about the Amiga one).

Re: CPU tests on computer cores

Posted: Tue Apr 27, 2021 9:26 am
by Chris23235
According to the Minimig MiSTer github page the minimig core uses the TG68K.C core.

Re: CPU tests on computer cores

Posted: Tue Apr 27, 2021 9:47 am
by Hodor
jotego wrote: Tue Apr 27, 2021 9:05 am Has anyone tried running CPU test software on the computer cores? I know that for some CPUs there is software that aims to test the CPU health or emulation accuracy. I am a bit concerned about the fx68k core (M68000) as I suspect there could be a bug hidden somewhere. I think this CPU is used in the Atari ST core (not sure about the Amiga one).
Although it´s not a strict fpga topic, Toni Wilem, the main dev of WinUAE emulator, has made a tool to test and debug 68k family cpus. If I am not wrong, Gyurco/Slingshot used it not much time ago to debug and fix some 68020 related problems with the actual TG68k core and thus improve its accuracy. Maybe you can contact Toni directly on http://eab.abime.net/ forum if you think he can be of any help.

Minimig core use FX68k for the 68000 and TG68k for the 68020 by the way.

Re: CPU tests on computer cores

Posted: Tue Apr 27, 2021 10:49 am
by pgimeno
I've been running the Z80 tests on the Spectrum core, which mainly checks the accuracy of the undocumented flags. There are many failed tests.

z80ccf: 65/152 failed
z80doc: all passed
z80docflags: all passed
z80flags: 2/152 failed
z80full: 2/152 failed
z80memptr: all passed

Re: CPU tests on computer cores

Posted: Tue Apr 27, 2021 11:27 am
by akeley