ref: 145a1c344190be52d75ea8823122a33a9c41823f
parent: 2acc7f378a0a5a43de213d5dd791af3e95a05035
author: Remy Oukaour <remy.oukaour@gmail.com>
date: Fri Dec 29 11:14:02 EST 2017
Define ld_dims for in-order (width, height) pairs
--- a/macros/coords.asm
+++ b/macros/coords.asm
@@ -53,3 +53,8 @@
ld a, [(\2) screenrows + (\1) + \3]
endc
ENDM
+
+ld_dims: MACRO
+; register, width, height
+ lb \1, \3, \2
+ENDM