Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Rom Hacking: hukka | 2 guests
Acmlm's Board - I2 Archive - Rom Hacking - How do I use the psuedo code of FCEUXDSP?
  
User name:
Password:
Reply:
 

UserPost
Ice Ranger
Posts: 169/183
Example:
0x01E276 - Time for the card before level is shown
I set a read-breakpoint on this offset but it's never executed. I'd appreciate it if you could tell me what ROM you use and how to trigger that breakpoint. As soon as I know that I can be more helpful.

Ah, that's the ROM address. I'm not sure where the code to activate that in the RAM is. The RAM address for the card countdown only lasts a short while (I think). Then I think the RAM address is used for something else.

I use 0x****** for ROM addresses and $**** for RAM addresses. It seemed to be the standard someone told me.

EDIT: I downloaded the new version. I didn't notice that in the status bar before. I have it working now. Maybe not the way I intended (I have name before everyline I put something in), but I'll revisit your site for notes on how to do it.

One more question. No matter what the name of the .nes file, you always put in the whole Super Mario Bros. 2 Deluxe.net.*.nl right? Even thought the last part doesn't show up in the status bar when telling you where the bank is?
HyperLamer
Posts: 5840/8210
You should probably use an execution breakpoint, not a read. It's probably just the value of a load instruction.
rg_
Posts: 10/26
Hi, with the new version of FCEUXD SP the "hard part" just became much easier. Among other things the correct number of the NL file for a given address is now displayed in that mouse-over information area below the disassembly window.



The important part is where it says "NL file: 0". That means the information for offset $9659 belongs into the name list file Romfile.nes.0.nl.

Information about RAM offsets belong into the NL file of the bank loaded to $C000. I'll probably add an extra RAM NL file in the next version of FCEUXD SP though.

I'd like to help you more but at first I need to know which version of SMB2 you use. I tried Super Mario Bros 2 (U) (PRG 1).nes and Super Mario Bros 2 (U) (PRG 0).nes but the data from the BMF site doesn't seem to match.

Example:
0x01E276 - Time for the card before level is shown
I set a read-breakpoint on this offset but it's never executed. I'd appreciate it if you could tell me what ROM you use and how to trigger that breakpoint. As soon as I know that I can be more helpful.
Ice Ranger
Posts: 168/183
I've been messing with FCEUXDSP with the conditional breakpoints (it helps a great deal), but I want to use the other features as well. Maybe I just don't know what I'm doing, or even have the right kind of data for the stuff I want to do.

There's a thread over at BMF's data repository for SMB2 with a lot of RAM and ROM addresses. Here's the hard part, I don't know how to determine which bank to use for the pseudo-code that goes along with the game.

I guess a lot of the other people using it for that already know what they're doing so that's the reason I haven't seen this type of thread yet. And yes, I contacted the author and he suggested I post a thread here (since I don't have the available time to chat on ICQ; I check and go on here most of the time).
Acmlm's Board - I2 Archive - Rom Hacking - How do I use the psuedo code of FCEUXDSP?


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.004 seconds.