TRS-80 for MiSTer Platform
This is a port of HT1080Z MiST core by Jozsef Laszlo to the MiSTer
NOTE: This core was renamed from ht1080z to TRS-80. If you are using the old core, be sure to rename the ht1080z directory to trs-80 on the MiSTer SD Card
To learn how to use the TRS-80, this is a quick tutorial: https://www.classic-computers.org.nz/system-80/driving_instructions.htm
The TRS-80 with Disk Drives attached will boot to a screen of '@' symbols and will then only continue booting once you place a disk in the drive. To bypass this and boot directly to BASIC to load a cassette game, press Escape immediately after selecting Reset in the OSD menu.
return
system
<Then go to the OSD and load a cassette>
[type the first letter of the file you want to load (e or g for the disk images provided)]
/ (to start once loaded)
Just select it in the OSD. Some CMD files won't work if they access disk rom routines and there is no disk in the drive. Sometimes a clean reboot is necessary before loading a CMD.
There are three main TRS-80 image formats, which are JV1, JV3 and DMK and they all usually share the same DSK extension. This MiSTer Core only supports the JV1 image format with upto 250 tracks, all tracks must currently hold 10 x 256 byte sectors. To check what format a disk is in, and if it is compatible with the core, use the TRSTOOLS utility from Matthew Reed, available from: http://www.trs-80emulators.com/trstools/
The Disk emulation supports reading and writing to JV1 formatted disks, but disks cannot be formatted in the core because there is no Write Track support for JV1 images. There are many different DOS versions for the TRS-80 with popular ones including TRSDOS, NEWDOS/80 and MULTIDOS. For beginners it is recommended you use TRSDOS which is the original DOS produced by Radio Shack. Instructions for using TRSDOS can be found in the following Wikipedia article: https://en.wikipedia.org/wiki/TRSDOS
- TRS-80 Model I with 48KB installed
- Expansion interface with dual disk drives
- Real Time Clock (RTC)
- White, Green and Amber Phosphor screen emulation
- Sound output is supported (however cassette saving sound is suppressed)
- Cassette loading is many times faster than the original 500 baud
- The included BOOT.ROM has been modified to take advantage of a special interface for loading cassettes; original BASIC ROMs are also supported
- Simulates Percom Doubler and TRS-80DD, but the upcoming JV3 decoding will be required to use DD disk images
- Even though sector write operations are supported, formatting of disks is not.
Debug status line
- The Debug Status line will only be visible in Partial or Full overscan modes
- For monitoring Floppy Disk Controller (FDC)
- Usess the following format: Ddddd,Ccc,Ttt,Sss,dnn,sSS * where:
- dddd - Drive select latch (1-4). Only 2 drives are currently supported
- cc - FDC Command Register
- tt - FDC Track Register
- ss - FDC Sector Register
- nn - FDC Data Register
- SS - FDC Status Register
- * - RTC Second Timer
Special ports (i.e. Z-80 "OUT"/"IN" commands) have been added as follows:
-
VIDEO:
- OUT 0, n (where n=(0-7)) -> change foreground color
- OUT 1, n (where n=(0-7)) -> change bacgronund color
- OUT 2, n (where n=(0-7)) -> change overscan color
-
Memory-mapped cassette:
- OUT 6, n (where n=(0-255)) -> set address bits 23-16 of virtual memory pointer
- OUT 5, n (where n=(0-255)) -> set address bits 15- 8 of virtual memory pointer
- OUT 4, n (where n=(0-255)) -> set address bits 7- 0 of virtual memory pointer
- A = INP(4) -> read virtual memory at current virtual memory pointer and increment pointer
- Note that cassette image is loaded at 0x010000, and no memory exists beyond 0x01ffff
-
Holmes Sprinter Interface
- OUT 254, n - Even number = Override Turbo. Odd number = Enabe Turbo
Special memory mapped ports have been added as follows:
- TRS-80 DD Interface - Memory mapped interface
- 0x37ec = 0x80 - Enable Double Density Mode
- 0x37ec = 0xa0 - Disable Double Density Mode