News: 11 March 2016 - Forum Rules

Author Topic: NES assemblers and disassemblers  (Read 3560 times)

Pikachumanson

  • Hero Member
  • *****
  • Posts: 607
    • View Profile
NES assemblers and disassemblers
« on: November 18, 2012, 03:40:26 pm »
I have a Windows 7 computer I like using DisAsm to disassemble NES games. Unfortunately the mappers it supports are limited and therefore not feasible for my project. Akagawa Jirou no Yuurei Ressha. So I was thinking about switching to IDA to disassemble and create an ASM file for my project and I have download NESASM to edit that file. Is this a good combination? If not I am interested in learning which programs you guys/ladies like to use concerning assembly/disassembly.

Bregalad

  • Hero Member
  • *****
  • Posts: 2763
    • View Profile
Re: NES assemblers and disassemblers
« Reply #1 on: November 18, 2012, 03:52:19 pm »
Any 6502 disassembler could do the trick, however I have a nice little program called NESDisassembler, which automatically detects banks in NES ROMs and allows you to disassemble your specified bank without touching the others. It also automatically detects rts opcodes and insert some blank space as an attempt to separate subroutines from eachother.
I don't remember where I got it but google is your friend.

Pikachumanson

  • Hero Member
  • *****
  • Posts: 607
    • View Profile
Re: NES assemblers and disassemblers
« Reply #2 on: November 18, 2012, 04:14:05 pm »
Thanks, I'll try it out! Anyone else free to suggest away! I'm all ears, especially for an 6502 assembler that is windows 7 based. Though I'm pretty sure it doesn't exist right now... :-[

furrykef

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Re: NES assemblers and disassemblers
« Reply #3 on: November 20, 2012, 05:57:54 am »
What do you mean "Windows 7 based"? Virtually any modern 6502 assembler will run on Windows 7... unless you mean you're looking for a GUI tool, in which case, dude, learn the command line. Every programmer should become intimately familiar with basic command line tools. They may not seem user-friendly, but the command line is far more powerful than GUIs for certain tasks. GUIs are far more powerful than the command line for other tasks. Use the right tool for the job.

Pikachumanson

  • Hero Member
  • *****
  • Posts: 607
    • View Profile
Re: NES assemblers and disassemblers
« Reply #4 on: November 20, 2012, 01:38:08 pm »
I already know about cmd. I asked this question about assemblers before I knew what they really were. I was thinking it was some kind of ide where i could work on the code from inside the program, that's why i wanted it gui based. But now i understand it's more like a compiler and all i have to do is just work on the disassembled code in notepad  before reassembling.