|
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.sim.tape.AbstractTape
jmce.sim.tape.TapeFile
jmce.sinclair.spectrum.Tape
public class Tape
Tape interface for sinclair spectrum.
Field Summary |
---|
Fields inherited from class jmce.sim.AbstractPeripheral |
---|
cpu |
Constructor Summary | |
---|---|
Tape()
|
Method Summary | |
---|---|
void |
cycle(int n)
Cycle listener. |
void |
registerCPU(CPU cpu)
Register a parent CPU for future reference. |
void |
reset()
Reset the the device to the initial state. |
Methods inherited from class jmce.sim.tape.TapeFile |
---|
addDecoder, getConfig, getCurrentTapeData, getNumTapeData, getTapeData, isPlay, isRecording, nextPulse, play, rec, rewind, setConfig, stop |
Methods inherited from class jmce.sim.tape.AbstractTape |
---|
addTapeEventListener, getPower, notifyPlay, notifyPower, notifyRec, notifyStop, setPower |
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, 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.Peripheral |
---|
idle |
Methods inherited from interface jmce.sim.Hardware |
---|
addHardware, destroy, getHardware, getHardware, getHardware, getHardware, getHardwareCount, getHardwareInstances, getHardwareTree, getName, getParent, init, initSwing, removeHardware, removeHardware, setHardware, setHardware, setName |
Constructor Detail |
---|
public Tape()
Method Detail |
---|
public void reset() throws SIMException
Hardware
reset
in interface Hardware
reset
in class TapeFile
SIMException
public void registerCPU(CPU cpu) throws SIMException
Peripheral
registerCPU
in interface Peripheral
registerCPU
in class AbstractPeripheral
SIMException
public void cycle(int n) throws SIMException
CycleListener
cycle
in interface CycleListener
n
- - The number of microprocessor cycle elapsed from
the last call.
SIMException
CPU.addCycleListener(jmce.sim.CycleListener)
|
jmce - 1_02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |