| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdioscuri.module.AbstractModule
dioscuri.module.ModuleATA
dioscuri.module.ata.ATA
public class ATA
An implementation of a ATA controller module.
      Metadata module ********************************************
      general.type : ata general.name : ATA Controller / ATA-1 to ATAT-3
      general.architecture : Von Neumann general.description : Implements a
      standard Integrated Drive Electronic (IDE) controller / parallel ATA
      general.creator : Tessella Support Services, Koninklijke Bibliotheek,
      Nationaal Archief of the Netherlands general.version : 1.0
      general.keywords : IDE, ATA, storage, disk, controller general.relations
      : motherboard general.yearOfIntroduction : 1994 general.yearOfEnding :
      1999 general.ancestor : - general.successor : ATA-2 (EIDE)
      
      Notes: none| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from interface dioscuri.interfaces.Module | 
|---|
| Module.Type | 
| Field Summary | 
|---|
| Fields inherited from class dioscuri.module.AbstractModule | 
|---|
| type | 
| Constructor Summary | |
|---|---|
| ATA(Emulator owner)Class constructor | |
| Method Summary | |
|---|---|
|  int | getCurrentChannelIndex()Gets the current channel index. | 
|  java.lang.String | getDump()Return a dump of module status | 
|  byte | getIOPortByte(int originalPortAddress) | 
|  byte[] | getIOPortDoubleWord(int portAddress) | 
|  byte[] | getIOPortWord(int portAddress) | 
|  int | getUpdateInterval()Get the update interval. | 
|  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. | 
|  boolean | reset()Reset all parameters of module. | 
|  void | setCmosSettings(int[] bootDrives,
                boolean floppySigCheckDisabled)Set CMOS values | 
|  void | setIOPortByte(int originalAddress,
              byte data) | 
|  void | setIOPortDoubleWord(int portAddress,
                    byte[] dataDoubleWord) | 
|  void | setIOPortWord(int portAddress,
              byte[] dataWord) | 
|  void | setUpdateInterval(int interval)Defines the interval between subsequent updates | 
|  void | update()Update the module. | 
| Methods inherited from class dioscuri.module.AbstractModule | 
|---|
| getConnection, getConnections, getDebugMode, getExpectedConnections, getType, isConnected, 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, getExpectedConnections, getType, isConnected, setConnection, setDebugMode, start, stop | 
| Constructor Detail | 
|---|
public ATA(Emulator owner)
owner - | Method Detail | 
|---|
public boolean reset()
reset in interface Modulereset in class AbstractModuleAbstractModulepublic java.lang.String getDump()
getDump in interface ModulegetDump in class AbstractModuleAbstractModulepublic void setUpdateInterval(int interval)
interval - the interval between subsequent updates in ms.Updateablepublic void update()
Updateable
public byte getIOPortByte(int originalPortAddress)
                   throws ModuleException,
                          UnknownPortException,
                          WriteOnlyPortException
ModuleException
UnknownPortException
WriteOnlyPortExceptionAddressable
public void setIOPortByte(int originalAddress,
                          byte data)
                   throws ModuleException,
                          UnknownPortException
ModuleException
UnknownPortExceptionAddressable
public byte[] getIOPortWord(int portAddress)
                     throws ModuleException,
                            UnknownPortException,
                            WriteOnlyPortException
ModuleException
UnknownPortException
WriteOnlyPortExceptionAddressable
public void setIOPortWord(int portAddress,
                          byte[] dataWord)
                   throws ModuleException,
                          UnknownPortException
ModuleException
UnknownPortExceptionAddressable
public byte[] getIOPortDoubleWord(int portAddress)
                           throws ModuleException,
                                  UnknownPortException,
                                  WriteOnlyPortException
ModuleException
UnknownPortException
WriteOnlyPortExceptionAddressable
public void setIOPortDoubleWord(int portAddress,
                                byte[] dataDoubleWord)
                         throws ModuleException,
                                UnknownPortException
ModuleException
UnknownPortExceptionAddressable
public void initConfig(int theIdeChannel,
                       boolean isMaster,
                       boolean isHardDisk,
                       boolean isWriteProtected,
                       int numCylinders,
                       int numHeads,
                       int numSectorsPerTrack,
                       ATATranslationType translationType,
                       java.lang.String imageFilePath)
initConfig in class ModuleATAModuleATA
public void setCmosSettings(int[] bootDrives,
                            boolean floppySigCheckDisabled)
setCmosSettings in class ModuleATAModuleATApublic int getCurrentChannelIndex()
getCurrentChannelIndex in class ModuleATAModuleATApublic int getUpdateInterval()
Updateable| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||