From 93b22b890229e817643c661d1f753858e3de6e26 Mon Sep 17 00:00:00 2001 From: Ricky Zhang Date: Sat, 2 Sep 2017 19:11:45 -0400 Subject: [PATCH] Add Macintosh M68k suspend program and user guide. Signed-off-by: Ricky Zhang --- cxmon/utils/README.md | 22 ++++++++++++++++++++++ cxmon/utils/suspend.bin | Bin 0 -> 768 bytes 2 files changed, 22 insertions(+) create mode 100644 cxmon/utils/README.md create mode 100644 cxmon/utils/suspend.bin diff --git a/cxmon/utils/README.md b/cxmon/utils/README.md new file mode 100644 index 00000000..eb7b59cc --- /dev/null +++ b/cxmon/utils/README.md @@ -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 +``` diff --git a/cxmon/utils/suspend.bin b/cxmon/utils/suspend.bin new file mode 100644 index 0000000000000000000000000000000000000000..e3cac41d317f2d6fa2e08a82ef1264253a3d1448 GIT binary patch literal 768 zcmc&xPe>GT82x6~{t!r127-}`gat(d(IIea#+~19cd=q7SSb%dLp#`_j=EzVycuPI z)g^*1p+(?KwUxDH|Fc^AfAAut*x4?D2kR8QzM(`|I(6y6o8R}|<6|Ctw9Gr|bvbU9 z{t=CqwMSzpW&4rn1rNk`Jd_o9Bx~?kZow0|6HlduXR-~? zIMrzs>Kcm)v