Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,413,804
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-16-24 05:57 AM
Guest: Register | Login

0 users currently in ROM Hacking | 2 guests

Main - ROM Hacking - MM3/ROM Expansion Question New thread | New reply


RetroRain
Posted on 01-21-08 09:11 AM Link | Quote | ID: 74593


Fuzz Ball
Level: 66

Posts: 30/994
EXP: 2436132
Next: 25719

Since: 09-30-07

Last post: 1925 days
Last view: 947 days
I'm playing around with Mega Man 3. I added a 16K PRG-ROM bank to the ROM. $4000 bytes of 00s at the end of the file, and I updated the header. But the game won't run. Is there anything else that I should be doing? The only thing I can really think of, is that perhaps that $4000 bytes of data is being added on to a bank that is already holding its maximum capacity. By the way, this 16K of space is for graphics. I just want to practice swapping in new graphics into this game.

____________________
My YouTube Channel

smkdan
Posted on 01-21-08 11:07 AM Link | Quote | ID: 74602


Ninji
Level: 36

Posts: 89/238
EXP: 288410
Next: 19700

Since: 05-26-07

Last post: 4052 days
Last view: 4001 days
NES games with CHR-ROM have data stored in PRG banks, then CHR banks. You need to store the new PRG banks before the CHR banks. Also it sounds like you want to add CHR rom, not PRG rom.

As for the game not running:


Two of the 8K ROM banks in the PRG area are switchable.
The other two are "hard-wired" to the last two banks in
the cart


It needs to grab the reset vector from the "hard-wired" banks on reset, which it's probably grabbing from CHR-ROM (in the .nes file, I mean) because the new PRG-ROM data is not where it's supposed to be.

RetroRain
Posted on 01-23-08 06:11 AM Link | Quote | ID: 74773


Fuzz Ball
Level: 66

Posts: 31/994
EXP: 2436132
Next: 25719

Since: 09-30-07

Last post: 1925 days
Last view: 947 days
Thank you, I got it to work.

____________________
My YouTube Channel

Main - ROM Hacking - MM3/ROM Expansion Question New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.019 seconds. (339KB of memory used)
MySQL - queries: 47, rows: 69/70, time: 0.015 seconds.