Psxfin
Jump to navigation
Jump to search
pSX is a Playstation emulator with debugging features and without a plugin system. It is abandonware: the latest version, 1.13, was released in 2007, and its author last posted on its message board in 2009.[1]
The final release's executable is named psxfin.exe
, while earlier unstable versions were named psxrel.exe
.
Debuggery
To open the debugger and memory tools, go to Debug -> Monitor -> r3000.
Note: All values in pSX's tools are interpreted as decimal by default. Prepend the address with "0x" to make it read hexadecimal. For example, use "0x91AF" instead of "91AF".
- Menu
- File:
- Disassemble: Disassembles a block of code and saves it to a file.
- Save binary: Saves a block of memory to a file.
- Configuration: Change the font of the disassembly window.
- Debug:
- Run (F9): (Only when halted.) Resume normal execution.
- Break: (Only when not halted.) Stop execution and set disassembly cursor to the current instruction.
- Step over (F8): (Only when halted.) Execute current instruction. If it is a call (e.g.
jal
), execute the subroutine. - Step into (F7): (Only when halted.) Execute current instruction. If it is a call, follow the jump and go to the subroutine's first instruction.
- Run to cursor: Run normally until the selected instruction is reached.
- Set next: ?
- Reset: Restart the emulation.
- Exit: Exit the debugger.
- Window: Manage the various debugger subwindows.
- Subwindows
- Call stack:
- Breakpoints: Active breakpoints.
- Registers: Current value of registers. Only updated about every second while emulation is running.
- Disassembly: Current instruction being executed. Not updated while emulation is running.
- Memory: Current values in memory. Only updated about every second while emulation is running.
- GPU:
- CDROM:
- Debugger hotkeys
- Ctrl+G: Goto. Go to specified address. Available in the Memory and Disassembly subwindows.
Breakpoints
pSX can set two kinds of breakpoints:
- Execute: Break when the instruction at this location is executed.
- Memory: Break when an instruction reads/writes/either to this address.
Breakpoint parameters
- Size: (memory breakpoint only) Specifies how many bytes after this address will be watched.
- Condition: Only break if the condition holds true. (?What is the format?)
- Count: Only break after the breakpoint is hit this many times.
Danger
- For execution breakpoints, pSX changes the instruction to an illegal instruction until it is reached. Do not save a state while an execution breakpoint is active, or else the state will remember the illegal instruction even if there is no breakpoint there. Do not dump assembly or RAM while an execution breakpoint is active, or else it will contain the illegal instruction.
- pSX does not apply breakpoints after loading a state. After loading a state, edit (each of?) your active breakpoints, or they will have no effect.
- Do not close the debugger window while a breakpoint is active, or else pSX will crash. Delete all breakpoints first.
- When triggering a memory breakpoint, pSX will stop AFTER the triggering instruction. This means that the arrow in the Disassembly window will point to the instruction after the trigger.
- If the trigger was in a delay slot after a jump or branch, the cursor in the Disassembly window will point to the instruction after the jump/branch, which won't be close to the trigger.
Cheat Engine
For psxfin.exe 1.13, the base address of the emulated RAM is at "[[psxfin.exe+1899BC]+30]".