|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dioscuri.module.AbstractModule dioscuri.module.ModuleVideo
public abstract class ModuleVideo
Abstract class representing a generic video 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 | |
---|---|
ModuleVideo()
|
Method Summary | |
---|---|
abstract int[] |
determineScreenSize()
Determine the screen size in pixels |
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 address)
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 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.Addressable |
---|
getIOPortByte, getIOPortDoubleWord, getIOPortWord, setIOPortByte, setIOPortDoubleWord, setIOPortWord |
Methods inherited from interface dioscuri.interfaces.Updateable |
---|
getUpdateInterval, setUpdateInterval, update |
Methods inherited from interface dioscuri.interfaces.Module |
---|
getConnection, getConnections, getDebugMode, getDump, getExpectedConnections, getType, isConnected, reset, setConnection, setDebugMode, start, stop |
Constructor Detail |
---|
public ModuleVideo()
Method Detail |
---|
public abstract byte readMode(int address)
address
-
public abstract void writeMode(int address, byte data)
address
- data
- public abstract int[] determineScreenSize()
public abstract byte[] getVideoBuffer()
public abstract byte getVideoBufferByte(int index)
index
-
public abstract void setVideoBufferByte(int index, byte data)
index
- data
- public abstract java.lang.String getVideoBufferCharacters()
public abstract byte getTextSnapshot(int index)
index
-
public abstract void setTextSnapshot(int index, byte data)
index
- data
- public abstract byte getAttributePaletteRegister(int index)
index
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |