implement rgb macro for palettes

This commit is contained in:
yenatch
2013-01-13 00:38:48 -05:00
parent 61a3d14593
commit 238f406024
2 changed files with 30 additions and 0 deletions

View File

@@ -31,6 +31,10 @@ TX_FAR: MACRO
db BANK(\1)
ENDM
RGB: MACRO
dw ((\3 << 10) | (\2 << 5) | (\1))
ENDM
; eventually replace with python macro
note: MACRO
db \1