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 TypeMethodDescriptionint
check
(ImageOrder order) Check for RDOS catalog.void
boolean
locate
(DataBuffer buffer, String search) boolean
testCatalogSector
(DataBuffer data, int maxBlocks) boolean
testForCatalogCode
(ImageOrder order, int track, int sector) This is (hopefully) the determinant of correct sector ordering.
-
Constructor Details
-
RdosDiskFactory
public RdosDiskFactory()
-
-
Method Details
-
inspect
- Specified by:
inspect
in interfaceDiskFactory
-
check
Check for RDOS catalog. Note that it might be DOS ordered -or- physical sector (13-sector disks). 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
-