|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object extended by dioscuri.module.AbstractModule extended by dioscuri.module.ModuleParallelPort extended by dioscuri.module.parallelport.ParallelPort
public class ParallelPort
An implementation of a parallel port module.
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 | |
---|---|
ParallelPort(Emulator owner)
Class constructor |
Method Summary | |
---|---|
byte |
getIOPortByte(int portAddress)
|
byte[] |
getIOPortDoubleWord(int portAddress)
|
byte[] |
getIOPortWord(int portAddress)
|
boolean |
reset()
Reset all parameters of module. |
void |
setIOPortByte(int portAddress,
byte data)
|
void |
setIOPortDoubleWord(int portAddress,
byte[] dataDoubleWord)
|
void |
setIOPortWord(int portAddress,
byte[] dataWord)
|
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 |
Constructor Detail |
---|
public ParallelPort(Emulator owner)
owner
- Method Detail |
---|
public boolean reset()
reset
in interface Module
reset
in class AbstractModule
AbstractModule
public byte getIOPortByte(int portAddress) throws UnknownPortException, WriteOnlyPortException
UnknownPortException
WriteOnlyPortException
Addressable
public void setIOPortByte(int portAddress, byte data) throws UnknownPortException
UnknownPortException
Addressable
public byte[] getIOPortWord(int portAddress) throws ModuleException, UnknownPortException, WriteOnlyPortException
ModuleException
UnknownPortException
WriteOnlyPortException
Addressable
public void setIOPortWord(int portAddress, byte[] dataWord) throws ModuleException, UnknownPortException
ModuleException
UnknownPortException
Addressable
public byte[] getIOPortDoubleWord(int portAddress) throws ModuleException, UnknownPortException, WriteOnlyPortException
ModuleException
UnknownPortException
WriteOnlyPortException
Addressable
public void setIOPortDoubleWord(int portAddress, byte[] dataDoubleWord) throws ModuleException, UnknownPortException
ModuleException
UnknownPortException
Addressable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |