Introduce TR-DOS disk format support#859
Open
Sonic-Amiga wants to merge 2 commits into
Open
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.