edit automata while paused

This commit is contained in:
2019-01-06 19:22:22 +01:00
parent 75e2589091
commit 103965a135
9 changed files with 204 additions and 14 deletions

View File

@@ -1,4 +1,5 @@
INCLUDE "hardware.inc"
INCLUDE "utils.inc"
EMPTY_BG_TILE EQU 17
_VRAM_BG_TILES EQU $9000
@@ -82,11 +83,12 @@ ENDC
ld a, LCDCF_ON
ld [rLCDC], a
ClearAndEnableInterrupts
.mainloop
call StartRender
call UpdateAutomata
call WaitRender
call SwapBuffers
call UpdateJoypad
call EditOldBuffer
call SwapBuffers
jp .mainloop