6. Translation Formats
UniSite-xpi User Manual
6-23
MOS Technology Format, Code 81
The data in each record are sandwiched between a 7-character prefix and
a 4-character suffix. The number of data bytes in each record must be
indicated by the byte count in the prefix. The input file can be divided
into records of various lengths.
Figure 6-9 shows a series of valid data records. Each data record begins
with a semicolon. The programmer will ignore all characters received
prior to the first semicolon. All other characters in a valid record must be
valid hexadecimal digits (0-9 and A-F). A 2-digit byte count follows the
start character. The byte count, expressed in hexadecimal digits, must
equal the number of data bytes in the record. The byte count is greater
than zero in the data records, and equals zero (00) in the end-of-file
record. The next 4 digits make up the address of the first data byte in the
record. Data bytes follow, each represented by 2 hexadecimal digits. The
end-of-file record consists of the semicolon start character, followed by a
00 byte count, the record count, and a checksum.
The checksum, which follows each data record, is a 2-byte binary
summation of the preceding bytes in the record (including the address
and byte count), in hexadecimal notation.
Figure 6-9
An Example of MOS Technology Format
;100000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF1000
;100010FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF1010
;100020FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF1020
;100030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF1030
;100040FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF1040
;0000050005
Sumcheck of record including
data, address and byte count
Data Records
End-of-File Record
Record Count
Sumcheck
Start Character
Byte Count
Address Field
LEGEND
Nonprinting Carriage Return, line feed,
and nulls determined by null count
0081-2
Summary of Contents for UniSite-xpi
Page 2: ...981 0014 UniSite Programming System User Manual Also Covering Legacy UniSite Programmers ...
Page 72: ...2 Setup and Installation 2 42 UniSite xpi User Manual ...
Page 134: ...3 Getting Started 3 62 UniSite xpi User Manual ...
Page 238: ...5 Computer Remote Control 5 10 UniSite xpi User Manual ...
Page 296: ...6 Translation Formats 6 58 UniSite xpi User Manual ...
Page 402: ...Keep Current Subscription Service 6 Keep Current ...