WLADX - need help with HiROM

Discussion of hardware and software development for Super NES and Super Famicom.

Moderator: Moderators

Forum rules
  • For making cartridges of your Super NES games, see Reproduction.
Post Reply
ngevan2k
Posts: 26
Joined: Mon Jan 03, 2011 8:39 am

WLADX - need help with HiROM

Post by ngevan2k »

I was using LoROM mapping all the time with WLADX, but now I need HiROM. I can't figure out why the assembled ROM doesn't work, it just gives me a black screen. Here's my Header:

Code: Select all

.MEMORYMAP
  SLOTSIZE $10000
  DEFAULTSLOT 0
  SLOT 0 $0000
.ENDME

.ROMBANKSIZE $10000
.ROMBANKS 8

.SNESHEADER
  ID "SNES"
  
  NAME "RS-232 SUITE V0.03   "

  HIROM
  FASTROM

  CARTRIDGETYPE $00
  ROMSIZE $08
  SRAMSIZE $00
  COUNTRY $01
  LICENSEECODE $00
  VERSION $00
.ENDSNES

.SNESNATIVEVECTOR
  COP EmptyHandler
  BRK EmptyHandler
  ABORT EmptyHandler
  NMI VBlank
  IRQ EmptyHandler
.ENDNATIVEVECTOR

.SNESEMUVECTOR
  COP EmptyHandler
  ABORT EmptyHandler
  NMI EmptyHandler
  RESET Start
  IRQBRK EmptyHandler
.ENDEMUVECTOR

.BANK 0 SLOT 0
.ORG 0
.SECTION "EmptyVectors" SEMIFREE

EmptyHandler:
       rti

.ENDS

.EMPTYFILL $00
User avatar
koitsu
Posts: 4203
Joined: Sun Sep 19, 2004 9:28 pm
Location: A world gone mad

Re: WLADX - need help with HiROM

Post by koitsu »

.org wrong?
mic_
Posts: 922
Joined: Thu Oct 05, 2006 6:29 am

Re: WLADX - need help with HiROM

Post by mic_ »

Keep in mind that if you use banks $00-$3F to address ROM you can only use offsets $8000-$FFFF. To get the lower 32kB you should use the mirrors starting at bank $40.
ngevan2k
Posts: 26
Joined: Mon Jan 03, 2011 8:39 am

Re: WLADX - need help with HiROM

Post by ngevan2k »

Can someone "spoon-feed" me to the correct parameters, I'm feeling like an airhead today :D
mic_
Posts: 922
Joined: Thu Oct 05, 2006 6:29 am

Re: WLADX - need help with HiROM

Post by mic_ »

ngevan2k
Posts: 26
Joined: Mon Jan 03, 2011 8:39 am

Re: WLADX - need help with HiROM

Post by ngevan2k »

Thanks !
Post Reply