Closed rickyzhang82 closed 7 years ago
I investigated BII ROM patch and found that it used unimplemented M68k instruction 0x71xx
to extend M68k instruction set.
It does has a break point EMUL_OP. But it just stop and exits. I will prefer to implement the following story:
The current cxmon is quite limited for debugging segfault problem.
Goal
Suspend Basilisk II at will in guest OS and trigger to run cxmon.
Idea
Create a new illegal instruction exception: use
MOVEC
instruction to trap into cxmon in host OS. In Macintosh guest OS, craft a program to executeMOVEC
instruction.Once in cxmon, create a step instruction to step through guest OS M68k instruction.
I want to implement new feature above but I want to confirm if someone or somewhere had done this in Basilisk II. If so, I won't reinvent the wheel.