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