r
•
•
•
-
Remote Control
MOS Technology Format, Code 81
The dato In each rGOOrd Is solldw,ctied betweerl a 7-chorocter prefix aoo a 4.chorocter suffix. The
numbor ol dato b,te, In 80Ch recQrci must be indicotect by fhe b'(le count In no prefix.
T
he lnpu
l
ft.le
coJ1 be divided Into records of various toogfh.
The llgure simulole.s a serlei or -.olid data records. Each cioto racard beQlns with o semicolon. The
progromrner will lgnCfe oil choraciers received prior to ltlo lirst !>emlColon. All ott1er chorocters ln o
valid
1
ecor
d ml/$1 bo volid hex diOIIS [0-9. A-F). A 2-dlQil byte count IOllows lhe slOrt charoc1er. Th8
byte count &xPfessed In nexodQcimol digit,, musl 8qlll01 the number ot dole bytes In th.e record. The
byle count Is greotor than zero In the doto records. a
n
d
equals zero (00) In 100 end-of-file record. The
next 4 digits malte up the odd/ess of the first data byte In the record, Oofa bytes follOw. 8och
r
eo
r
e
sen
t
ed b( 2
n
e
.
x
.
odec
i
ma
l
dlr;rts, The end-of-Me record consists of the semicolon slort criaroeler.
loli□'N6d b't a "Oil" b,te count. ltle record count aoo a sumcheck.
Tho �mcheck. wtiicn lollows eoch data ,ecord. Is a tWO-bfl'e blno,y svmmotiOn of
t
he
preoodlng
b{te$ In th8
record
(lrictudlng
Iha
addre,s ond
b-(te
oou
n
r
.l,
in hexod8cimol no+otion
.
lfGEND
(.:,
Nonp,iriling Corr.toge Retvrn.
line
:eeo. ond
null�
93