Instruction trace?

Anything about Mac emulation that does not belong in the above categories.

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
phazmatis
Space Cadet
Posts: 2
Joined: Mon Dec 07, 2020 7:15 am

Instruction trace?

Post by phazmatis »

I'm interested in how the old Mac ROMs worked. I can poke around at the disassembly, but often I have to guess at which branch is taken. I'm thus looking for an emulator that lets you single-step through the Mac ROM. I think it should be possible to load up Macsbug in Basilisk II, and maybe somehow tell it to run the ROM boot code again, but I'm wondering if there's an easier way. :???: Thanks in advance :!:
User avatar
Cat_7
Expert User
Posts: 6121
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Instruction trace?

Post by Cat_7 »

Hi,

Perhaps you should take a look at these sources:
https://github.com/dingusdev/dingusppc/wiki (to enter their discord channel)
https://github.com/elliotnunn/cdg5

Best,
Cat_7
phazmatis
Space Cadet
Posts: 2
Joined: Mon Dec 07, 2020 7:15 am

Re: Instruction trace?

Post by phazmatis »

Ah, those look interesting, thanks! I'm thinking about 68k ROMs also through. I think MAME might have a debugger, so looking into that...

EDIT: MAME debugger seems to do exactly what I want.
User avatar
adespoton
Forum All-Star
Posts: 4208
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Instruction trace?

Post by adespoton »

BII also has a built-in debugger that should do what you want; you just have to compile it with cxmon (the monitor/debugger) enabled.
Post Reply