01-04-2014, 10:20 AM
On the latest doc
number of tracks:
This is 164 tracks or 82 double sided
But SCP program goes up to 83x2=166 ???
And in SCP IMAGE FORMAT
and later
What is the truth?
in text description
You are missing
BYTES 0x0C-0x0F Data Offset
described later in
number of tracks:
Code:
BYTES 0x06 and 0x07 are the start track and end track bytes. Tracks are numbered 0-163.
But SCP program goes up to 83x2=166 ???
And in SCP IMAGE FORMAT
Code:
; 0006 START TRACK (0-165)
; 0007 END TRACK (0-165)
Code:
IFF_START = 0x06 ; start track (0-165)
IFF_END = 0x07 ; end track (0-165)
What is the truth?
in text description
Code:
BYTES 0x08-0x0B contain the length of the track in bit cells (flux transitions). If a
16 bit width is used (selected above), then this value *2 will be the total number of
bytes of data that is used for that track (16 bit = 2 bytes per word).
There are 5 entries (starting at BYTES 0x08-0x0B), one for each revolution (up to
5 revolutions) contained in a table that follows the track number. If an entry contains
all zeros (0x00000000) then no more data is available for that track.
You are missing
BYTES 0x0C-0x0F Data Offset
described later in
Code:
; 000C DATA OFFSET (1st REVOLUTION) - 4 bytes (offset is from start of Track Data Header - should always be 0x00000044 for this entry)