6. Translation Formats
6-22
UniSite-xpi User Manual
Fairchild Fairbug, Code 80
In the Fairbug format, input and output requirements are identical; both
have 8-byte records and identical control characters. Figure 6-8 shows a
Fairbug data file. A file begins with a 5-character prefix and ends with a
1-character suffix. The start-of-file character is an S, followed by the
address of the first data byte. Each data byte is represented by 2
hexadecimal characters. The programmer will ignore all characters
received prior to the first S.
Note: Address specification is optional in this format; a record with no address
directly follows the previous record.
Each data record begins with an X and always contains 8 data bytes. A
1-digit hexadecimal checksum follows the data in each data record. The
checksum represents, in hexadecimal notation, the sum of the binary
equivalents of the 16 digits in the record; the half carry from the fourth bit
is ignored.
The programmer ignores any character (except for address characters and
the asterisk character, which terminates the data transfer) between a
checksum and the start character of the next data record. This space can
be used for comments.
The last record consists of an asterisk only, which indicates the end
of file.
Figure 6-8
An Example of Fairchild Fairbug
S0000
XFFFFFFFFFFFFFFFFC
XFFFFFFFFFFFFFFFFC
XFFFFFFFFFFFFFFFFC
XFFFFFFFFFFFFFFFFC
XFFFFFFFFFFFFFFFFC
XFFFFFFFFFFFFFFFFC
XFFFFFFFFFFFFFFFFC
XFFFFFFFFFFFFFFFFC
XFFFFFFFFFFFFFFFFC
XFFFFFFFFFFFFFFFFC
*
Start Record
S = Start Character
0000 = Address Field
End-of-File Record
Data Records
X =
FF =
C =
Data Record Start Character
2 Hex Characters (1 Byte)
Checksum. 1-digit summation
of data in record
0080-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 ...