Skip to content
binary011010 edited this page Sep 13, 2010 · 3 revisions

Commands

clearbreakpoint – Clear a breakpoint. Parameters: Address (hex)
clearbreakpoints – Clear all breakpoints
disablecpulogging – Turn off standard CPU logging
disableppulogging – Turn off standard PPU logging
enablecpulogging – Turn on standard CPU logging. [CPU state at each instruction, Resets, NMIs]
enableppulogging – Turn on standard PPU logging. [VBlanks]
executecode – Execute arbitrary Ruby code. Parameters: Code to execute
getaccumulator – Display the value of the CPU accumlator register
getcpumem – Display a byte of CPU memory. Parameters: Address (hex)
getcpumemblock – Display a block of CPU memory. Parameters: Low Address (hex), High Address (hex)
getcpustate – Display the state of the CPU
getppumem – Display a byte of PPU memory. Parameters: Address (hex)
getppumemblock – Display a block of PPU memory. Parameters: Low Address (hex), High Address (hex)
getprocessorstatus – Display the value of the CPU processor status register
getprogramcounter – Display the value of the CPU program counter register
getspritemem – Display a byte of Sprite memory. Parameters: Address (hex)
getspritememblock – Display a block of Sprite memory. Parameters: Low Address (hex), High Address (hex)
getstackpointer – Display the value of the CPU stack pointer register
getx – Display the value of the CPU X register
gety – Display the value of the CPU Y register
go – Resume execution
loadrom – Load up a new ROM file (should be followed by poweron)
logcpustate – Log the state of the CPU
poweron – Power on the NES emulator
quit – Quit the NES emulator
reset – Reset the CPU
setaccumulator – Set the value of the CPU accumulator register. Parameters: Value (hex)
setbreakpoint – Set a breakpoint. Parameters: Address (hex)
setcpumem – Set a byte of CPU memory. Parameters: Address (hex), Value (hex)
setppumem – Set a byte of PPU memory. Parameters: Address (hex), Value (hex)
setprocessorstatus – Set the value of the CPU processor status register. Parameters: Value (hex)
setprogramcounter – Set the value of the CPU program counter register. Parameters: Value (hex)
setspritemem – Set a byte of Sprite memory. Parameters: Address (hex), Value (hex)
setstackpointer – Set the value of the CPU stack pointer register. Parameters: Value (hex)
setx – Set the value of the CPU X register. Parameters: Value (hex)
sety – Set the value of the CPU Y register. Parameters: Value (hex)
step – Step through CPU instructions one at a time
stopdebugging – Disable debugging and let the emulator run!

Clone this wiki locally