|
jmce - 1_02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjmce.sim.AbstractHardware
jmce.sim.AbstractPeripheral
jmce.philips.SAA5050
public class SAA5050
Teletext characters generator Malland SAA5050
Can generate 96 alphanumeric and 64 ghaphics character. In addtition the first 32 character are used as control to determine the attribute of the character.
00 Unused 10 Unused 01 Alpha Red 11 Graphics Red 02 Alpha Green 12 Graphics Green 03 Alpha Yellow 13 Graphics Yellow 04 Alpha Blue 14 Graphics Blue 05 Alpha Magenta 15 Graphics Magenta 06 Alpha Cyan 16 Graphics Cyan 07 Alpha White* 17 Graphics White 08 Flash 18 Conceal Display 09 Steady(1) 19 Contiguous Graphics(1) 0A End Box(1) 1A Separated Graphics 0B Start Box 1B Unused 0C Normal Height(1) 1C Black Background 0D Double Height 1D New Background 0E Unused 1E Hold Graphics 0F Unused 1F Release Graphics(1) (1) Default setting
dotSize Set the size in pixel of a single dot. Default is 2.
Field Summary | |
---|---|
static java.awt.Color[] |
colors
|
Fields inherited from class jmce.sim.AbstractPeripheral |
---|
cpu |
Constructor Summary | |
---|---|
SAA5050()
|
Method Summary | |
---|---|
java.awt.Component |
getComponent()
|
int |
getScroll()
Get the scroll register. |
void |
registerCPU(CPU cpu)
Register a parent CPU for future reference. |
void |
setAddress(int a)
|
void |
setMemory(Memory m)
|
void |
setScroll(int scroll)
Set the scroll register. |
void |
writeMemory(Memory m,
int address,
int value,
int oldValue)
Called when a memory write event occours. |
Methods inherited from class jmce.sim.AbstractPeripheral |
---|
idle, setIdle, setLive |
Methods inherited from class jmce.sim.AbstractHardware |
---|
addHardware, createFrame, destroy, getHardware, getHardware, getHardware, getHardware, getHardware, getHardwareCount, getHardwareForName, getHardwareInstances, getHardwareTree, getName, getParent, init, initSwing, removeHardware, removeHardware, reset, setHardware, setHardware, setName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface jmce.sim.Hardware |
---|
addHardware, destroy, getHardware, getHardware, getHardware, getHardware, getHardwareCount, getHardwareInstances, getHardwareTree, getName, getParent, init, initSwing, removeHardware, removeHardware, reset, setHardware, setHardware, setName |
Field Detail |
---|
public static final java.awt.Color[] colors
Constructor Detail |
---|
public SAA5050()
Method Detail |
---|
public void setMemory(Memory m)
public void setAddress(int a)
public java.awt.Component getComponent()
getComponent
in interface SwingHardware
public int getScroll()
public void setScroll(int scroll)
The scroll register determine the first character that will be displayed.
public void registerCPU(CPU cpu) throws SIMException
Peripheral
registerCPU
in interface Peripheral
registerCPU
in class AbstractPeripheral
SIMException
public void writeMemory(Memory m, int address, int value, int oldValue) throws SIMException
MemoryWriteListener
This method is called when a memory write operation occours in the specified memory.
writeMemory
in interface MemoryWriteListener
m
- - Memory involved in the write operation.address
- - Address written.value
- - Value written.oldValue
- - Old value of this memory location.
SIMException
|
jmce - 1_02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |