It is currently Mon Oct 23, 2017 12:15 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 13 posts ] 
Author Message
PostPosted: Tue Jun 07, 2005 11:26 am 
I'm trying to create an IPS file to change gameplay in a ROM.

The rom image is more than 16k and does not use mapper 1 so the NESREV disassembler won't work -- http://www.stud.ntnu.no/~kenth/nesrev/

Some of the features that would help:

- break on game controller reads/writes
- break on rom bank swaps (both data and code banks)
- turn on a flag that marks part of the rom as code for each instruction executed
- Memory reference map showing all locations read from, all locations written to, and all code executed. This would help me to quickly identify things such as title screen code/data, or the code/data used for a particular part of the rom.

I have been using these tools:
- fceu - ok but the debugger lacks functionality
- nesten
- hex editor

Some missing tools:
- call stack listing
- bank map breakpoints (when a new bank of code or data is mapped)
- indentation of code based on control flow instructions (BNE, JMP, BVC)
- ability to name blocks of code (such as 'get controller data')


Top
  
 
 Post subject:
PostPosted: Tue Jun 07, 2005 12:02 pm 
Offline
User avatar

Joined: Fri Nov 12, 2004 2:49 pm
Posts: 7235
Location: Chexbres, VD, Switzerland
Try NESDisassembler, FCEUltra and Nesticle (if you're game runs on Nesticle at all).

_________________
Life is complex: it has both real and imaginary components.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 07, 2005 12:08 pm 
Offline
Site Admin
User avatar

Joined: Mon Sep 20, 2004 6:04 am
Posts: 3471
Location: Indianapolis
Hyde was working on a really good disassembler, I don't think it was released though. But it marked parts of ROM as code and all that nice stuff.

Another option is IDA Pro. There's a free version of it that supports 6502, and the limits in the free version are purely cosmetic IIRC. But it wasn't perfect, I remember having trouble getting Spy Hunter to reassemble after I disassembled it (and Hyde's disassembler had no problems with that game).

Normally I use NESten because it's has nice breakpoint support, and FCEU for the lighter stuff.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 07, 2005 12:37 pm 
Offline
User avatar

Joined: Wed Nov 10, 2004 6:47 pm
Posts: 1845
As for debuggers, you can't beat the one in FCEUXD (special build of FCEU with a massive debugger built-in). Its homepage is down, but I'm sure you can google it.


Top
 Profile  
 
PostPosted: Tue Jun 07, 2005 1:23 pm 
Given that the sourceforge.net page for FCE Ultra looks to be dead (no CVS files, no releases for download), where can we find FCE Ultra as well as FCDUXD?

Links to source code for FCEUXD would help also.


Top
  
 
 Post subject:
PostPosted: Tue Jun 07, 2005 1:43 pm 
Offline
User avatar

Joined: Wed Nov 10, 2004 6:47 pm
Posts: 1845
http://fceuxd.infinihost.net

iirc is the homepage for FCEUXD -- but like I said it's been down for like ever.

My understanding is FCEU has been stopped completely and Xod has started work on a new emu called Nintencer @ http://nintencer.fobby.net/


Old FCEU and FCEUXD can be found on archive sites. Zophar's still has a copy:

http://www.zophar.net/nes.html


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 07, 2005 4:28 pm 
Offline

Joined: Wed Feb 09, 2005 9:31 am
Posts: 418
Disch wrote:
http://fceuxd.infinihost.net

iirc is the homepage for FCEUXD -- but like I said it's been down for like ever.

My understanding is FCEU has been stopped completely and Xod has started work on a new emu called Nintencer @ http://nintencer.fobby.net/


Old FCEU and FCEUXD can be found on archive sites. Zophar's still has a copy:

http://www.zophar.net/nes.html


Is Nintencer worked on by Xodnizel or somebody else? I thought it was somebody else.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 07, 2005 4:39 pm 
Offline
User avatar

Joined: Wed Nov 10, 2004 6:47 pm
Posts: 1845
I think he changed his handle, but it's the same guy


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 07, 2005 4:53 pm 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3064
Location: Brazil
I guess that this brings the answer to you, Disch... 'guest':
http://nesdev.com/bbs/viewtopic.php?t=281

_________________
Zepper
RockNES developer


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 08, 2005 6:34 am 
Offline

Joined: Wed Feb 09, 2005 9:31 am
Posts: 418
Fx3 wrote:
I guess that this brings the answer to you, Disch... 'guest':
http://nesdev.com/bbs/viewtopic.php?t=281


But what does that tell us? The person sounds like they know allot about NES emulator programming, especially with regards to sound emulation, and that was Xodnizel's speciality. The developer is also doing his work on Linux, which was also very much like Xodnizel. But why change to a new alias?

FCE Ultra has always been my favorite as it strikes a good balance between speed, accuracy, game support, user-friendliness, feature support, and portability (us linux guys need emulators too). It would be great to see it get all of the emulator features that people still like in the less accurate emulators: tile viewers, debuggers, etc.


Top
 Profile  
 
PostPosted: Wed Jun 08, 2005 2:08 pm 
Does anyone have instructions on how to compile FCEU or FCEXUD?

Anyone have project files for MSVC to compile/link either one?

Lastly, anyone get either one to compile under linux or knoppix?


Top
  
 
 Post subject:
PostPosted: Sat Jun 11, 2005 9:44 am 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19120
Location: NE Indiana, USA (NTSC)
Jagasian wrote:
The person sounds like they know allot about NES emulator programming, especially with regards to sound emulation, and that was Xodnizel's speciality. The developer is also doing his work on Linux, which was also very much like Xodnizel. But why change to a new alias?

Perhaps one identity has a lot of baggage attached to it. It's possible.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 11, 2005 4:03 pm 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3064
Location: Brazil
Heh, that was funny... :P

_________________
Zepper
RockNES developer


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: romibraman and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group