jmce - 1_02

jmce.sim.terminal
Class VT100

java.lang.Object
  extended by jmce.sim.AbstractHardware
      extended by jmce.sim.AbstractPeripheral
          extended by jmce.sim.Device<java.lang.Integer>
              extended by jmce.sim.Serial
                  extended by jmce.sim.terminal.Terminal
                      extended by jmce.sim.terminal.SampleTerminal
                          extended by jmce.sim.terminal.VT100
All Implemented Interfaces:
Console, Hardware, Peripheral

public class VT100
extends SampleTerminal

Terminal VT100

Only a subset of the original VT100 is supported

Supported sequence :

  ESC[0m                Normal attribute.
  ESC[1m                Intense attribute.
  ESC[7m                Reverse attribute.
  ESC[2J                Clear screen.
  ESC[0J                Clear end of screen.
  ESC[row;colH  Set cursor position.
  ESC[row;colf  Set cursor position
  ESC[M         Delete line.
  ESC[L         Insert line.
  ESC[0K                Clear to end of line.

  Special sequence to support ladder under CP/M :
  
  ESC*            Set the cursor to R,C base 1
 

Version:
1.00
Author:
Mario Viara

Field Summary
 
Fields inherited from class jmce.sim.terminal.SampleTerminal
abortKey
 
Fields inherited from class jmce.sim.terminal.Terminal
BLINK, HI, NORMAL, REVERSE, SPACE, UNDERLINE
 
Fields inherited from class jmce.sim.AbstractPeripheral
cpu
 
Constructor Summary
VT100()
           
 
Method Summary
 void putchar(int c)
           
 
Methods inherited from class jmce.sim.terminal.SampleTerminal
clearEol, clearEos, clearFromLine, clearToCursor, cls, defineFunctionKey, defineFunctionKey, deleteChar, deleteLine, down, getAbortKey, getAtt, getAtt, getAtt, getAttMemory, getChar, getChar, getCharMemory, getCol, getCursor, getEchoFile, getFont, getFontSize, getFunctionKey, getNumCol, getNumRow, getNumStatus, getRow, getScreenSize, getWindowSize, home, init, insertChar, insertChar, insertLine, left, printStatusLine, reset, restoreCursor, right, saveCursor, scrollDown, scrollUp, setAbortKey, setAtt, setChar, setChar, setCursor, setDefaultCRT, setDefaultCRT, setEchoFile, setFont, setFontSize, setNumCol, setNumRow, setNumStatus, setStatusLine, toString, up, write
 
Methods inherited from class jmce.sim.terminal.Terminal
createTerminal
 
Methods inherited from class jmce.sim.Serial
print, println, println
 
Methods inherited from class jmce.sim.Device
addInputConsumer, addInputProducer, addOutputConsumer, addOutputProducer, getConnected, read, readOutput, readyRead, readyReadOutput, readyWrite, removeInputConsumer, removeOutputConsumer, setConnected, writeInput
 
Methods inherited from class jmce.sim.AbstractPeripheral
idle, registerCPU, setIdle, setLive
 
Methods inherited from class jmce.sim.AbstractHardware
addHardware, createFrame, destroy, getHardware, getHardware, getHardware, getHardware, getHardware, getHardwareCount, getHardwareForName, getHardwareInstances, getHardwareTree, getName, getParent, initSwing, removeHardware, removeHardware, setHardware, setHardware, setName
 
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, initSwing, removeHardware, removeHardware, setHardware, setHardware, setName
 

Constructor Detail

VT100

public VT100()
Method Detail

putchar

public void putchar(int c)
             throws SIMException
Specified by:
putchar in interface Console
Overrides:
putchar in class SampleTerminal
Throws:
SIMException

jmce - 1_02