Unimplemented Trap
Adventures in hardware and software

ebd: Eight Bit Dump - A hexdump utility for 8 bit software development

Developing small 8 bit programs for the 6502, I often wanted to be able to view the source of the assembled output in hexadecimal. Tools like Hex Fiend give you a nice GUI but I wanted something I could run via the terminal.

The output of the hexdump command built into macOS isn't really suited to 8 bit development. It supports format strings allowing you to change how it displays the individual bytes. Struggling for hours I was never able to make it look exactly how I wanted: like Woz's monitor program on the Apple I and II.

In the end it was just easier to write my own hexdump utility in Python. It's nothing fancy, but it's been useful to quickly view the contents of a binary file.

Download ebd on GitHub

Blog home