This page is a mirror of Tepples' nesdev forum mirror (URL TBD).
Last updated on Oct-18-2019 Download

Interactive Debugger/Disassembler for OSX?

Interactive Debugger/Disassembler for OSX?
by on (#46548)
As per the Subject line - does anyone know if one exists? I've searched around the net but turned up nothing yet. There's a couple of command-line disassemblers that I compiled and got working but that's about it.

Thanks,

Neil

by on (#46549)
Mac OS X Intel or Mac OS X PowerPC? I know of a couple, but they're not universal binaries. If Intel, then you might be able to run emulators for Windows in Darwine.

by on (#46551)
Intel running Leopard. :(

I've got Parallels Desktop on my MacBook so I *could* run a Windows-based one. Any recommendations? :)

by on (#46553)
For an interactive disassembler, IDA is a good one. It's a commercial program, but there's a version of it on the site here. I don't know what limits there are in this free version (mostly CPU support I think, but this one supports 6502).
http://nesdev.com/idafw.zip

by on (#46562)
FCEUX and Nintendulator have debuggers.

by on (#46565)
tepples wrote:
FCEUX and Nintendulator have debuggers.

So does NESICIDE.

by on (#46614)
There are ancient 6502 simulators like p65 on Linux/Unix that should compile fairly easily on OSX. Text based, but you can do stuff like check the processor state and step through the operations which is useful for debugging loops and things.
I've been thinking of writing one myself (I use OSX and Linux exclusively), but I haven't decided how I'd want it to work.

by on (#46667)
Memblers wrote:
For an interactive disassembler, IDA is a good one. It's a commercial program, but there's a version of it on the site here. I don't know what limits there are in this free version (mostly CPU support I think, but this one supports 6502).
http://nesdev.com/idafw.zip


Memblers, I had a look at IDA but it seemed to be stuck in 8086 mode, couldn't work out how to switch it to 6502 output. Looked interesting though.

by on (#46752)
neilbaldwin wrote:
Memblers, I had a look at IDA but it seemed to be stuck in 8086 mode, couldn't work out how to switch it to 6502 output. Looked interesting though.


Just tried IDA for the first time and had the same problem.

Change this line in IDA.CFG:
DEFAULT_PROCESSOR = "M6502"

Alternatively you can call the disassembler with the -pm6502 command line switch.

by on (#47004)
miau wrote:
neilbaldwin wrote:
Memblers, I had a look at IDA but it seemed to be stuck in 8086 mode, couldn't work out how to switch it to 6502 output. Looked interesting though.


Just tried IDA for the first time and had the same problem.

Change this line in IDA.CFG:
DEFAULT_PROCESSOR = "M6502"

Alternatively you can call the disassembler with the -pm6502 command line switch.


Ah, thanks miau. I'll give that a try.

by on (#47010)
NESICIDE wrote:
tepples wrote:
FCEUX and Nintendulator have debuggers.

So does NESICIDE.


I'm assuming this IDE is yours. I'm going to download soon and check it out. From the screen shots and what I read. The tool looks pretty good.

by on (#47018)
Gil-Galad wrote:
NESICIDE wrote:
tepples wrote:
FCEUX and Nintendulator have debuggers.

So does NESICIDE.


I'm assuming this IDE is yours. I'm going to download soon and check it out. From the screen shots and what I read. The tool looks pretty good.

Yes it's mine. The version online is very old. The newer version, which I hope to release soon (yeah, I keep saying this) will have sound support, tracker, ability to hook to external compiler/assembler/linker, much better ability to interact with a running ROM (ie. change memory/register capability), etc.

by on (#47040)
NESICIDE wrote:
Yes it's mine. The version online is very old. The newer version, which I hope to release soon (yeah, I keep saying this) will have sound support, tracker, ability to hook to external compiler/assembler/linker, much better ability to interact with a running ROM (ie. change memory/register capability), etc.


I'm also a ROM hacker, so I may try to use it for that purpose as well. Let me know once you get a newer version out.