Changes

Jump to: navigation, search

AMSDOS Header

235 bytes added, 13 January
Fix errors
|-
| 3 BYTES || Extension || Unused characters are filled with space
|-
| DWORD || Zero || Contains all zeroes
|-
| BYTE || Block number || Tape only
| BYTE || Last block || Tape only
|-
| BYTE || File type || 0:BASIC 1:Protected 2:Binary (ASCII files don't have headersbut a fake header is built in memory with the file type #16, "Unprotected ASCII v1")
|-
| WORD || Data length location || ???Address of the 2KB buffer
|-
| WORD || Load address ||
|-
| BYTE || First block || Tape Set to #FF, only?used for output files
|-
| WORD || style="white-space: nowrap;"| Logical length || Actual file length is here
|-
| WORD || Entry address ||
| WORD || Checksum || Unsigned sum of all bytes until this field
|-
|style="white-space: nowrap;"| 59 BYTES || Unused || Free to use
|}
4
edits