From 26c0dd1eab195e8e11aef66113ad60b608733649 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Wed, 1 Sep 2021 00:24:45 +0200 Subject: [PATCH] Fix RGBDS version incompatibility --- source/home/text.asm | 4 ++-- source/main.asm | 2 +- source/prog/ezflash_test.asm | 8 ++++---- source/prog/serial_test.asm | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/source/home/text.asm b/source/home/text.asm index bb70a08..dabb205 100644 --- a/source/home/text.asm +++ b/source/home/text.asm @@ -19,7 +19,7 @@ v_font_lowercase: ds 26 tiles section "home/text.asm", rom0 -print:: +prints:: ; hl: String ; de: Tilemap position ld a, [hli] @@ -28,7 +28,7 @@ print:: call lcd_blank_wait ; TODO: Really hackish. ld [de], a inc de - jr print + jr prints print_dec_3digit:: ; a: Number diff --git a/source/main.asm b/source/main.asm index ab24e10..8408202 100644 --- a/source/main.asm +++ b/source/main.asm @@ -14,7 +14,7 @@ main:: ld hl, string_something bgcoord de, (screen_width - string_something.end + string_something + 1) / 2, 2 - call print + call prints jp _halt_ string_something: db "SOMETHING$" diff --git a/source/prog/ezflash_test.asm b/source/prog/ezflash_test.asm index 6407d43..bc0464f 100644 --- a/source/prog/ezflash_test.asm +++ b/source/prog/ezflash_test.asm @@ -26,17 +26,17 @@ prog_ezflash_test:: ld hl, string_title bgcoord de, (screen_width - string_title.end + string_title + 1) / 2, 2 - call print + call prints ld hl, string_write bgcoord de, 2, 5 - call print + call prints ld hl, string_write bgcoord de, 2, 7 - call print + call prints ld hl, string_read bgcoord de, 2, 10 - call print + call prints xor a ld [w_cursor], a diff --git a/source/prog/serial_test.asm b/source/prog/serial_test.asm index 6662535..115bb9f 100644 --- a/source/prog/serial_test.asm +++ b/source/prog/serial_test.asm @@ -13,7 +13,7 @@ prog_serial_test:: ld hl, string_title bgcoord de, (screen_width - string_title.end + string_title + 1) / 2, 2 - call print + call prints call serial_init_master