- Description:
- assembler and programmer for rickp's MC5000 dev kit
- Owner:
- pesco
- Last Change:
- Clone URL:
https://code.khjk.org/mc5000.git
Commit Briefs
add manpage (main)
use cfmakeraw when setting up the serial line
Somehow missed that function at first. This makes serial I/O work on Linux.
add a second test
This one is designed to let us see when the chip reboots.
reduce serial read timeout to 100ms
Unreliable responses from the board are not due to being busy, but due to flaky serial receive code. If it missed our request, it will never answer, so better to fail (and try again) early.
Branches
Tree
README
MC5000 README MC5000
DESCRIPTION
An assembler and programmer for rickp's MC5000 dev kit.
The MC5000 is a physical realization of the fictional microcontroller
family from the game Shenzhen I/O by Zachtronics. It uses the low-cost
Padauk PFS173 microcontroller.
This program translates MCxxxx assembly to byte code and writes it to
any of the MC5000 chips via the board's USB serial port.
USAGE
Run 'mc5000 -h' for quick help.
Refer to the supplied manpage mc5000.1 for details.
BUILDING
Run make.
The program is designed for a Unix environment, specifically OpenBSD.
It has also been tested on Debian GNU/Linux.
SEE ALSO
MC5000 dev kit https://github.com/rickp/MC5000_DevKit
Shenzhen I/O https://www.zachtronics.com/shenzhen-io/
The file 'notes' contains various encoding and protocol details.
COPYRIGHT
Sven M. Hallberg <pesco@khjk.org>
Released under the terms of the ISC license.
