aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile3
-rw-r--r--main.gbasm6
3 files changed, 4 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index 567609b..b18c1d0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
build/
+recordings/
diff --git a/Makefile b/Makefile
index 00aed1f..78aa670 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,8 @@ build/main.rom: main.gbasm tileset.gbasm dialogues.gbasm
gbasm $< $@
run: build/main.rom
- gb $<
+ mkdir -p recordings
+ gb $< --record-input "./recordings/$(shell date -Iseconds).record"
sameboy: build/main.rom
sameboy build/main.rom
diff --git a/main.gbasm b/main.gbasm
index d9ecd35..55dd8f2 100644
--- a/main.gbasm
+++ b/main.gbasm
@@ -174,11 +174,7 @@ New_Dungeon:
.ENABLE_VBLANK_INTERRUPTS
EI
Wait_for_Interrupt.loop:
- LD A, $reg_interrupt_enable
- LD C, A
- LD B, $00
- LD A, $reg_interrupt_flags
- DBG
+ HALT
EI
JP =Wait_for_Interrupt.loop