DSK format: Difference between revisions

Jump to navigation Jump to search
471 bytes added ,  13 December 2022
Line 24: Line 24:


===Normal===
===Normal===
* 00-16 "MV - CPCEMU Disk-File\r\n"''
{| class="wikitable"
* 17-21 "Disk-Info\r\n"'
! byte
* 22-2f Name of the creator'
! notes
* 30   Number of tracks'
|-
* 31   Number of sides'
|00-16
* 32-33 Track size '
|"MV - CPCEMU Disk-File\r\n" - header for NORMAL disks.
* 34-FF Unused'
|-
 
|17-21
|Disk-Info\r\n" - Should consider this to be part of the header
|-
|22-2f  
|Name of the creator - Can be any ASCII text or blank.
|-
|30  
|Number of tracks
|-
|31  
|Number of sides
|-
|32-33
|Track size - This is the combined track size including the track information at the start of each block.
|-
|34-FF
|Unused
|}
===Extended===
===Extended===
This format allows for variable track sizes.


* 00-16 "EXTENDED CPC DSK File\r\n"
{| class="wikitable"
* 17-21 "Disk-Info\r\n"'
! byte
* 22-2f Name of the creator'
! notes
* 30   Number of tracks'
|-
* 31   Number of sides'
|00-16  
* 32-33 Not used'
|"EXTENDED CPC DSK File\r\n" - Extended disk header
* 34-FF For each track, one byte representing MSB of track size,  Eg, of the track length is 4864  (0x1300 = 9 sectors of 512 bytes + 256 bytes for the track header) then the byte would be 13
|-
|17-21
|"Disk-Info\r\n" - Again, should be considered part of the disk header.
|-
|22-2f  
|Name of the creator - Can be any ASCII text or blank.
|-
|30  
|Number of tracks
|-
|31  
|Number of sides
|-
|32-33
|Not used
|-
|34-FF
|For each track, one byte representing MSB of track size,  Eg, of the track length is 4864  (0x1300 = 9 sectors of 512 bytes + 256 bytes for the track header) then the byte would be 13
|}


==Track data==
==Track data==
90

edits

Navigation menu