summaryrefslogtreecommitdiff
path: root/home/bankswitch.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/bankswitch.asm')
-rw-r--r--home/bankswitch.asm8
1 files changed, 8 insertions, 0 deletions
diff --git a/home/bankswitch.asm b/home/bankswitch.asm
new file mode 100644
index 0000000..67fae1a
--- /dev/null
+++ b/home/bankswitch.asm
@@ -0,0 +1,8 @@
+SECTION "Bankswitch", ROM0[$32C2]
+
+; Moved to a rst vector in final US releases (not sure about JP)
+; All rst vectors are unused at this point in development
+Bankswitch:: ; 32c2
+ ldh [hROMBank], a
+ ld [MBC3RomBank], a
+ ret