Format of DOS input buffer |
| Offset | Size | Description | |
|---|---|---|---|
|
00h |
BYTE |
maximum characters buffer can hold | |
|
01h |
BYTE |
(call) | number of chars from last input which may be recalled |
| (ret) | number of characters actually read, excluding CR | ||
|
02h |
N BYTEs |
actual characters read, including the final carriage return | |