aboutsummaryrefslogtreecommitdiff
path: root/main.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2024-10-31 15:04:01 +0900
committerAstatin <[email protected]>2024-10-31 15:04:01 +0900
commita69ff95615b9ef4ed1ef2e0dbe42bf64b36e25b0 (patch)
tree805f8f0ab1274df6d89fcf8ea1f46643b47e941a /main.gbasm
parente4507824c03030e7f1f11483f400335ae668424a (diff)
Add font and Print_str routine
Diffstat (limited to 'main.gbasm')
-rw-r--r--main.gbasm10
1 files changed, 9 insertions, 1 deletions
diff --git a/main.gbasm b/main.gbasm
index 3462f72..d8c3c92 100644
--- a/main.gbasm
+++ b/main.gbasm
@@ -21,6 +21,9 @@ New_Dungeon:
HALT
JP =Wait_for_VRAM.loop
+Text_Astatin:
+ .DB 0x8a, 0x9c, 0x9d, 0x8a, 0x9d, 0x92, 0x97, 0xff
+
VBLANK_Entrypoint:
; Window enable
LD A, $reg_lcd_controller
@@ -37,7 +40,12 @@ VBLANK_Entrypoint:
CALL =Print_8bit
LD A, $68
- LD (HL), A
+ LD (HL+), A
+
+ INC HL
+
+ LD BC, =Text_Astatin
+ CALL =Print_str
CALL =Display_Prepared_Block
CALL =Display_Object