dioscuri.module.parallelport
Class ParallelPort
java.lang.Object
dioscuri.module.AbstractModule
dioscuri.module.ModuleParallelPort
dioscuri.module.parallelport.ParallelPort
- All Implemented Interfaces:
- Addressable, Module
public class ParallelPort
- extends ModuleParallelPort
An implementation of a parallel port module.
- See Also:
Metadata module ********************************************
general.type : parallelport general.name : General Parallel Port
general.architecture : Von Neumann general.description : Models a 25-pin
parallel port general.creator : Tessella Support Services, Koninklijke
Bibliotheek, Nationaal Archief of the Netherlands general.version : 1.0
general.keywords : Parallel port, port, IEEE 1284, Centronics, LPT,
printer general.relations : Motherboard general.yearOfIntroduction :
general.yearOfEnding : general.ancestor : general.successor :
Nested classes/interfaces inherited from interface dioscuri.interfaces.Module |
Module.Type |
Methods inherited from class dioscuri.module.AbstractModule |
getConnection, getConnections, getDebugMode, getDump, 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, getDump, getExpectedConnections, getType, isConnected, setConnection, setDebugMode, start, stop |
ParallelPort
public ParallelPort(Emulator owner)
- Class constructor
- Parameters:
owner
-
reset
public boolean reset()
- Reset all parameters of module.
- Specified by:
reset
in interface Module
- Specified by:
reset
in class AbstractModule
- Returns:
- true iff the AbstractModule was reset properly.
- See Also:
AbstractModule
getIOPortByte
public byte getIOPortByte(int portAddress)
throws UnknownPortException,
WriteOnlyPortException
-
- Returns:
-
- Throws:
UnknownPortException
WriteOnlyPortException
- See Also:
Addressable
setIOPortByte
public void setIOPortByte(int portAddress,
byte data)
throws UnknownPortException
-
- Throws:
UnknownPortException
- See Also:
Addressable
getIOPortWord
public byte[] getIOPortWord(int portAddress)
throws ModuleException,
UnknownPortException,
WriteOnlyPortException
-
- Returns:
-
- Throws:
ModuleException
UnknownPortException
WriteOnlyPortException
- See Also:
Addressable
setIOPortWord
public void setIOPortWord(int portAddress,
byte[] dataWord)
throws ModuleException,
UnknownPortException
-
- Throws:
ModuleException
UnknownPortException
- See Also:
Addressable
getIOPortDoubleWord
public byte[] getIOPortDoubleWord(int portAddress)
throws ModuleException,
UnknownPortException,
WriteOnlyPortException
-
- Returns:
-
- Throws:
ModuleException
UnknownPortException
WriteOnlyPortException
- See Also:
Addressable
setIOPortDoubleWord
public void setIOPortDoubleWord(int portAddress,
byte[] dataDoubleWord)
throws ModuleException,
UnknownPortException
-
- Throws:
ModuleException
UnknownPortException
- See Also:
Addressable