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.
- Window scalable to any size with realistic phosphor-dot rendering.
- Near perfect video emulation including beam drop-outs, wait states and various other subtle effects.
- Cycle perfect sub-instruction Z-80 and video timing.
- Built-in Z-80 debugger
- Model 3, Model 4 and Model 1 supported.
- AVI and FLV (Flash) video capture.
- GIF screenshot capture.
- Will fast boot and load program on command line.
- Can visually indicate Z-80 video memory conflicts.
- Keyboard is physically mapped (see Keyboard below)
- Cassette based-sound but no cassette loading.
- No floppy disk or hard disk emulation.
- Primitive line printer support.
- Hardware emulation gaps fixed on a "as I need them" basis.
Instructionstrs80gp has several command line options to control its operation. Run "trs80gp -?" to get the latest information on them.
|-h||Start in halted state|
|-m1||Emulate Model 1|
|-m3||Emulate Model III (default)|
|-m4||Emulate Model 4 (preliminary)|
|-l1||Run Level 1 BASIC ROM|
|-l2||Run Level II BASIC ROM (default)|
|-bd||Turn beam debugging on|
|-na||Turn off authentic display|
|-win WxH||Set window width and height|
|-time render/frame/emulation||Show timing in title bar|
|-showkey||Show Windows key code in title bar|
|file||one or more files to load after auto-boot|
|Break||Pause/Break or F9|
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.
|Video||trs80-0.avi, trs80-1.avi, trs80-2.avi, ...|
|Flash Video||trs80-0.flv, trs80-1.flv, trs80-2.flv, ...|
|Screenshot 12||trs80-0.gif, trs80-1.gif, trs80-2.gif, ...|
|Profile||profile-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. gp2000 -at- shaw.ca