Matrix Mode Serial Communicator for MEGA65

matrix65 is a CLI tool, for communicating with the MEGA65 8-bit retro computer using a serial connection. It has a mix of features from m65, mega65ftp, and M65connect and is written entirely in Rust. Disclaimer: This tool is still under development; use it at your own risk.

Getting Started

Installing

The easiest way to get started is to install Rust, followed by:

~~~ bash cargo install matrix65 ~~~

Using

~~~ bash

transfer prg file and run it (url allowed)

matrix65 --port /dev/myserial prg plasma.prg --run

text-user-interface (TUI) for the FileHost

matrix65 --port /dev/myserial filehost

look for and select PRG file inside disk image (url allowed)

matrix65 --port /dev/myserial prg commando.d81 --run --reset

type something on the mega65

matrix65 --port /dev/myserial type "dir\n"

hexdump 16 bytes, starting at $C000

matrix65 --port /dev/myserial peek -@ 0xc000 -n 16 ~~~

Features and current status

As of writing, the list of functionality is inferior to m65, but expect more features over time. Should you be interested in testing or try some Rust programming, your involvement is very welcome.

Motivation

  1. I wanted to learn more about Rust and the MEGA65 hardware
  2. A Text User Inferface (TUI) for the FileHost has an inherent retro-feel
  3. Rust
  4. In my opinion, a higher level language is more suitable than C for tasks like HTTP requests, JSON parsing, and TUI handling.

Resources