Allow disc sizes 512MB - 2GB
Detail: s.RamFS50:
- Add patch-through for RamFS_SectorDiscOp
- Put stars next to NZones2 fields in disc record as this needs filling in now
- In InitDiscRec, increase the maximum number of zones to 127 The maximum was previously 16, so this concerns me because I don't know why that was! However, raising the maximum like this give smaller minimum fragment sizes at every size of RAM disc tested, and enables discs bigger than 512MB. (Defined as min frag size in bytes = (idlen + 1) * LFAU size in bytes)
- Also in InitDiscRec, after the algorithm has completed, save only the LSB of the number of zones (r2) in NZones, and save the MSB in NZones2.
s.RamFS15: In MiscOp Mount, don't convert address from sectors to bytes, as it is passed to us in bytes already for this operation.
s.Defns: Enable BigDiscs2 work
Admin: Tested at a variety of sizes, including doing ChangeDynamicArea -RamFSSize nM, then create a file for n = 10 to 900 step 10.
RamFS_SectorDiscOp tested by running *DiscKnight -v RamFS 0 which calls by name and examining sectors through Zap which calls by number. The defect list is incorrect. This will be addressed in a separate commit, for FileCore.
The module has not been tested with a disc size of greater than 928MB.