summaryrefslogtreecommitdiff
path: root/macros.asm
diff options
context:
space:
mode:
Diffstat (limited to 'macros.asm')
-rw-r--r--macros.asm4
1 files changed, 4 insertions, 0 deletions
diff --git a/macros.asm b/macros.asm
index b71a5dd9..c4318278 100644
--- a/macros.asm
+++ b/macros.asm
@@ -262,6 +262,10 @@ dbw: MACRO
dw \2
ENDM
+dba: MACRO
+ dbw BANK(\1), \1
+ ENDM
+
; data format macros
RGB: MACRO
dw (\3 << 10 | \2 << 5 | \1)