3 releases (breaking)

0.6.0 Nov 1, 2022
0.5.0 Oct 26, 2022
0.4.0 Oct 20, 2022

#81 in Emulators

MIT license

304 lines


This is a TRS-80 emulator, based on my Z80 emulator. It has a working keyboard, can run Level 1 and Level 2 basic, and load .cas tape images. You will need a ROM (this diagnostic ROM for example), and the AnotherMansTreasureMIB64C2X3Y.ttf font. Screenshot

To run:

cargo run

You can customize the RAM, ROM and resolution in the config.toml file. For now the tape selection is primitive : you specify the .cas filename in the filename.txt file. The F7 key can be used to "rewind" the tape, or "insert" another one once you have changed its name in the filename.txt file. The F8 key reboots the TRS-80.


~343K SLoC