From a69ff95615b9ef4ed1ef2e0dbe42bf64b36e25b0 Mon Sep 17 00:00:00 2001 From: Astatin Date: Thu, 31 Oct 2024 15:04:01 +0900 Subject: Add font and Print_str routine --- main.gbasm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'main.gbasm') 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 -- cgit v1.2.3-70-g09d2