The 5-Level Bnpf Format, Codes 08; Spectrum Format, Codes 12; Spectrum Format - Data I/O 298 Manual

Universal programmer
Table of Contents

Advertisement

A.5.3 ASCII BINARY FORMAT, CODES 01, 02 AND 03
(OR 05, 06, AND 07)
In these formats, bytes are recorded in ASCII codes with
binary digits represented by N's and P's, L's and H's, or
1's and O's, respectively. See figure A-3. The ASCII Binary
formats do not have addresses.
ASCll-BNPF. Format Code 01 (or 05)
C:,PNPNPNF
~
BPNPNPNP,·:•
1
2
3
ASCll-BHLF. Format Code 02 (or 06)
::,HLHLHLHLF
~
BHLHLHLHL;r·
1
2
3
ASCll-B18F, Format Code 03 (or 07)
=::~10101010F
810101010F B10101010F B10101010;r·
\
~I
1
2
3
NOTES
1. Start code is a nonprintable STX - CTRL B (start
code is optional).
2. Characters such as spaces. carriage returns and line
feeds may appear between bytes.
3. End code is a nonprintable ETX - CTRL C.
4. Data can also be expressed in 4-bit words
Figure A-3. ASC11 Binary Formats
Figure A-3 shows four data bytes coded in each of the
three ASCII Binary formats. Incoming bytes are stored in
RAM sequentially starting at the first RAM address. Bytes
are sandwiched between "B" and "F" characters and are
normally separated by spaces. Data can also be expressed
in 4-bit words. Any other characters, such as carriage
returns or line feeds, may be inserted between an "F" and
the next "B". The start codes are a nonprintable STX,
control B (or hex 02), and the end code is a nonprintable
ETX, control C (or a hex 03).
NOTE
Data without a start code may be input
to or output from the programmer by use
of alternate data translation format
codes. These are: ASC/1-BNPF, 05;
ASC/1-BHLF, 06; ASCll-81fPF, 07.
A single data byte can be aborted if the programmer
receives an E character between B and F characters. Data
will continue to be stored in sequential RAM addresses.
The entire data transfer can be aborted by pressing any
mode key (COPY, VERIFY, SELECT, EDIT).
Data is output in 4-byte lines with a space between bytes.
A.5.4 THE 5-LEVEL BNPF FORMAT, CODES 08 OR 09
Except for the start and end codes, the same character set
and specifications are used for the ASCll-BNPF and 5-level
BNPF formats.
Data for input to the programmer is punched on 5-hole
Telex paper tapes to be read by an ASCII-based reader
that has an adjustable tape guide. The reader reads the
tape as it would an 8-level tape, recording the 5 holes that
are on the tape as 5 bits of data. The 3 most significant
bits are recorded as if they were holes on an 8-level tape.
The programmer's software converts the resulting 8-bit
codes into valid data for entry in RAM.
The start code for the format is a left parenthesis, ("Figs
K" on a Telex machine), and the end code is a right
parenthesis, ("Figs L" on a Telex machine). The 5-level
BNPF format does not have addresses.
NOTE
Data without a start code may be input
to or output from the programmer by use
of the alternate data translation format
code, 09.
A.5.5 SPECTRUM FORMAT, CODES 12 OR 13
In this format, bytes are recorded in ASCII codes with
binary digits represented by 1's and O's. Each byte is
preceded by an address.
Figure A-4 shows 2 data bytes coded in the Spectrum
format. Bytes are sandwiched between the space and
carriage-return characters and are normally separated by
line feeds. The start code is a nonprintable STX, control B
(or hex 02), and the end code is a nonprintable ETX,
control C (or hex 03).
NOTE
Data without a start code may be input
to or output from the programmer by use
of the alternate data translation format
code, 13.
\
2
'
C•(CR)(LF) AAAA(SP)10101010 (CR)(LF) AAAA(SP)10101010 (CR)(LFIC
\ ,
\
3
\
41
NOTES
1. Start code is a nonprintable STX (start code is optional).
2. Address code is 4 decimal digits.
3. 4 or 8 data bits appear between space and carriage
return.
4. End code is a nonprintable ETX.
Figure A-4. Spectrum Format
A-4
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