Method | Description | |
---|---|---|
MainForm ( ) : System |
Constructor
|
|
ProcessKeyPress ( ushort _keyPress ) : void |
Keypress Event. Only triggered by game window!
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
OnCpuError ( CDCPU16 &_cpu ) : void |
OnCpuError Called on DCPU-16 Error
|
|
OnCpuExecutePostStep ( CDCPU16 &_cpu ) : void |
OnCpuExecutePostStep Called after execution of DCPU-16 instruction.
|
Method | Description | |
---|---|---|
BinaryMemoryDump ( ) : void |
TEMP function Dumps Binary data to BinaryDumptextBox
|
|
CycleTimer_Tick ( object sender, EventArgs e ) : void |
DCPU-16 Cycle timer. Cheap way of calculating DCPU-16's current freq.
|
|
DrawToFrameBuffer ( ) : void |
Draw Text buffer to our bitmap Framebuffer.
|
|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
LoadFontFromImagelist ( ) : void |
Load Font (Which is stored in FontimageList.Images[0] Into a simple int array buffer, as it'll be easier to use.
|
|
ResetFrameBuffer ( ) : void |
nasty clear framebuffer via destorying it <_<
|
|
aboutDCPU16ASMNETToolStripMenuItem_Click ( object sender, EventArgs e ) : void |
Main Menu Help->About
|
|
asemblerToolStripMenuItem_Click ( object sender, EventArgs e ) : void |
Main Menu Assembler option
|
|
assemblerToolStripMenuItem_Click ( object sender, EventArgs e ) : void |
Assembler editor
|
|
button1_Click ( object sender, EventArgs e ) : void |
Start DCPU-16 Emulation button On click event
|
|
button2_Click ( object sender, EventArgs e ) : void |
Stop DCPU-16 Emulation button On click event
|
|
button3_Click ( object sender, EventArgs e ) : void |
DCPU-16 Reset button on click event
|
|
button4_Click ( object sender, EventArgs e ) : void |
Launch User window this window we can capture key inputs!
|
|
checkBox1_Click ( object sender, EventArgs e ) : void |
Check box change
|
|
checkBox2_CheckedChanged ( object sender, EventArgs e ) : void | ||
exitToolStripMenuItem_Click ( object sender, EventArgs e ) : void |
Main Menu File->exit menu Close.
|
|
fontEditorToolStripMenuItem_Click ( object sender, EventArgs e ) : void |
Font Editor
|
|
loadCompiledBinaryToolStripMenuItem_Click ( object sender, EventArgs e ) : void |
Main Menu file->Load Compiled Binary
|
|
pictureBox1_Paint ( object sender, PaintEventArgs e ) : void |
Picture box On paint event
|
|
timer1_Tick ( object sender, EventArgs e ) : void |
UI Component update timer. updates every 16ms.
|
|
trackBar1_Scroll ( object sender, EventArgs e ) : void |
DCPU-16 Freq Trackbar Scroll event.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
protected OnCpuError ( CDCPU16 &_cpu ) : void | ||
_cpu | CDCPU16 | Reference to existing DCPU-16 object |
return | void |
protected OnCpuExecutePostStep ( CDCPU16 &_cpu ) : void | ||
_cpu | CDCPU16 | Reference to existing DCPU-16 object |
return | void |
public ProcessKeyPress ( ushort _keyPress ) : void | ||
_keyPress | ushort | |
return | void |