version 1.8

trs80gp - A TRS-80 Model 3/4/1 Emulator

This emulator runs under Windows either XP or Vista and probably even older versions. If your processor is less than a Pentium 3 or 1 GHz you can still run it but the "-na" option will be necessary.

My brother and I built it primarily as a development tool for software written for real TRS-80's and for experiments in improved emulation fidelity. That's why it can load programs in .cas, .hex, .bas or .cmd format directly but has no disk emulation nor can use use CLOAD or SYSTEM to load .cas files (as in most normal emulators). I like to think of it as the best and worst TRS-80 emulator out there.

Go here to see what's changed since the previous version. Here's a link to version 1.5.1 download which I'll keep around for a while in case anyone prefers or needs it.

The Best

The Worst


trs80gp has several command line options to control its operation. Run "trs80gp -?" to get the latest information on them.

-hStart in halted state
-m1Emulate Model 1
-m3Emulate Model III (default)
-m4Emulate Model 4 (preliminary)
-l1Run Level 1 BASIC ROM
-l2Run Level II BASIC ROM (default)
-bdTurn beam debugging on
-naTurn off authentic display
-win WxHSet window width and height
-time render/frame/emulation  Show timing in title bar
-showkeyShow Windows key code in title bar
fileone or more files to load after auto-boot


The TRS-80 had 53 keys. The emulator is set up so that PC keys in roughly the same physical location as the TRS-80 keys will activate them. Most of the symbols on your keyboard will correspond to the same key on the TRS-80. The letters, numbers, arrow keys and Enter will do what you expect and !#$%;<>,. are in the same spot, otherwise:

To GetPress
`   shift [
@ [
& shift 6
* shift -
( shift 8
) shift 9
- =
+ shift ;
= shift =
: -
' shift 7
" shift 2
Break Pause/Break or F9
Clear \

The menus are pretty self-explanitory except for the "Record" menu which is a little unfriendly. All of those items output to a sequence of hard-coded files and will overwrite those files if they already exist. As well the "Video", "Flash Video" and "Z-80 Profile" options begin recording and only stop when you select them again.

The AVI the video recording is uncompressed. It generates huge files and is only good for a few minutes at most. Use your preferred video editor/encoder to get more reasonably sized video (but they do zip up nicely). Or record in Flash video which may slow down the emulation but is pretty much unlimited in how much it can record. While the .flv files can be uploaded to YouTube there's not any built-in support for showing them under Windows.

RecordOutput files
Videotrs80-0.avi, trs80-1.avi, trs80-2.avi, ...
Flash Videotrs80-0.flv, trs80-1.flv, trs80-2.flv, ...
Screenshot 12  trs80-0.gif, trs80-1.gif, trs80-2.gif, ...
Profileprofile-0.txt, profile-1.txt, profile-2.txt, ...

Emulated printer output is appended to the "trs80-printer.txt" file.

You can set and remove breakpoints by double-clicking any instruction in the disassembly window.

Pretty much anything else depends on knowing how to operate a TRS-80 or program a Z-80.

George Phillips, February 13, 2011. george -at-