Skip to content

Introduce TR-DOS disk format support#859

Open
Sonic-Amiga wants to merge 2 commits into
davidgiven:masterfrom
Sonic-Amiga:tr-dos
Open

Introduce TR-DOS disk format support#859
Sonic-Amiga wants to merge 2 commits into
davidgiven:masterfrom
Sonic-Amiga:tr-dos

Conversation

@Sonic-Amiga
Copy link
Copy Markdown
Contributor

TR-DOS is a built-in ROM-based operating system for BetaDisk interface for the ZX-Spectrum by Technology Research Ltd. In late 80s it was brought into (back-then) USSR and cloned, having become a de-facto standard floppy disk interface for ZX-spectrum clones.
Official documentation says both 40- and 80- single- and double- sided drives are supported, however in practice i never met any other formats than 80-track DS. The controller is off-the-shelf 1793 chip, so encoding scheme it a standard IBM-compatible MFM. Sector size is 256 bytes, 16 sectors per track.
Official extension for plain TR-DOS disk images is .trd, so i added it to the list of recognized extensions by IMG writer.
At the moment is only tested with my Greaseweazel hardware. I do have a real Spectrum clone (that's how my involvement in Fluxengine has started), but at the moment is has problems and fails to read disks even when formatted by itself. I'll re-test things, of course, after fixing.

Define disk formats for ZX-Spectrum BetaDisk interface. Used to be a de-facto
standard on Ex-USSR territory, there's a huge amount of software available, both
original western titles (pirated of course) and homebrew.

Tested on Greaseweazle hardware by reading a disk, which was written using
native 'gw' utility from a EDSK image, converted from SCL using SAMTools. Writing
appears to work, gap lengths taken from TR-DOS disassembly. Verification on real
hardware is TBD.

Signed-off-by: Pavel Fedin <pavel_fedin@mail.ru>
.trd is a simple image, the same as IMG, but this suffix is standard for plain
TR-DOS disk images.

Signed-off-by: Pavel Fedin <pavel_fedin@mail.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant