shithub: rgbds

Download patch

ref: e4f4706508307f1a1f7b0efb545a82cad53ade2f
parent: 02fe73d1f38b702b7a94a8b4934eb9e829eb4278
author: ISSOtm <[email protected]>
date: Fri Sep 27 05:34:29 EDT 2019

Add tests for new "known self-bank"

--- /dev/null
+++ b/test/asm/pc-bank.asm
@@ -1,0 +1,7 @@
+SECTION "Fixed bank", ROMX,BANK[42]
+X = BANK(@)
+
+SECTION "Something else", OAM
+Y = BANK("Fixed bank")
+
+    PRINTT "@: {X}\nStr: {Y}\n"