RetroWiki

Retrograde 64

User Tools

Site Tools


doc:cbm:disk:image:g64

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:cbm:disk:image:g64 [2020/06/01 01:46] eekdoc:cbm:disk:image:g64 [2020/06/01 01:47] (current) – [Analysing the GCR data stream] eek
Line 215: Line 215:
 a SYNC mark of 40 'on' bits (10 'F's in a  row).  Note  that  there  are  2 a SYNC mark of 40 'on' bits (10 'F's in a  row).  Note  that  there  are  2
 groups of SYNC marks quite close together, one for the  sector  header  and groups of SYNC marks quite close together, one for the  sector  header  and
-one for the sector data. In the above example, there is 2 groups of "FF  FF +one for the sector data. In the above example, there is 2 groups of ''"FF FF FF FF FF"''. 
-FF FF FF". The first one is the header SYNC and the second one is the  data+The first one is the header SYNC and the second one is the  data
 SYNC. SYNC.
  
Line 246: Line 246:
  
 There is some controversy over the header gap (#3). Most people assume it There is some controversy over the header gap (#3). Most people assume it
-to be 9 bytes of 0x55 characters, but the early 1540/1541 drives used  only+to be 9 bytes of ''0x55'' characters, but the early 1540/1541 drives used  only
 8. This caused an write incompatability with the existing 4040 disks of the 8. This caused an write incompatability with the existing 4040 disks of the
 day. In 1541 ROM revision 901225-3 this error was fixed, and now all drives day. In 1541 ROM revision 901225-3 this error was fixed, and now all drives
-write out 9 of the 0x55 characters for the gap. The book "Inside  Commodore+write out 9 of the ''0x55'' characters for the gap. The book "Inside  Commodore
 DOS"  by  Immers/Neufeld  documents  the  write  incompatibilty  and   what DOS"  by  Immers/Neufeld  documents  the  write  incompatibilty  and   what
 corruption happens at a low level when writing to a disk with a header  gap corruption happens at a low level when writing to a disk with a header  gap
Line 282: Line 282:
  
   - Search for SYNC (at least 10 or more 1 bits)   - Search for SYNC (at least 10 or more 1 bits)
-  - Check for header id after SYNC (GCR 0x52)+  - Check for header id after SYNC (GCR ''0x52'')
   - If header, read the remaining 9 header bytes   - If header, read the remaining 9 header bytes
   - Decode header and get sector value   - Decode header and get sector value
   - Search for SYNC again   - Search for SYNC again
-  - Check for data id after SYNC (GCR 0x55).+  - Check for data id after SYNC (GCR ''0x55'').
   - If data, read and store with previous header.   - If data, read and store with previous header.
   - Have we finished reading the track... stop   - Have we finished reading the track... stop
   - Start over   - Start over
  
doc/cbm/disk/image/g64.txt · Last modified: 2020/06/01 01:47 by eek

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki