Class RdosDiskFactory
java.lang.Object
com.webcodepro.applecommander.storage.os.rdos.RdosDiskFactory
- All Implemented Interfaces:
DiskFactory
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.webcodepro.applecommander.storage.DiskFactory
DiskFactory.Context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcheck(TrackSectorDevice device) Check for RDOS catalog.voidbooleanlocate(DataBuffer buffer, String search) booleantestCatalogSector(DataBuffer data, int maxBlocks) booleantestForCatalogCode(TrackSectorDevice device, int track, int sector) This is (hopefully) the determinant of correct sector ordering.
-
Constructor Details
-
RdosDiskFactory
public RdosDiskFactory()
-
-
Method Details
-
inspect
- Specified by:
inspectin interfaceDiskFactory
-
check
Check for RDOS catalog. Note that it might be DOS ordered -or- physical sector (13-sector disks). ThetestForCatalogCode()method essentially validates sector ordering is correct. Returns sectors per track (13 or 16). -
testCatalogSector
-
testForCatalogCode
This is (hopefully) the determinant of correct sector ordering. Sector 1 (16-sector image) and 9 (13-sector image) get mapped differently between DO and PO disks. -
locate
-