pause on the start button

This commit is contained in:
2019-01-06 09:15:36 +01:00
parent 99922c35f7
commit 505227d5aa
4 changed files with 104 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ EXPORT Buffer1
SECTION "Automata buffer 1", WRAM0, ALIGN[9]
Buffer1: ds 20 * 18
EXPORT Old
SECTION "Automata data", HRAM
New: ds 1 ; high byte of pointer to bufferX
Old: ds 1 ; high byte of pointer to bufferX
@@ -261,6 +262,12 @@ UpdateAutomata:
.bottomright
ConwayGroup -19, -359, -340, -341, -1, -21, -20, -39
; move buffer address back to beginning
ld hl, Old
dec [hl]
xor a
ldh [Progress], a
ret
EXPORT SwapBuffers, InitAutomata