Skip to content

Latest commit

 

History

History
13 lines (13 loc) · 593 Bytes

args.md

File metadata and controls

13 lines (13 loc) · 593 Bytes

Argument Parsing

  • Parse arguments
    • rom: string - path to a .gb ROM file
    • headless: bool - run without displaying the graphics
    • silent: bool - run without sound
    • debug_cpu: bool - print out the CPU state after every instruction
    • debug_gpu: bool - show the full sprite map and video RAM
    • debug_apu: bool - ?
    • debug_ram: bool - log mmap I/O events, eg writing to 0x2000 to switch ROM bank
    • frames: int - run for this many frames then exit
    • profile: int - run for this many seconds then exit
    • turbo: bool - no sleep(), run as fast as possible