Specifications For Mos Technology Data Files - Data I/O 298 Manual

Universal programmer
Table of Contents

Advertisement

• MOS TECHNOLOGY FORMAT. CODE 81
The data in each record is 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 length.
Figure A-10 simulates a series of valid data records. Each
data record begins with a semicolon. The programmer will
INPUT
DATA RECORD
B
c
A
A
A
A
H
H
H
H
c
c
c
c
START CHARACTER
BC= Byte Count. The hexadecimal number of data bytes
in the record
AAAA =Address of first data byte
in
record. AAAA in
hexadecimal notation only
HH
=
One data byte in hexadecimal notation
CCCC =Checksum. Two-byte binary summation of
preceding bytes in record (including address, and byte
count) in hexadecimal notation.
This space can be used for line feed, carriage return or
comments.
(Beginning of next record)
LEGEND
BC
AAAA
cc cc
=
Start Character
=Byte Count (BC>OO in Record; BC= 00 in End-of-File Record)
= Address Field
= Checksum of Record
RR RR
= Record Count
HH
=Two Hexadecimal Digits (0·9, A·Fl
ignore all characters received prior to the first semicolon.
All other characters in a valid record must be valid hex
digits (0-9, 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
next 4 digits make up the addiess of the fiist data byte in
the recOid. Data bytes follow, each represented by 2
hexadecimal digits.
I
END-OF-FILE RECORD
B
c
R
R
R
R
c
c
c
c
ST ART CHARACTER
Byte Count. BC= 00 in End-of-File Record
Record Count
Checksum
~
OUTPUT
NOTES
1) Number of bytes per record is variable. See Table 3-1.
2)
Each line ends with nonprinting line feed, carriage return
and nulls.
2
Hex characters=
1
byte
Data Records
"'
;BCAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHCCCC
~CAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHCCCC
!
.BCAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHCCCC
;BCAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHCCCC
;BCAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHCCCC
;BCAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHCCCC
;BCAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHCCCC
;BCRRRRCCCC
Figure A-10. Specifications for MOS Technology Data Files
A-9
10-990-0013

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 298 and is the answer not in the manual?

Questions and answers

Table of Contents