diff options
author | yenatch <yenatch@gmail.com> | 2013-01-13 00:38:48 -0500 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2013-01-13 00:38:48 -0500 |
commit | 238f40602479c43954916a967523d0a873cdd92b (patch) | |
tree | 1da965fcfb0e30be214c7db51968777ce4e824c2 /constants.asm | |
parent | 61a3d1459397800360064ab15adc97012e61c1af (diff) |
implement rgb macro for palettes
Diffstat (limited to 'constants.asm')
-rw-r--r-- | constants.asm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/constants.asm b/constants.asm index c60d4a044..cc9e55474 100644 --- a/constants.asm +++ b/constants.asm @@ -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 |