hldims, bcdims, dedims

This commit is contained in:
Remy Oukaour 2017-12-29 16:15:34 -05:00
parent 145a1c3441
commit 1321a70029

View File

@ -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