CPU tests on computer cores

User avatar
jotego
Core Developer
Posts: 61
Joined: Sun May 24, 2020 7:07 pm
Has thanked: 22 times
Been thanked: 205 times

CPU tests on computer cores

Unread post 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).
Open IP for many chips in my github account
RBF files for my MiSTer cores in jtbin
Support new IP and core development here
User avatar
Chris23235
Top Contributor
Posts: 841
Joined: Sun May 24, 2020 8:45 pm
Has thanked: 106 times
Been thanked: 167 times

Re: CPU tests on computer cores

Unread post by Chris23235 »

According to the Minimig MiSTer github page the minimig core uses the TG68K.C core.
User avatar
Hodor
Posts: 135
Joined: Mon May 25, 2020 8:29 am
Has thanked: 354 times
Been thanked: 29 times

Re: CPU tests on computer cores

Unread post 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.
User avatar
pgimeno
Top Contributor
Posts: 669
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 246 times
Been thanked: 208 times

Re: CPU tests on computer cores

Unread post 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
akeley
Top Contributor
Posts: 1303
Joined: Mon May 25, 2020 7:54 pm
Has thanked: 416 times
Been thanked: 399 times

Re: CPU tests on computer cores

Unread post by akeley »

Post Reply