Skip to content
AJ Kelly edited this page Jan 24, 2018 · 4 revisions

ASM6f

Yet another fork of loopy's ASM6. This one is based on version 1.6.

Features

New features of ASM6f compared to stock ASM6:

  • Support for some illegal/undocumented opcodes. Still very much WIP.
  • FCEUX-compatible .nl file export, taken from sonder's fork of ASM6.

Usage

asm6f [-options] sourcefile [outputfile] [listfile]

Options

  • -? Show help
  • -l Create listing
  • -L Create verbose listing (expands REPT, MACRO)
  • -d<name> Define a symbol and make it equal to 1
  • -q Quiet mode; suppress all output unless there's an error
  • -n Export FCEUX-compatible .nl files
  • -f Export Lua symbol file
  • -c Export .cdl for use with FCEUX/Mesen
  • -m Export Mesen-compatible label file (.mlb)

The default value for [outputfile] is <sourcefile>.bin, and the default for [listfile] is <sourcefile>.lst. .nl files are exported per PRG bank, as well as one for the RAM region.

Future Plans

  • Add an undef command?
  • Add a -d<name>=<value> option to set symbols to a specified value.
  • Add CA65 debugging format for NintendulatorDX usage.
Clone this wiki locally