summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2018-05-31 13:43:22 -0500
committerdannye <33dannye@gmail.com>2018-05-31 13:43:22 -0500
commit026d17d42ba271d384f9e5d5ca2287cf0d1bc8b2 (patch)
tree63cf7d895ac25b403ca32b55ffed87fee8381033 /macros
parent89dfeeb4ee577c79f2bd6f2cd5d7bdaf24bb0aa2 (diff)
Add super palette data
Diffstat (limited to 'macros')
-rw-r--r--macros/data.asm4
1 files changed, 4 insertions, 0 deletions
diff --git a/macros/data.asm b/macros/data.asm
index 241e52a..aa7233d 100644
--- a/macros/data.asm
+++ b/macros/data.asm
@@ -127,3 +127,7 @@ rept \1
x = x + DIV(32768, \1) ; a circle has 65536 "degrees"
endr
ENDM
+
+RGB: MACRO
+ dw (\3 << 10 | \2 << 5 | \1)
+ENDM