|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.kbna.dioscuri.module.Module
nl.kbna.dioscuri.module.ModuleDevice
nl.kbna.dioscuri.module.ModuleVideo
public abstract class ModuleVideo
Interface representing a generic hardware module.
| Constructor Summary | |
|---|---|
ModuleVideo()
|
|
| Method Summary | |
|---|---|
abstract byte |
getAttributePaletteRegister(int index)
Returns a byte from attribute palette register at position index |
abstract byte |
getTextSnapshot(int index)
Returns a byte from text snapshot at position index |
abstract byte[] |
getVideoBuffer()
Returns a pointer to the whole video buffer |
abstract byte |
getVideoBufferByte(int index)
Returns a byte from video buffer at position index |
abstract java.lang.String |
getVideoBufferCharacters()
Returns all characters (as Unicode) that are currently in buffer |
abstract byte |
readMode(int addr)
Video read mode implementations |
abstract void |
setTextSnapshot(int index,
byte data)
Stores a byte in text snapshot at position index |
abstract void |
setVideoBufferByte(int index,
byte data)
Stores a byte in video buffer at position index |
abstract void |
writeMode(int address,
byte data)
Video write mode implementations |
| Methods inherited from class nl.kbna.dioscuri.module.ModuleDevice |
|---|
getIOPortByte, getIOPortDoubleWord, getIOPortWord, getUpdateInterval, setIOPortByte, setIOPortDoubleWord, setIOPortWord, setUpdateInterval, update |
| Methods inherited from class nl.kbna.dioscuri.module.Module |
|---|
getConnection, getData, getDebugMode, getDump, getID, getName, getType, isConnected, isObserved, reset, setConnection, setData, setData, setDebugMode, setObserved, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModuleVideo()
| Method Detail |
|---|
public abstract byte readMode(int addr)
public abstract void writeMode(int address,
byte data)
address - data - public abstract byte[] getVideoBuffer()
public abstract byte getVideoBufferByte(int index)
int - index
public abstract void setVideoBufferByte(int index,
byte data)
int - indexbyte - datapublic abstract java.lang.String getVideoBufferCharacters()
public abstract byte getTextSnapshot(int index)
int - index
public abstract void setTextSnapshot(int index,
byte data)
int - indexbyte - datapublic abstract byte getAttributePaletteRegister(int index)
int - index
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||