/cybemu

An attempt to write a Cybiko emulator in pure go.

Primary LanguageGoGNU General Public License v3.0GPL-3.0

Cybemu

GitHub CI Coveralls Go Documentation License: GPL v3 Discord DeepSource

Cybemu is an attempt to emulate the Cybiko Classic in Go. Currently, it can only do a very basic disassembly of a H8s/2000 binary. It'll only identify the length of the instruction, whether it's a Byte, Word, or Long, and the instruction opcode. It will also decode the operands if the instruction in question is using the Register Direct addressing mode.

Special thanks to @Tim on the Cybiko Zone Discord for providing constant guidance and useful information, including test cases.

Playing with this

You can run this like this

go run main.go <file to disassemble>

A makefile is included which will help you to run the tests, build a binary, etc.