• Robert Sprowson's avatar
    Add support for 2k and 4k sector sizes · 38a141ba
    Robert Sprowson authored
    s/Commands:
    Make sure the defect list (via *DEFECT) does a read/modify/write of the boot block on 2k and 4k drives.
    The checksum generation code was largely common and although commented to be called as though it was common wasn't actually due to a cut and paste mistake on label 37. Deleted common/uncalled code.
    s/DebugOpts; s/FileCore15:
    Peripheral changes.
    s/FileCore20:
    Read in the defect list via an intermediate buffer then copy out into the dynamic area.
    s/FileCore70:
    Declare the buffer size as 4k to FileSwitch, internally FileCore expresses this in a single byte * 32 so is now at the limit of the range of FcbBufSz.
    s/FileCore80:
    Perform transfers in the foreground when the sector size exceeds FileCore's 1k buffers. It's not worth bothering.
    s/FormSWIs; s/Identify:
    Vet and reject attempts to layout invalid zone/sector size combos (see Doc/1Zone).
    Doc/MiscOp:
    Correct a couple of calculation mistakes.
    Doc/1Zone:
    New documentation detailing the possible valid combin...
    38a141ba
FormSWIs 52.2 KB