MOS Technology file format: Difference between revisions

Content deleted Content added
Adding short description: "Binary to ASCII text format" (Shortdesc helper)
m replaced deprecated <tt> tags with {{mono}}
Line 11:
Each record begins with a [[semicolon]] ({{char|;}}), followed by two [[hexadecimal]] digits denoting the length of the data in the record. The next two bytes represent the starting address of the data, in [[endianness|big-endian]] (most-significant byte first) hexadecimal. Up to 24 bytes of data follow. Then, there is a 2-byte (4-character) [[checksum]]: the sum of the other non-{{char|;}} data in the record. Finally, a record ends with a [[carriage return]] ({{char|<CR>}}), a [[newline|line break]] ({{char|<LF>}}), and six [[null character]]s ({{char|<NUL>}}).
 
The last record on the paper tape is empty (its length field is <tt>{{mono|0000</tt>}}), with the starting address field representing the total number of data bytes contained in the transmission. The file ends with a {{char|XOFF}}.<ref name="MOS_1976"/>
 
== See also ==