package "emu" version "@EMU_VERSION@" usage "emu [options]" description "6502 emulator" section "Main Options" option "long-version" - "Full version and credentials" optional option "gui" g "Enable GUI" optional option "debug" d "Enable debugging output" optional section "Run Options" option "rom" r "The code to load into ROM" string typestr="filename" default="rom.bin" optional option "steps" s "Run at most 'steps' number of instructions (-1 means 'run forever')" int typestr="steps" default="-1" optional option "initialize" - "Initialize all components with known values (not realistic, but useful for memchecks)" optional section "Debug Options" option "print-cpu" - "Print status of CPU (registers, status register)" optional option "print-zero-page" - "Print zero page of memory" optional option "print-stack" - "Print stack area of memory" optional option "print-7seg" - "Print what the 7-segment display on the VIA is doing" optional section "GUI Options" option "width" - "Manually set width of the gui to x" int typestr="pixel" default="600" optional option "height" - "Manually set height of the gui to y" int typestr="pixel" default="250" optional option "start-paused" - "Start the CPU in paused mode" optional