From 1321a700293341dd9bc33ba0637e475f209cce91 Mon Sep 17 00:00:00 2001 From: Remy Oukaour Date: Fri, 29 Dec 2017 16:15:34 -0500 Subject: [PATCH] hldims, bcdims, dedims --- macros/coords.asm | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/macros/coords.asm b/macros/coords.asm index 1eccd9139..69e85c90b 100644 --- a/macros/coords.asm +++ b/macros/coords.asm @@ -27,6 +27,15 @@ bgcoord: MACRO endc ENDM +hldims EQUS "dims hl," +bcdims EQUS "dims bc," +dedims EQUS "dims de," + +dims: MACRO +; register, width, height + lb \1, \3, \2 +ENDM + dwcoord: MACRO ; x, y rept _NARG / 2 @@ -53,8 +62,3 @@ lda_coord: MACRO ld a, [(\2) screenrows + (\1) + \3] endc ENDM - -ld_dims: MACRO -; register, width, height - lb \1, \3, \2 -ENDM