I have been trying to make a hirom game and I have been able to essentially make a lorom bank in hirom, but I have not been able to use the lower $8000 half of a bank. I read something online and it told me to do something like this but it doesn't work. (all the graphics I am loading are being taken from the wrong place)
The header for the game looks like this
Just so you know, I am using wla DX
(by the way, why is lorom called lorom if it uses the upper $8000 of each bank?)
Code:
.BASE $40
.BANK 4 SLOT 0
.ORG $0000
.SECTION "BG_CharacterData" SEMIFREE
.BANK 4 SLOT 0
.ORG $0000
.SECTION "BG_CharacterData" SEMIFREE
The header for the game looks like this
Code:
.MEMORYMAP ; Tell WLA that the SNES has ROM at locations 0000-$FFFF in every bank
SLOTSIZE $10000 ; and that this area is $10000 bytes in size.
DEFAULTSLOT 0 ; There is only a single slot in SNES, other consoles
SLOT 0 $0000 ; may have more slots per bank.
.ENDME
.ROMBANKSIZE $10000 ; Every ROM bank is 64 KBytes in size, also necessary.
.ROMBANKS 32 ; 16Mbits -- Tells WLA that you want to use 32 ROM banks.
.DEFINE HEADER_OFF $8000
SLOTSIZE $10000 ; and that this area is $10000 bytes in size.
DEFAULTSLOT 0 ; There is only a single slot in SNES, other consoles
SLOT 0 $0000 ; may have more slots per bank.
.ENDME
.ROMBANKSIZE $10000 ; Every ROM bank is 64 KBytes in size, also necessary.
.ROMBANKS 32 ; 16Mbits -- Tells WLA that you want to use 32 ROM banks.
.DEFINE HEADER_OFF $8000
Just so you know, I am using wla DX
(by the way, why is lorom called lorom if it uses the upper $8000 of each bank?)