text stringlengths 0 99.6k |
|---|
By Ward Christensen 1/1/82 |
I will maintain a master copy of this. |
Please pass on changes or suggestions |
via CBBS/Chicago at (312) 545-8086, |
CBBS/CPMUG (312) 849-1132 or by voice |
at (312) 849-6279. |
Last Revision: 6/18/85 By Henry C. |
Schmitt.---State Table Appendix. |
Previous Revisions: 1/13/85 By John |
Byrns.---CRC Option Addendum. |
8/9/82 By Ward Christensen.---Change |
ACK to 06H (from 05H). |
This version of the document was |
downloaded from the CBBS/CPMUG on |
6/13/85 and the addition of the |
revision marks (') and minor |
editorial changes were made by Henry |
C. Schmitt. Many people ask me for |
documentation on my modem protocol, |
i.e. the one used in the various |
modem programs in CPMUG, on volumes 6, |
25, 40, 47... so here it is. At the |
request of Rick Mallinak on behalf of |
the guys at Standard Oil with IBM |
P.C.s, as well as several previous |
requests, I finally decided to put my |
modem protocol into writing. It had |
been previously formally published |
only in the AMRAD newsletter. |
Table of Contents |
1. DEFINITIONS |
2. TRANSMISSION MEDIUM LEVEL PROTOCOL |
3. MESSAGE BLOCK LEVEL PROTOCOL |
4. FILE LEVEL PROTOCOL |
5. DATA FLOW EXAMPLE INCLUDING ERROR |
RECOVERY |
6. PROGRAMMING TIPS. |
7. OVERVIEW OF CRC OPTION |
8. MESSAGE BLOCK LEVEL PROTOCOL, CRC |
MODE |
9. CRC CALCULATION |
10. FILE LEVEL PROTOCOL, CHANGES FOR |
COMPATIBILITY |
11. DATA FLOW EXAMPLES WITH CRC OPTION |
Appendix 1. MODEM PROTOCOL STATE |
TABLE |
1. DEFINITIONS. <SOH> 01H <EOT> |
04H <ACK> 06H <NAK> 15H |
<CAN> 18H <C> 43H |
2. TRANSMISSION MEDIUM LEVEL PROTOCOL |
Asynchronous, 8 data bits, no parity, |
one stop bit. |
The protocol imposes no restrictions on |
the contents of the data being |
transmitted. No control characters |
are looked for in the 128-byte data |
messages. Absolutely any kind of data |
may be sent - binary, ASCII, etc. The |
protocol has not formally been adopted |
to a 7-bit environment for the |
transmission of ASCII-only (or |
unpacked-hex) data, although it could |
be simply by having both ends agree to |
AND the protocol-dependent data with 7F |
hex before validating it. I |
specifically am referring to the |
checksum, and the block numbers and |
their ones-complement. |
Those wishing to maintain compatibility |
of the CP/M file structure, i.e., to |
allow modemming ASCII files to or from |
CP/M systems should follow this data |
format: |
* ASCII tabs used (09H); tabs set |
every 8. |
* Lines terminated by CR/LF (0DH 0AH) |
* End-of-file indicated by ^Z, 1AH. |
(one or more) |
* Data is variable length, i.e. should |
be considered a continuous stream |
of data bytes, broken into 128-byte |
chunks purely for the purpose of |
transmission. |
* A CP/M "peculiarity": If the data |
ends exactly on a 128-byte boundary, |
i.e., |
CR in 127, and LF in 128, a |
subsequent sector containing the ^Z EOF |
character(s) is optional, but is |
preferred. Some utilities or user |
prgrams |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.