Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ref:zmodem [2020/12/01 18:15] – [Frame Header] Add a frame type table digital man | ref:zmodem [2025/09/26 14:13] (current) – [ZMODEM Frame] Mention the Tera Term 0x8D 0x8A oddity digital man | ||
|---|---|---|---|
| Line 67: | Line 67: | ||
| ==== ZMODEM Frame ==== | ==== ZMODEM Frame ==== | ||
| - | There 2 classes of ZMODEM Frames: | + | There are 2 classes of ZMODEM Frames: |
| - | | + | |
| - | | + | |
| === HEX Frame === | === HEX Frame === | ||
| <frame header> [CR] LF [XON] | <frame header> [CR] LF [XON] | ||
| - | HEX frames are terminated with an ASCII linefeed character. Some ZMODEM implementations send the HEX frame terminating | + | HEX frames are terminated with an ASCII linefeed character. |
| + | |||
| + | Some ZMODEM implementations send this terminating | ||
| + | |||
| + | Also, for some HEX frame types, the frame terminator may be followed by an XON (0x11) character (" | ||
| === Binary Frame === | === Binary Frame === | ||
| Line 82: | Line 86: | ||
| ==== Frame Header ==== | ==== Frame Header ==== | ||
| - | <frame encoding> | + | <frame encoding> |
| **Frame Encoding** (single byte): | **Frame Encoding** (single byte): | ||
| Line 88: | Line 92: | ||
| The //Frame Encoding// is also sometimes called the "Frame Style" | The //Frame Encoding// is also sometimes called the "Frame Style" | ||
| - | ^ Frame Style ^ Value ^ Notes ^ | + | ^ Style |
| - | | HEX | + | | HEX | ZHEX | ASCII ''' |
| - | | BIN16 | + | | BIN16 | ZBIN | ASCII ''' |
| - | | BIN32 | + | | BIN32 | ZBIN32 |
| Notes: | Notes: | ||
| Line 98: | Line 102: | ||
| **Frame Type** (single byte): | **Frame Type** (single byte): | ||
| - | ^ Frame Type ^ Value ^ TX((from sender))^ RX((from receiver)) ^ Data Subpkt | + | ^ Type |
| - | | ZRQINIT | + | | ZRQINIT |
| - | | ZRINIT | + | | ZRINIT |
| - | | ZSINIT | + | | ZSINIT |
| - | | ZACK | + | | ZACK |
| - | | ZFILE | 0x04 | Y | + | | ZFILE | 0x04 | Y |
| - | | ZSKIP | 0x05 | - | + | | ZSKIP | 0x05 | - |
| - | | ZNAK | + | | ZNAK |
| - | | ZABORT | + | | ZABORT |
| - | | ZFIN | + | | ZFIN |
| - | | ZRPOS | 0x09 | - | + | | ZRPOS | 0x09 | - |
| - | | ZDATA | 0x0A | Y | + | | ZDATA | 0x0A | Y |
| - | | ZEOF | + | | ZEOF |
| - | | ZFERROR | + | | ZFERROR |
| - | | ZCRC | + | | ZCRC |
| - | | ZFREECNT | + | | ZFREECNT | 0x11 | Y |
| **Frame Info**: Up to 15 bytes (but typically 4) of frame type-specific information.\\ | **Frame Info**: Up to 15 bytes (but typically 4) of frame type-specific information.\\ | ||
| Line 681: | Line 685: | ||
| The pathname (conventionally, | The pathname (conventionally, | ||
| null terminated ASCII string. | null terminated ASCII string. | ||
| - | No spaces are included in the pathname. | + | No spaces are included in the pathname. |
| Filename Considerations | Filename Considerations | ||