TRD format: Difference between revisions
(Cleanup) |
|||
Line 2: | Line 2: | ||
[[Category:Easy Disk Image Formats]] | [[Category:Easy Disk Image Formats]] | ||
[[Category:Emulator Disk Image Formats]] | [[Category:Emulator Disk Image Formats]] | ||
The TRD format was created for storing [[Betadisk]]/[[TR-DOS]] disk images for emulation. | The TRD format was created for storing [[Betadisk]]/[[TR-DOS]] disk images for emulation. | ||
Line 9: | Line 7: | ||
This format is member of the [[Easy Disk Image Formats]] and contains only the data of sectors. | This format is member of the [[Easy Disk Image Formats]] and contains only the data of sectors. | ||
It is typically used for images of disks using the [[TR-DOS filesystem]]. | |||
== TRD file structure == | == TRD file structure == | ||
Line 14: | Line 14: | ||
TRD images can store single or double sided 40 or 80 track disk images. | TRD images can store single or double sided 40 or 80 track disk images. | ||
== File Header == | |||
There is no any header or file signature (magic bytes). | There is no any header or file signature (magic bytes). | ||
== | == Sector layout == | ||
Sectors laid from 1st to last within a track: | Sectors laid from 1st to last within a track: | ||
Line 48: | Line 48: | ||
e.g. Prince of Persia - PRINCE_P.TRD (2 sided 80 track disk image) is only 255488 bytes length, because the last sector which contains data is h0t31s6 (2×31×16+6)×256 | e.g. Prince of Persia - PRINCE_P.TRD (2 sided 80 track disk image) is only 255488 bytes length, because the last sector which contains data is h0t31s6 (2×31×16+6)×256 | ||
= | == See also == | ||
[[SCL format]] is an alternative storage format for [[TR-DOS]] | [[SCL format]] is an alternative storage format for [[TR-DOS filesystem]] images. Instead of a TRD image, SCL stores only the directory structure and data of files. | ||
= External Links = | == External Links == | ||
[http://web.archive.org/web/http://www.ramsoft.bbk.org/tech/tr-info.zip TR-DOS info from RAMSOFT] | [http://web.archive.org/web/http://www.ramsoft.bbk.org/tech/tr-info.zip TR-DOS info from RAMSOFT] |
Revision as of 00:32, 10 May 2020
The TRD format was created for storing Betadisk/TR-DOS disk images for emulation.
The Russian Spectrum clones (Pentagon Scorpion) use the TR-DOS disk operating system with builtin Beta Disk interface.
This format is member of the Easy Disk Image Formats and contains only the data of sectors.
It is typically used for images of disks using the TR-DOS filesystem.
TRD file structure
TRD images can store single or double sided 40 or 80 track disk images.
File Header
There is no any header or file signature (magic bytes).
Sector layout
Sectors laid from 1st to last within a track:
- Sector 1
- Sector 2
...
- Sector last
Tracks follow the “alt” schema:
- Side: 0 Track: 0
- Side: 1 Track: 0
- Side: 0 Track: 1
...
- Side: 0 Track: 79
- Side: 1 Track: 79
File length
TR-DOS uses 256 BPS and 16 SPT for disks, so a
- 40 track 1 sided image length is 163840 byte (1×40×16×256)
- 40 track 2 sided image length is 327680 byte
- 80 track 1 sided image length is 327680 byte
- 80 track 2 sided image length is 655360 byte
Partial images
TRD files may end before the calculated full length if sectors up to the end contains no data.
e.g. Prince of Persia - PRINCE_P.TRD (2 sided 80 track disk image) is only 255488 bytes length, because the last sector which contains data is h0t31s6 (2×31×16+6)×256
See also
SCL format is an alternative storage format for TR-DOS filesystem images. Instead of a TRD image, SCL stores only the directory structure and data of files.