diff options
author | Astatin <[email protected]> | 2024-10-31 15:04:01 +0900 |
---|---|---|
committer | Astatin <[email protected]> | 2024-10-31 15:04:01 +0900 |
commit | a69ff95615b9ef4ed1ef2e0dbe42bf64b36e25b0 (patch) | |
tree | 805f8f0ab1274df6d89fcf8ea1f46643b47e941a /main.gbasm | |
parent | e4507824c03030e7f1f11483f400335ae668424a (diff) |
Add font and Print_str routine
Diffstat (limited to 'main.gbasm')
-rw-r--r-- | main.gbasm | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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 |