Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,489,898
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-26-24 10:10 PM
Guest: Register | Login

0 users currently in ROM Hacking Related Releases | 1 guest

Main - ROM Hacking Related Releases - DASM6 v1.2 Nes-oriented disassembler producing instantly rea New thread | New reply


frantik
Posted on 02-14-11 01:16 AM Link | Quote | ID: 139572


Red Koopa
Level: 28

Posts: 130/139
EXP: 127410
Next: 3928

Since: 10-09-07

Last post: 4489 days
Last view: 4483 days
DASM6 is a multi-pass NES-oriented disassembler which produces ASM6 code.


Features:
* produces instantly re-assemblable code (without any human modification)
* iNES header support
* Can export CHR-ROM
* can use optional NES registers
* can use custom defined labels
* can use FCEUDX code/data logs


The output can be reassembled using ASM6. I've tested it with a handful of roms and so far every mapper 0 rom has assembled into a 1:1 copy of the original. For 16k games that have 2 copies in in the .nes file, it will tweak the iNes header from 2 prg banks to 1 unless you disable 16k checking

Download Dasm6 v1.2
Example output

Please let me know about any bugs and any suggestions you have.

Some future ideas:
* may add support for mappers (currently only supports mappers which don't have prg bank switching, so mapper 0 and mapper 4 i think)

Windows EXE and PHP source included

frantik
Posted on 02-25-11 08:03 PM Link | Quote | ID: 139845


Red Koopa
Level: 28

Posts: 132/139
EXP: 127410
Next: 3928

Since: 10-09-07

Last post: 4489 days
Last view: 4483 days
here's version 1.4

changes in this version include

* option for lowercase opcodes
* options for processing arbitrary portions of the rom, either by file location or code location.
* all numeric parameters accept decimal, $hex, 0xhex and %binary forms
* Custom labels ending with "RTSTable" will be interpreted as RTS jump tables. (For any jump table stuff to work you also have to be using a CDL)
* Improved handling of relative labels (eg SomeLabel+1)
* fixed bugs

I'm planning on adding support for TableLow/TableHigh stuff in the next version

oh yeah i changed the name to DISASM6 cause i thought DASM was a generic term for disassembler, but apparently its not. I googled and there is an assembler called DASM and one called ASM6 so this should make it more clear this is a DISassembler, not an assembler.

Main - ROM Hacking Related Releases - DASM6 v1.2 Nes-oriented disassembler producing instantly rea New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.018 seconds. (325KB of memory used)
MySQL - queries: 42, rows: 54/55, time: 0.015 seconds.