Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext ThreadShow in Flat Mode*

SubjectRe: 68030 emulator test Reply to this message
Posted byBart T.
Posted on09/19/05 07:31 PM

Unfortunately, no, I don't know of any. A good method for debugging CPU cores while developing them is to only emulate instructions as you encounter them. If you did not already try this, then disable all the instructions you have emulated now and re-enable them one by one as you trace through the actual code you are running. Double check your implementation.

If you have access to a real 68030 system you could try writing some sort of a program to execute code on the actual system and your emulator in lock step to detect when the CPU state changes (indicating a bug in your core.) Or, you can try writing a program to test a bunch of instructions with a bunch of data (it is best to try all possible combinations of the upper 4 bits of each operand), run that on a 68030 to obtain the expected results, and compare with your emulator to see what goes wrong and where.

> Hello everyone.
> I'm actually developing an emulator for a Cisco 2500 platform.
> In order to do that, Iím writing a 68030 core emulator but I have some bugs.
> I wonder if someone did, or know about a 68k core test program, I mean a
> program that test each instruction.
> Thanks
> Lillo

Entire Thread
Subject  Posted byPosted On
*68030 emulator test  lillo09/19/05 05:40 PM
..Re: 68030 emulator test  Bart T.09/19/05 07:31 PM
..*Re: 68030 emulator test  Stiletto11/01/05 01:04 PM