dioscuri.module
Class ModuleATA
java.lang.Object
dioscuri.module.AbstractModule
dioscuri.module.ModuleATA
- All Implemented Interfaces:
- Addressable, Module, Updateable
- Direct Known Subclasses:
- ATA
public abstract class ModuleATA
- extends AbstractModule
- implements Addressable, Updateable
Abstract class representing a ATA module.
Nested classes/interfaces inherited from interface dioscuri.interfaces.Module |
Module.Type |
Method Summary |
abstract int |
getCurrentChannelIndex()
Gets the current channel index. |
abstract void |
initConfig(int theIdeChannel,
boolean isMaster,
boolean isHardDisk,
boolean isWriteProtected,
int numCylinders,
int numHeads,
int numSectorsPerTrack,
ATATranslationType translationType,
java.lang.String imageFilePath)
Initiate configuration of the disk drive. |
abstract void |
setCmosSettings(int[] bootDrives,
boolean floppySigCheckDisabled)
Set CMOS values |
Methods inherited from class dioscuri.module.AbstractModule |
getConnection, getConnections, getDebugMode, getDump, getExpectedConnections, getType, isConnected, reset, setConnection, setDebugMode, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface dioscuri.interfaces.Module |
getConnection, getConnections, getDebugMode, getDump, getExpectedConnections, getType, isConnected, reset, setConnection, setDebugMode, start, stop |
ModuleATA
public ModuleATA()
initConfig
public abstract void initConfig(int theIdeChannel,
boolean isMaster,
boolean isHardDisk,
boolean isWriteProtected,
int numCylinders,
int numHeads,
int numSectorsPerTrack,
ATATranslationType translationType,
java.lang.String imageFilePath)
- Initiate configuration of the disk drive.
- Parameters:
theIdeChannel
- isMaster
- isHardDisk
- isWriteProtected
- numCylinders
- numHeads
- numSectorsPerTrack
- translationType
- imageFilePath
-
setCmosSettings
public abstract void setCmosSettings(int[] bootDrives,
boolean floppySigCheckDisabled)
- Set CMOS values
- Parameters:
bootDrives
- floppySigCheckDisabled
-
getCurrentChannelIndex
public abstract int getCurrentChannelIndex()
- Gets the current channel index.
- Returns:
- int the current channel index