Add Macintosh M68k suspend program and user guide.

Signed-off-by: Ricky Zhang <rickyzhang@gmail.com>
This commit is contained in:
Ricky Zhang 2017-09-02 19:11:45 -04:00
parent f3895493ae
commit 93b22b8902
2 changed files with 22 additions and 0 deletions

22
cxmon/utils/README.md Normal file
View File

@ -0,0 +1,22 @@
# What
suspend.bin is a MacBinary file which supposes to upack and run in M68k Macintosh only. It runs emul_op `0x7138` and trigger BasiliskII into cxmon so that you can add break points there.
# How
1. You must build Basilisk II `--with-mon` options.
1. Copy suspend.bin into Macintosh guest OS.
1. Unpack it with MacBinary.
1. Run the program when you want to add break points.
1. Once you are in cxmon, type `h` and you can see the new break point commands.
1. Once you are done, type `x` to return back to emulation.
# Break point commands
```bash
ba [address] Add a break point
br [breakpoints#] Remove a break point. If # is 0, remove all break points.
bd [breakpoints#] Disable a break point. If # is 0, disable all break points.
be [breakpoints#] Enable a break point. If # is 0, enable all break points.
bi List all break points
bs "file" Save all break points to a file
bl "file" Load break points from a file
```

BIN
cxmon/utils/suspend.bin Normal file

Binary file not shown.