diff options
author | U-Fish-PC\Daniel <corrnondacqb@yahoo.com> | 2014-04-12 22:13:13 -0400 |
---|---|---|
committer | U-Fish-PC\Daniel <corrnondacqb@yahoo.com> | 2014-04-12 22:13:13 -0400 |
commit | 029f690fc86ea82b8a4fa4b269e014bdea4e8b45 (patch) | |
tree | 45be1bd24c82027c12bdceeeee36534aeadf26b9 /home.asm | |
parent | bb1fb44098aadec3154b82d1c91a565618e66c2f (diff) |
Music? engine(s)
Diffstat (limited to 'home.asm')
-rwxr-xr-x | home.asm | 22 |
1 files changed, 21 insertions, 1 deletions
@@ -1210,4 +1210,24 @@ Func_377f: ; 377f (0:377f) ret
; 0x3784
-INCBIN "baserom.gbc",$3784,$4000 - $3784
\ No newline at end of file +INCBIN "baserom.gbc",$3784,$3fe0 - $3784
+
+; jumps to 3f:hl
+Bankswitch3dTo3f: ; 3fe0 (0:3fe0)
+ push af
+ ld a, $3f
+ ld [$ff80], a
+ ld [$2000], a
+ pop af
+ ld bc, Bankswitch3d
+ push bc
+ jp [hl]
+
+Bankswitch3d: ; 3fe0 (0:3fe0)
+ ld a, $3d
+ ld [$ff80], a
+ ld [$2000], a
+ ret
+; 0x3ff6
+
+INCBIN "baserom.gbc",$3ff6,$4000 - $3ff6
\ No newline at end of file |