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? | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Ice Ranger

Leever
Level: 23

Posts: 168/183
EXP: 60462
For next: 7261

Since: 03-16-04

Since last post: 82 days
Last activity: 3 days
Posted on 07-17-05 05:38 AM Link | Quote
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).
rg_

Goomba
Level: 8

Posts: 10/26
EXP: 1964
For next: 223

Since: 03-27-05

Since last post: 21 hours
Last activity: 12 hours
Posted on 07-17-05 09:10 PM Link | Quote
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.
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 5840/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 07-17-05 09:47 PM Link | Quote
You should probably use an execution breakpoint, not a read. It's probably just the value of a load instruction.
Ice Ranger

Leever
Level: 23

Posts: 169/183
EXP: 60462
For next: 7261

Since: 03-16-04

Since last post: 82 days
Last activity: 3 days
Posted on 07-20-05 08:36 AM Link | Quote
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?


(edited by Ice Ranger on 07-21-05 10:45 AM)
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
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.012 seconds.