-- PilotFloppyFormat.mesa -- Last edited by: Luniewski/Gobbel, January 31, 1981 10:41 AM DIRECTORY Environment USING [wordsPerPage], FloppyChannel USING [Context]; PilotFloppyFormat: DEFINITIONS = BEGIN -- Constants and locations of physical landmarks for a floppy disk Pilot -- volume -- TYPES FloppyPageNumber: TYPE = CARDINAL; -- Short version of DiskChannel.DiskPageNumber. Assumes #pages on floppy -- is < max short cardinal. FloppyPageCount: TYPE = CARDINAL; -- Short version of DiskChannel.DiskPageNumber. Assumes #pages on floppy -- is < max short cardinal. -- CONSTANTS -- Pilot volumes are supported only on diskettes with IBM (vs. Troy) format -- using the 512-byte sector size option, on double density. Track 0 is -- ignored. Labels begin with track 1, and logical pages visible to Pilot -- follow (and exclude) the labels. A single copy of the labels is assumed -- here; adjust logicalTrack0 and DriveObject's idea of number of cylinders -- for a second copy. firstRealCylinder: CARDINAL = 1; -- Track 0 contains no Pilot data. labelBasePage: FloppyPageNumber = 0; -- Beginning of physical track 1, which is the beginning of addressable -- space. logicalTrack0: CARDINAL = 4 - firstRealCylinder; -- Beginning of physical track 4. This excludes track 0 and the label -- table space. pilotContext: FloppyChannel.Context = [protect: FALSE, format: IBM, density: single, sectorLength: 256]; -- Density is single for Dolphin (temporary), double for Dandelion. track0Context: FloppyChannel.Context = [protect: FALSE, format: IBM, density: single, sectorLength: 64]; wordsPerSector: CARDINAL = Environment.wordsPerPage; END. LOG Time: June 17, 1980 4:42 PM By: Jose Action: Created file. Time: September 15, 1980 2:03 PM By: Jose Action: Added pilotContext. Time: January 19, 1981 10:59 AM By: Luniewski/Gobbel Action: Added FloppyPageCount. Reformatted.