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

0 users currently in ROM Hacking | 2 guests

Main - ROM Hacking - How do I redirect code in a expanded NES rom? New thread | New reply


Hamtaro126
Posted on 10-01-07 03:14 AM Link | Quote | ID: 66791


Cheep-cheep
Level: 33

Posts: 29/194
EXP: 212801
Next: 16378

Since: 05-02-07
From: Shelton, WA

Last post: 2470 days
Last view: 2313 days
I am using Nflate and SMB3, But for some reason, There is no use of it yet because I do not know how to make the program code redirect to the expanded ROM space without trouble!

Do I have to do this?:

LDA $#0x ; <----- Bank where the Expanded ROM is kept
JSR (or JMP) $xxxx ; Redirect to the expanded ROM space

Or do I have to do it some other way?

____________________
Mah boi, romhacking is what all true warriors strive for!

I wonder what's for dinner?

smkdan
Posted on 10-01-07 05:51 AM Link | Quote | ID: 66810


Ninji
Level: 36

Posts: 77/238
EXP: 288599
Next: 19511

Since: 05-26-07

Last post: 4060 days
Last view: 4009 days
I suppose by expanding the ROM you added extra banks to it. To switch them, look up the info on the mapper it uses (MMC3?) and see how it switches banks. You'd write a bank # and whatever other details to the mapper from program in an area that isn't to be switched. That's all I can say. There's mapper info on RHDN if you need it.

Main - ROM Hacking - How do I redirect code in a expanded NES rom? New thread | New reply

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

Page rendered in 0.017 seconds. (339KB of memory used)
MySQL - queries: 42, rows: 63/64, time: 0.014 seconds.