← All projects
Project record1 mention
Originally shared on Hacker News

Trash80

This is a TRS-80 Model I emulator written in JavaScript that runs in both the browser and the terminal. Its Z80 core passes the ZEXALL test suite and runs real TRS-80 software, including games. It ships with a clean-room-style Level 2 ROM featuring a fairly complete BASIC with readline-style control commands, history, and a proper cursor, plus a virtual disk containing an ASCII fractal browser written in Z80 assembly. Unicode sextant block graphics map to TRS-80 Model I semigraphics so it runs well even in the terminal; a line-mode provides a readline-like interface for line-based applications, and TRS-80 BASIC files can be run through the emulator via shebang.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Trash80

    This is a TRS-80 Model I emulator written in JavaScript that runs in both the browser and the terminal. Its Z80 core passes the ZEXALL test suite and runs real TRS-80 software, including games. It ships with a clean-room-style Level 2 ROM featuring a fairly complete BASIC with readline-style control commands, history, and a proper cursor, plus a virtual disk containing an ASCII fractal browser written in Z80 assembly. Unicode sextant block graphics map to TRS-80 Model I semigraphics so it runs well even in the terminal; a line-mode provides a readline-like interface for line-based applications, and TRS-80 BASIC files can be run through the emulator via shebang.

    Posted by @DougHaber · Original source ↗

    Source text · @DougHaber · · Source ↗

    One is a TRS-80 Model I emulator in JavaScript called Trash80. About 10 months ago I started this project just for fun while experimenting with what now seems to be called agentic loops.