aboutsummaryrefslogtreecommitdiff
path: root/main.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2024-08-03 16:12:57 +0900
committerAstatin <astatin@redacted>2024-08-03 16:12:57 +0900
commit6b0db29bfccbdce4ea4a438f2ccb921173f96afa (patch)
tree4058c787d75e6a2ee1e7e1214abb59bb9b137464 /main.gbasm
Initial commit
Diffstat (limited to 'main.gbasm')
-rw-r--r--main.gbasm20
1 files changed, 20 insertions, 0 deletions
diff --git a/main.gbasm b/main.gbasm
new file mode 100644
index 0000000..6b701c8
--- /dev/null
+++ b/main.gbasm
@@ -0,0 +1,20 @@
+.INCLUDE "init.gbasm"
+
+Entrypoint:
+ CALL =Load_Tile
+ CALL =Initialize_Bunny
+
+ EI
+ Wait_for_VRAM.loop:
+ HALT
+ JP =Wait_for_VRAM.loop
+
+VBLANK_Entrypoint:
+ CALL =Pad_Button_Check
+ CALL =Move_Bunny
+ CALL =Display_Bunny
+ RET
+
+.INCLUDE "tiles.gbasm"
+.INCLUDE "bunny.gbasm"
+.INCLUDE "buttons.gbasm"