1. COMMON OPERATIONS FOR THE PC9801 AND IBM PC/AT
1.1.5 Data start and end codes
The system will automatically determine which of the following seven pairs of start and end codes
is used. When none of these codes are used, an error message is displayed and operation
terminates.
1.1.6 Data conversion (return codes)
(Note) The end codes
shown here must appear at
the beginning of a line. In
other words, strictly speaking,
a data reception end code is
actually denoted by the
sequence CR + LF + an end
code. End codes (% etc.)
appearing within comments
are ignored.
(1) When an LF code (OAH) is received, it is converted into two characters, the first of which is CR
(ODH) followed by LF (OAH).
(2) When a CR code (ODH) is received, it is discarded.
(3) When an end code (DE) is received, CR (ODH) and LF (OAH) are appended to it in that order.
1.1.7 Transmission and receive data
Until a data start code (DS) is received, data is discarded.
1 1
1 1
. . ..-Discarded
Valid data I...
After the end code (DE) has been sent or received, DC 3 is sent for uploading or DC 4 is sent for
downloading, then the file is closed.
2-s