#SETBANK <num1>,<num2>

<num1> (Usually 1 - 3)
The bank you'd like to move.

<num1> (Any number)
The destination bank. Note that if you pick a bank number higher than the previous filesize divided by 8192 plus one, it will pad unused banks with $FF.

Example

Original File Structure
Bank Number Address Range Data
0 $0000 - $1FFF Song Data 1
1 $2000 - $3FFF Song Data 2
2 $4000 - $5FFF Song Data 3

 
 
 
 
 
 
 
 
 
 
 
 
 

Bankswitched File Structure
Bank Number Address Range Data
0 $0000 - $1FFF Song Data 1
1 $2000 - $3FFF Padded with $FF
2 $4000 - $5FFF Song Data 3
3 $6000 - $7FFF Song Data 2
Unless otherwise stated, the content of this page is licensed under GNU Free Documentation License.