Class RdosDiskFactory

java.lang.Object
com.webcodepro.applecommander.storage.os.rdos.RdosDiskFactory
All Implemented Interfaces:
DiskFactory

public class RdosDiskFactory extends Object implements DiskFactory
  • Constructor Details

    • RdosDiskFactory

      public RdosDiskFactory()
  • Method Details

    • inspect

      public void inspect(DiskFactory.Context ctx)
      Specified by:
      inspect in interface DiskFactory
    • check

      public int check(ImageOrder order)
      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

      public boolean testCatalogSector(DataBuffer data, int maxBlocks)
    • testForCatalogCode

      public boolean testForCatalogCode(ImageOrder order, int track, int sector)
      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

      public boolean locate(DataBuffer buffer, String search)