megacommit:
- setup new UI layout using tiling and an action/message based system for updating global state based on interactions with individual tiles and vice versa - added custom dialogs and UI helpers to create a more cohesive UI - added a disassembler widget (WIP) - added a documentation widget (WIP) - refactored backend halt/pause logic to fix bugs. - started emulator implementation documentation (to complement the ISA spec)
This commit is contained in:
@@ -8,7 +8,7 @@ dw COL2: 0xFF00FF00 // green
|
||||
dw COL3: 0xFFFF0000 // blue
|
||||
dw COL4: 0xFF00FFFF // yellow
|
||||
dw COL_IDX: 0
|
||||
|
||||
|
||||
// registers:
|
||||
// rg0 = x position
|
||||
// rg1 = y position
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
include print: "./print.dsa"
|
||||
db msg: "hello world"
|
||||
dw stack: 0x1000
|
||||
dw stack: 0x10000
|
||||
_init:
|
||||
ldw stack, bpr
|
||||
mov bpr, spr
|
||||
|
||||
Binary file not shown.
@@ -121,10 +121,11 @@ print_byte: func
|
||||
|
||||
stb rg0, rg1
|
||||
addi rg1, 1
|
||||
stw rg1, current
|
||||
|
||||
pop rg1
|
||||
pop rg0
|
||||
jmp _end
|
||||
return
|
||||
|
||||
// ------------------------------------------
|
||||
// prints the value of arg[0] to the screen in hex.
|
||||
|
||||
Reference in New Issue
Block a user