Add support for 2k and 4k sector sizes
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 combinations of a 1 zone fixed disc, and why for 2k and 4k sectors this is rejected. Test/BigSectors: Patch to apply to RAMFS to make it a 4k filing system. Note, the smallest 2 zone RAM disc with 4k sectors is 4052kB, in which case the map is at +3F0000; copy at +3F2000; root directory object at +3F4000. Version 3.63. Tagged as 'FileCore-3_63'
Showing with 271 additions and 88 deletions