From 1698a8466a0fbc2b3907f78d28e0ec504f943f09 Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Fri, 20 Jun 2025 13:39:54 +0200 Subject: [PATCH] strings: removed objputs --- src/strings.s | 38 -------------------------------------- 1 file changed, 38 deletions(-) diff --git a/src/strings.s b/src/strings.s index 124bd3b..815ee8b 100644 --- a/src/strings.s +++ b/src/strings.s @@ -51,41 +51,3 @@ puts: @done: ret - ; puts strings as objects - ; inputs: - ; hl: the string - ; b/c: y/x origin - ; de: starting object -objputs: - ; write y - ld a, b - add a, OBJ_OFF_Y - ld [de], a - inc de - - ; write x - ld a, c - add a, OBJ_OFF_X - ld [de], a - inc de - - ; move to next tile - ld c, a - - ; write letter - ld a, [hl+]; also advance to next letter - add a, FONT_OFFSET ; need to move to different bank - ld [de], a - inc de - - xor a, a - ld [de], a - inc de - - ; exit check - ld a, [hl] - cp a, 0 - jr nz, objputs REL - -@done: - ret -- 2.30.2