Define ld_dims for in-order (width, height) pairs

This commit is contained in:
Remy Oukaour 2017-12-29 16:14:02 -05:00
parent 2acc7f378a
commit 145a1c3441

View File

@ -53,3 +53,8 @@ lda_coord: MACRO
ld a, [(\2) screenrows + (\1) + \3]
endc
ENDM
ld_dims: MACRO
; register, width, height
lb \1, \3, \2
ENDM