[ 4 ] Text Format
Text should be formatted according to the standard of the BHT-protocol before trans-
mission. Shown below are two types of the standard text formats for program files
and data files.
■
Program Text Format
(1) Heading text
Byte position
1
Example of
P R O G 1 .
contents
The program file name should
be a maximum of 12 characters
in length and it consists of FILE
NAME and .EXTENSION. The
FILE NAME should be 1 to 8
characters. The EXTENSION
should be .PD3 (.FN3 and .EX3
may be available for future
functional expansion).
(2) Data text
Byte
1 2
3 4
position
Example of
contents
2 3
4 5 6 7 8
Program file name
(12 bytes)
P D 3
Program data
Object file (compiled from a source
program file having one of the
extensions .PD3, .FN3, and .EX3.)
9 10 11 12 13 14 15 16
Number of data
texts contained
(5 bytes)
0 0
3
If the program file name is
less than 12 characters in
length, the lower blank
bytes will be filled with
space characters.
128 bytes if extension is .PD3;
130 bytes if it is .FN3 or .EX3.
120
17
5 2
The number of data texts
should be 0 to 32767. If it
is less than 5 digits, the
upper blank bytes will be
filled with zeros (0).
0 0 0 0 0 0
If a program data field
is less than the
maximum digits in
length, the lower blank
bytes will be filled with
zeros (0).
128
or
130