Skip to content

Generate debugging symbols for FCEUX NES emulator from DASM assembler symbol output

License

Notifications You must be signed in to change notification settings

pixelsyntax/DASM-symbol-to-FCEUX-nl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

DASM-symbol-to-FCEUX-nl

A simple, fragile script to parse the symbol output from the DASM assembler's -s argument and convert it to a FCEUX NES emulator compatible format for debugging and development purposes. This enables the user to see meaningful labels in the FCEUX debugger instead of raw addresses, where appropriate.

This is a first pass attempt, quickly made for use in a game jam.

Example usage

Generate your assembler output, being sure to generate a symbol dump with -s

dasm myfile.asm -f3 -omyrom.nes -smyrom.nes.sym

Pass the symbol dump to DASM-symbol-to-FCEUX-nl

dasm-symbol-to-fceux.py myrom.nes.sym myrom.nes.nl

Or, if not executable,

python dasm-symbol-to-fceux.py myrom.nes.sym myrom.nes.nl

Launch FCEUX, ensuring the .nl file is in the same directory as the nes rom

fceux myrom.nes

About

Generate debugging symbols for FCEUX NES emulator from DASM assembler symbol output

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages