Spectrum tape interface: Difference between revisions

Jump to navigation Jump to search
(Blocks and Pulses. Header structure, data block structure. Some gaps)
(Pulse counts and lengths for Pilot and Sync)
Line 5: Line 5:


== Pulses ==
== Pulses ==
Pilot tone: before each block is a sequence of pulses "over 1 second long" [http://www.worldofspectrum.org/tapsamp.html]. ''(Need to find out the pulse length and minimum number of pulses)''
A 'pulse' here is either a mark or a space, so 2 pulses makes a complete square wave cycle.


Sync pulses: the pilot tone is followed by two sync pulses "which are significantly smaller than a pilot pulse. This marks the end of the pilot".  ''(Again, need the exact values)''
Pilot tone: before each block is a sequence of 8063 (header) or 3223 (data) pulses, each of length 2168 T-states.


A '0' bit is encoded as 2 pulses of 855 T-states each (a 'pulse' here is either a mark or a space, so 2 pulses makes a complete square wave cycle)
Sync pulses: the pilot tone is followed by two sync pulses of 667 and 735 T-states resp.
 
A '0' bit is encoded as 2 pulses of 855 T-states each.


A '1' bit is encoded as 2 pulses of 1710 T-states each (ie. twice the length of a '0')
A '1' bit is encoded as 2 pulses of 1710 T-states each (ie. twice the length of a '0')