Lem1802

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

attachEmulator
void attachEmulator(Emulator!Cpu emulator)
Undocumented in source. Be warned that the author may not have intended to support it.
bitmap
Bitmap bitmap()
Undocumented in source. Be warned that the author may not have intended to support it.
clearScreen
void clearScreen()
Undocumented in source. Be warned that the author may not have intended to support it.
commitFrame
void commitFrame(ulong frameNumber)
Undocumented in source. Be warned that the author may not have intended to support it.
discardFrame
void discardFrame()
Undocumented in source. Be warned that the author may not have intended to support it.
discardUndoStack
void discardUndoStack()
Undocumented in source. Be warned that the author may not have intended to support it.
drawBorder
void drawBorder()
Undocumented in source. Be warned that the author may not have intended to support it.
drawCell
void drawCell(size_t x, size_t y, uint foreColor, uint backColor, uint charData)
Undocumented in source. Be warned that the author may not have intended to support it.
drawChar
void drawChar(ushort charData, size_t x, size_t y)
Undocumented in source. Be warned that the author may not have intended to support it.
drawSplash
void drawSplash()
Undocumented in source. Be warned that the author may not have intended to support it.
dumpFont
void dumpFont(ushort b)
Undocumented in source. Be warned that the author may not have intended to support it.
dumpPalette
void dumpPalette(ushort b)
Undocumented in source. Be warned that the author may not have intended to support it.
fillCell
void fillCell(size_t x, size_t y, uint color)
Undocumented in source. Be warned that the author may not have intended to support it.
handleInterrupt
uint handleInterrupt()

Handles hardware interrupt and returns a number of cycles.

handleUpdateQuery
void handleUpdateQuery(ulong delay)
Undocumented in source. Be warned that the author may not have intended to support it.
hardwareId
uint hardwareId()
hardwareVersion
ushort hardwareVersion()
manufacturer
uint manufacturer()
mapFont
void mapFont(ushort b)
Undocumented in source. Be warned that the author may not have intended to support it.
mapPalette
void mapPalette(ushort b)
Undocumented in source. Be warned that the author may not have intended to support it.
mapScreen
void mapScreen(ushort b)
Undocumented in source. Be warned that the author may not have intended to support it.
paletteToRGB8
uint paletteToRGB8(ushort colorIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
repaintScreen
void repaintScreen()
Undocumented in source. Be warned that the author may not have intended to support it.
setBorderColor
void setBorderColor(ushort b)
Undocumented in source. Be warned that the author may not have intended to support it.
undoFrames
void undoFrames(ulong numFrames)
Undocumented in source. Be warned that the author may not have intended to support it.
undoStackSize
size_t undoStackSize()
Undocumented in source. Be warned that the author may not have intended to support it.
updateFrame
void updateFrame()

Called every application frame. Can be used to update screens.

Manifest constants

borderSize
enum borderSize;
Undocumented in source.
charHeight
enum charHeight;
Undocumented in source.
charWidth
enum charWidth;
Undocumented in source.
numCols
enum numCols;
Undocumented in source.
numRows
enum numRows;
Undocumented in source.
screenHeight
enum screenHeight;
Undocumented in source.
screenWidth
enum screenWidth;
Undocumented in source.

Variables

_bitmap
Bitmap _bitmap;
Undocumented in source.
_dcpu
Cpu* _dcpu;
Undocumented in source.
_emulator
Emulator!Cpu _emulator;
Undocumented in source.
blinkInterval
uint blinkInterval;
Undocumented in source.
regs
UndoableStruct!(Lem1802Registers, ushort) regs;
Undocumented in source.
showSplash
bool showSplash;
Undocumented in source.
splashDelay
uint splashDelay;
Undocumented in source.

Meta