All Packages Class Hierarchy This Package Previous Next Index
Class uk.co.demon.seasip.libdsk.FormatType
java.lang.Object
|
+----uk.co.demon.seasip.libdsk.FormatType
- public class FormatType
- extends Object
This class contains all the format types that LibDsk supports.
-
FMT_1200F
- As FMT_720F, but with 15 sectors per track.
-
FMT_1440F
- As FMT_720F, but with 18 sectors per track.
-
FMT_1440K
- 18 sectors, 2 sides, 80 tracks, 512 byte sectors.
-
FMT_160K
- 8 sectors, 1 side, 40 tracks, 512 byte sectors.
-
FMT_180K
- 9 sectors, 1 side, 40 tracks, 512 byte sectors.
-
FMT_320K
- 8 sectors, 2 sides, 40 tracks, 512 byte sectors.
-
FMT_360K
- 9 sectors, 2 sides, 40 tracks, 512 byte sectors.
-
FMT_720F
- As FMT_720K, but the sides are out-and-back rather than alternating.
-
FMT_720K
- 9 sectors, 2 sides, 80 tracks, 512 byte sectors.
-
FMT_800K
- 10 sectors, 2 sides, 80 tracks, 512 byte sectors.
-
FMT_ACORN160
- 16 sectors, 1 side, 40 tracks, 256 byte sectors.
-
FMT_ACORN1600
- 10 sectors, 2 sides, 80 tracks, 1024 byte sectors.
-
FMT_ACORN320
- 16 sectors, 1 side, 80 tracks, 256 byte sectors.
-
FMT_ACORN640
- 16 sectors, 2 sides, 80 tracks, 256 byte sectors.
-
FMT_ACORN800
- 5 sectors, 2 sides, 80 tracks, 1024 byte sectors.
-
FMT_CPCDATA
- CPC data 180K - as FMT_180K, but sectors start at 0xC1 not 0x01.
-
FMT_CPCSYS
- CPC system 180K - as FMT_180K, but sectors start at 0x41 not 0x01.
-
FormatType()
-
-
stdFormat(int, Geometry, String[])
- Initialise a Geometry object with a standard format.
FMT_180K
public static final int FMT_180K
- 9 sectors, 1 side, 40 tracks, 512 byte sectors.
This corresponds to the standard Spectrum +3 / PCW8256 format, as well as
the PCDOS 180k format.
FMT_CPCSYS
public static final int FMT_CPCSYS
- CPC system 180K - as FMT_180K, but sectors start at 0x41 not 0x01.
FMT_CPCDATA
public static final int FMT_CPCDATA
- CPC data 180K - as FMT_180K, but sectors start at 0xC1 not 0x01.
FMT_720K
public static final int FMT_720K
- 9 sectors, 2 sides, 80 tracks, 512 byte sectors.
This corresponds to the PCW 720k format and the PCDOS 720k format.
FMT_1440K
public static final int FMT_1440K
- 18 sectors, 2 sides, 80 tracks, 512 byte sectors.
This corresponds to the PCDOS / PCW16 1440k formaat.
FMT_160K
public static final int FMT_160K
- 8 sectors, 1 side, 40 tracks, 512 byte sectors.
This corresponds to the PCDOS 1.0 160k format.
FMT_320K
public static final int FMT_320K
- 8 sectors, 2 sides, 40 tracks, 512 byte sectors.
This corresponds to the PCDOS 320k format.
FMT_360K
public static final int FMT_360K
- 9 sectors, 2 sides, 40 tracks, 512 byte sectors.
This corresponds to the PCDOS 160k format.
FMT_720F
public static final int FMT_720F
- As FMT_720K, but the sides are out-and-back rather than alternating.
This format is used by 144FEAT for its CP/M-86 720k format.
FMT_1200F
public static final int FMT_1200F
- As FMT_720F, but with 15 sectors per track.
This format is used by 144FEAT for its CP/M-86 1200k format.
FMT_1440F
public static final int FMT_1440F
- As FMT_720F, but with 18 sectors per track.
This format is used by 144FEAT for its CP/M-86 1440k format.
FMT_ACORN160
public static final int FMT_ACORN160
- 16 sectors, 1 side, 40 tracks, 256 byte sectors.
First sector number is 0. This corresponds to the ADFS 'S' format.
FMT_ACORN320
public static final int FMT_ACORN320
- 16 sectors, 1 side, 80 tracks, 256 byte sectors.
First sector number is 0. This corresponds to the ADFS 'M' format.
FMT_ACORN640
public static final int FMT_ACORN640
- 16 sectors, 2 sides, 80 tracks, 256 byte sectors.
First sector number is 0. This corresponds to the ADFS 'L' format.
FMT_ACORN800
public static final int FMT_ACORN800
- 5 sectors, 2 sides, 80 tracks, 1024 byte sectors.
First sector number is 0. This corresponds to the ADFS 'D' and 'E' formats.
FMT_ACORN1600
public static final int FMT_ACORN1600
- 10 sectors, 2 sides, 80 tracks, 1024 byte sectors.
First sector number is 0. This corresponds to the ADFS 'F' format.
FMT_800K
public static final int FMT_800K
- 10 sectors, 2 sides, 80 tracks, 512 byte sectors.
First sector number is 0. This corresponds to the PCW XCF2DD format.
FormatType
public FormatType()
stdFormat
public static native void stdFormat(int formatId,
Geometry g,
String namedesc[]) throws DskException
- Initialise a Geometry object with a standard format.
- Parameters:
- formatId - One of the format IDs provided by this class.
- g - The Geometry object to initialise. Can be null.
- namedesc - An array of 2 strings, which will be set to the
name and description of the format. Can be null.
- Throws: DskException
- If the format ID is unrecognised.
All Packages Class Hierarchy This Package Previous Next Index