cxmon V3.2 is now available:
cxmon is an interactive command-driven file manipulation tool that is inspired by the "Amiga Monitor" by Timo Rossi. It has commands and features similar to a machine code monitor/debugger, but it lacks any functions for running/tracing code. There are, however, built-in PowerPC, 680x0, 80x86 (including x86-64), 6502 and Z80 disassemblers, and special support for disassembling MacOS code.
The primary intention behind cxmon was to provide a tool for emulation developers and other people that need to manipulate or inspect binary data and machine code. It has been an invaluable tool during the development of Basilisk II, SheepShaver and Frodo. Possible uses of cxmon include
You can also simply use it as an interactive workbench for manipulating files, or even as a hex calculator.
Here are some simple examples of what is possible with cxmon:
[ 0 "file1" [ . "file2" ] 0 . "file3"
[ 0 "file" ] 18 .-18 "file"
[ 0 "/boot/boot.0800" d8086 0
[ 0 "cxmon" set size=. h 0 . "->" : . " $" ] 0 size "cxmon1"
[ 0 "file" yh 0 .-1 :>>8|:<<8 ] 0 . "file"
The source code of cxmon is hosted in a Git repository on GitHub together with the SheepShaver and Basilisk II sources:
$ git clone https://github.com/cebix/macemu.git $ cd macemu/cxmon $ ./bootstrap $ ./configure $ make