mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-28 19:07:47 -04:00
24 KiB
24 KiB
| 1 | cmd | params | description | backend |
|---|---|---|---|---|
| 2 | ping | Returns frame number + dispatch miss counters. Health check. | both | |
| 3 | frame | Returns current guest frame number. | both | |
| 4 | quit | Shuts down the runtime. | psx-runtime | |
| 5 | set_input | buttons (str) | Sets persistent controller input. buttons=hex button word (e.g. '0x8000' = DPadUp). | both |
| 6 | press | buttons (int), frames (int) | Press buttons for N frames. buttons=hex word, frames default 1. | both |
| 7 | clear_input | Clears all input overrides. | both | |
| 8 | pad_status | Returns current pad state (buttons + analog if active). | both | |
| 9 | savestate | slot (int), op (str) | Save/load state. slot=0|1, op='save'|'load'. | psx-runtime |
| 10 | turbo | enabled (int), on (int) | Toggle turbo mode. enabled or on=1 to enable, 0 to disable. | psx-runtime |
| 11 | turbo_state | Returns current turbo state. | psx-runtime | |
| 12 | turbo_loads | n (int) | Run N frames at max speed, then report. | psx-runtime |
| 13 | pause | Pauses emulation at next safe point. | psx-runtime | |
| 14 | continue | Resumes emulation from pause. | psx-runtime | |
| 15 | step | Single-step one guest instruction (must be paused). | psx-runtime | |
| 16 | run_to_frame | Continue until next vblank/frame boundary. | psx-runtime | |
| 17 | dirty_break_range | lo (str), hi (str) | Set phys address range for dirty-RAM one-shot break. When a write hits [lo,hi), pause and capture CPU state. | psx-runtime |
| 18 | dirty_break_clear | Disarms dirty break. | psx-runtime | |
| 19 | dirty_break_state | Returns current dirty-break state (armed/target/hits). | psx-runtime | |
| 20 | read_ram | addr (str), len (int) | Read len bytes from phys addr. Returns hex string. | both |
| 21 | dump_ram | addr (str), len (int) | Alias for read_ram. | both |
| 22 | write_ram | addr (str), val (str) | Write hex val to phys addr. | psx-runtime |
| 23 | mem_words | addr (str), count (int) | Read count words (4 bytes each) from phys addr. Returns JSON array. | psx-runtime |
| 24 | get_registers | Returns all CPU registers (GPR + COP0 + PC + hi/lo). | both | |
| 25 | screenshot | Takes a screenshot (returns base64 PNG or writes to default path). | both | |
| 26 | screenshot_file | path (str) | Takes a screenshot and writes to the given file path. | both |
| 27 | read_frame_ram | frame (int), addr (str), len (int) | Read RAM snapshot from a specific historical frame. | both |
| 28 | set_snapshot | slot (int), addr (str) | Configure a persistent RAM snapshot slot. Writes snapshot_addrs[slot]=addr. | both |
| 29 | get_snapshots | Returns configured snapshot slots and their current values. | both | |
| 30 | frame_fingerprint | count (int), frame_lo (int), frame_hi (int) | Dump per-frame write fingerprint ring. Diff wr/pc hashes between two runs to find first-divergence frame. | psx-runtime |
| 31 | record_frame | frame (int) | Arm the frame-gated ordered access recorder for guest frame N. -1 disarms. | psx-runtime |
| 32 | record_frame_dump | offset (int), count (int), kind (int) | Dump recorded frame's ordered access log. kind: 0=ramw,1=spw,2=mmiow,3=mmior,4=ramr, -1=all. | psx-runtime |
| 33 | record_reads_dump | offset (int), count (int) | Dump recorded frame's MMIO-read entries only. | psx-runtime |
| 34 | history | Returns per-frame history ring buffer. | both | |
| 35 | get_frame | frame (int) | Returns a single frame record by number. | both |
| 36 | frame_range | start (int), end (int) | Returns frame records in [start, end]. | both |
| 37 | frame_timeseries | start (int), end (int) | Returns frame time series for [start, end]. | both |
| 38 | first_failure | Returns the first frame where native and interp fingerprints diverge. | psx-runtime | |
| 39 | frame_perf | Returns per-frame GPU/render performance counters. | psx-runtime | |
| 40 | watch | addr (str) | Set a watchpoint on a physical address. Triggers on read/write. | psx-runtime |
| 41 | unwatch | addr (str) | Remove a watchpoint. | psx-runtime |
| 42 | gpu_state | Returns current GPU state (display mode, VRAM transfer, GP0/GP1 pending). | psx-runtime | |
| 43 | gpu_opcodes | Returns GPU GP0/GP1 opcode statistics. | psx-runtime | |
| 44 | gpu_ring_stats | Returns GPU command ring buffer stats. | psx-runtime | |
| 45 | gpu_frame_dump | frame (int), count (int) | Dump GPU command ring for a specific frame. | psx-runtime |
| 46 | gp1_dump | frame_lo (int), frame_hi (int), count (int), newest (int) | Dump GP1 (display control) command history. newest=1 for reverse order. | psx-runtime |
| 47 | irq_state | Returns I_STAT and I_MASK registers. | both | |
| 48 | cycles_to_next_event | Returns cycles until next scheduled device event. | psx-runtime | |
| 49 | timers_state | Returns state of all 4 hardware timers. | psx-runtime | |
| 50 | dma_state | Returns state of all DMA channels (control, status, block info). | psx-runtime | |
| 51 | dma_trace_dump | count (int) | Dump last N DMA trace entries. | psx-runtime |
| 52 | dma_trace_clear | Clear DMA trace ring. | psx-runtime | |
| 53 | dma_cdrom_history | count (int), frame_lo (int), frame_hi (int), newest (int) | Dump CDROM DMA transfer history. | psx-runtime |
| 54 | cdrom_state | Returns full CDROM controller state (status, mode, pending commands). | psx-runtime | |
| 55 | cdrom_sector_dump | offset (int), len (int) | Dump raw sector data from CDROM buffer. | psx-runtime |
| 56 | cdrom_sector_history | count (int), lba (str) | Dump CDROM sector read history. Optional LBA filter. | psx-runtime |
| 57 | cdrom_sector_history_clear | Clear CDROM sector history. | psx-runtime | |
| 58 | cdrom_command_history | count (int), frame_lo (int), frame_hi (int) | Dump CDROM command history ring. | psx-runtime |
| 59 | cdrom_command_history_clear | Clear CDROM command history. | psx-runtime | |
| 60 | cdrom_trace_dump | count (int), frame_lo (int), frame_hi (int) | Dump detailed CDROM timing trace. | psx-runtime |
| 61 | cdrom_trace_clear | Clear CDROM trace. | psx-runtime | |
| 62 | cdrom_instant_rate | n (int) | Report instantaneous CD read rate (sectors/sec) over last N vblanks. | psx-runtime |
| 63 | cdrom_bursts | count (int) | Dump recent CD read burst patterns (default 32, max 128). | psx-runtime |
| 64 | cd_read_log | tail (int) | Dump CD read log entries (default 256 recent). | psx-runtime |
| 65 | cd_overwrite | Report CD controller overwrite race state. | psx-runtime | |
| 66 | sio_state | Returns SIO (serial I/O) controller/card state. | psx-runtime | |
| 67 | sio_trace | count (int) | Dump last N SIO byte-level trace entries. | both |
| 68 | sio_trace_window | seq (int), before (int), after (int) | Dump SIO trace around a specific sequence number. | psx-runtime |
| 69 | sio_pc_trace | count (int), addr_lo (str), addr_hi (str) | Dump SIO write PC trace. Optional addr filter for specific SIO registers. | psx-runtime |
| 70 | sio_pc_window | byte_seq (int), before (int), after (int), addr_lo (str), addr_hi (str) | Dump SIO PC trace around a specific byte sequence. | psx-runtime |
| 71 | sio_ctrl_reg_trace | count (int) | Dump SIO_CTRL (0x1F80104A) write trace with full CPU state. | psx-runtime |
| 72 | sio_ctrl_reg_window | byte_seq (int), before (int), after (int) | Dump SIO_CTRL trace around a specific byte sequence. | psx-runtime |
| 73 | sio_ctrl_reg_clear | Clear SIO_CTRL register trace. | psx-runtime | |
| 74 | sio_irq_dump | count (int), src (int) | Dump SIO IRQ events. src=filter to specific IRQ source. | psx-runtime |
| 75 | sio_irq_window | byte_seq (int), before (int), after (int), src (int) | Dump SIO IRQ events around a byte sequence. | psx-runtime |
| 76 | sio_irq_dump (alias) | Clear SIO IRQ trace. | psx-runtime | |
| 77 | sio_burst_stats | Returns SIO burst timing statistics. | psx-runtime | |
| 78 | sio_arm_audit | Returns SIO arm/audit state. | psx-runtime | |
| 79 | sio_write_window | Returns the SIO write window (for parity with psx-beetle). | psx-beetle | |
| 80 | sio_trace_reset | Reset SIO trace (psx-beetle parity). | psx-beetle | |
| 81 | sio_write_window | Dump recent SIO byte writes in a time window. | psx-beetle | |
| 82 | pad_cfg | set (int) | Configure pad mode. set=0 for modern DualShock, set=1 for digital-only. | psx-runtime |
| 83 | mc_status | Returns memory card status. | psx-runtime | |
| 84 | card_buffer_dump | slot (int), offset (int), len (int) | Dump raw card buffer bytes. slot=0|1. | psx-runtime |
| 85 | card_trace_dump | count (int), addr_lo (str), addr_hi (str) | Dump memory card command trace. | psx-runtime |
| 86 | card_txn_dump | count (int), slot (int) | Dump memory card transaction history. | psx-runtime |
| 87 | card_read_summary | Returns card read performance summary. | psx-runtime | |
| 88 | card_read_summary_reset | Reset card read summary counters. | psx-runtime | |
| 89 | card_data_writes | count (int) | Dump card data write log. | psx-runtime |
| 90 | card_data_writes_reset | Reset card data write log. | psx-runtime | |
| 91 | card_mgr_trace | Dump card manager state machine trace. | psx-runtime | |
| 92 | card_mgr_clear | Clear card manager trace. | psx-runtime | |
| 93 | spu_status | Returns SPU (Sound Processing Unit) global state. | psx-runtime | |
| 94 | spu_voices | Returns per-voice SPU state (ADSR, pitch, volume, data pointers). | both | |
| 95 | spu_events | count (int) | Dump SPU event ring (KEYON/KEYOFF/END_STOP/END_LOOP with frame timestamps). | both |
| 96 | spu_events_reset | Clear SPU event ring. | psx-runtime | |
| 97 | audio_stats | Returns host audio output statistics. | both | |
| 98 | audio_wav | path (str), tap (int), start (str), count (str) | Dump audio to WAV file. tap=which tap point, start/count for range. | both |
| 99 | audio_events | count (int) | Dump audio event ring. | both |
| 100 | mdec_state | Returns MDEC (Motion Decoder) state for FMV playback. | psx-runtime | |
| 101 | mdec_trace | seq_lo (str), seq_hi (str), count (int) | Dump MDEC decoder trace entries. | psx-runtime |
| 102 | mdec_trace_clear | Clear MDEC trace. | psx-runtime | |
| 103 | fmv_state | Returns FMV playback state (MDEC + DMA ch0 status). | psx-runtime | |
| 104 | gte_state | Returns GTE (Geometry Transform Engine) register state. | psx-runtime | |
| 105 | dma_trace_dump | count (int) | Dump DMA trace entries. | psx-runtime |
| 106 | dma_trace_clear | Clear DMA trace ring. | psx-runtime | |
| 107 | spu_events_reset | Clear SPU event ring. | psx-runtime | |
| 108 | a0_history | Dump BIOS A0 function call history ring. | psx-runtime | |
| 109 | c0_history | Dump BIOS C0 function call history ring. | psx-runtime | |
| 110 | bioscall_dump | tail (int), index (int), table (str) | Dump BIOS service call history. tail=N for last N, table=A0|B0|C0, index=specific fn. | psx-runtime |
| 111 | hle_dump | tail (int), fn (int), route (int), since (int) | Dump HLE BIOS dispatch log. fn=t1 index, route=0|1|2 (LLE/HLE/fallback). | psx-runtime |
| 112 | unknown_dispatch_log | tail (int) | Dump unknown dispatch log (addresses the recompiler couldn't resolve). | psx-runtime |
| 113 | dispatch_stats | Returns static dispatch hit vs miss coverage summary. | psx-runtime | |
| 114 | dispatch_check | Check if a specific address was ever dispatched. | psx-runtime | |
| 115 | dispatch_tail | Dump the last N dispatched function addresses. | psx-runtime | |
| 116 | evcb_snapshot | Snapshots the full kernel EvCB table (entry/exit states). | psx-runtime | |
| 117 | evcb_walk_dump | count (int) | Dump EvCB walk ring (paired entry/exit snapshots around DeliverEvent). | psx-runtime |
| 118 | evcb_walk_stats | Returns EvCB walk ring statistics. | psx-runtime | |
| 119 | imask_trace | count (int), only_b7c (int) | Dump I_MASK change trace. only_b7c=1 for only addr 0xB7C changes. | psx-runtime |
| 120 | thread_trace | count (int), newest (int), seq_lo (str), frame_lo (str), frame_hi (str), kind (str), current_tcb (str), target_tcb (str), tcb (str) | Dump kernel thread scheduling trace with full TCB state. | psx-runtime |
| 121 | thread_trace_clear | Clear thread trace ring. | psx-runtime | |
| 122 | thread_ctx_ring | count (int) | Dump thread context ring (snapshot of kernel thread table). | psx-runtime |
| 123 | fntrace_arm | target (str) | Arm function trace filtering to target address range. | psx-runtime |
| 124 | fntrace_arm_clear | Clear function trace arm filter. | psx-runtime | |
| 125 | fntrace_armed | Returns current function trace arm filter state. | psx-runtime | |
| 126 | fntrace_clear | Clear function entry/exit trace rings. | psx-runtime | |
| 127 | fntrace_dump | target_lo (str), target_hi (str), seq_lo (str), seq_hi (str), count (int) | Dump function entry/exit trace. Filter by address range or sequence range. | psx-runtime |
| 128 | fn_filter | Set function trace filter. | psx-runtime | |
| 129 | fn_disable | Disable function trace. | psx-runtime | |
| 130 | fn_clear | Clear function trace filters. | psx-runtime | |
| 131 | fn_stats | Returns function trace ring statistics. | psx-runtime | |
| 132 | fn_entry_dump | Dump function entry trace ring. | psx-runtime | |
| 133 | fn_entry_tail | Dump last N function entries. | psx-runtime | |
| 134 | fn_exit_dump | Dump function exit trace ring. | psx-runtime | |
| 135 | chain_trace | count (int) | Dump chain-dispatch return-v0 trace (card chain state machine). | psx-runtime |
| 136 | sreg_trace_dump | count (int), newest (int), seq_lo (str), tcb (str), func_lo (str), func_hi (str), frame_lo (str), frame_hi (str) | Dump saved-register trace (s0-s7 across function calls). | psx-runtime |
| 137 | sreg_trace_find | tcb (str), frame_lo (str), frame_hi (str), zero (int), yield_only (int), newest (int), window (int) | Find specific sreg trace entries by TCB or frame range. | psx-runtime |
| 138 | sreg_trace_stats | Returns sreg trace ring statistics. | psx-runtime | |
| 139 | sreg_trace_clear | Clear sreg trace ring. | psx-runtime | |
| 140 | probe_trace | count (int) | Dump probe trace ring (high-frequency call-level instrumentation). | psx-runtime |
| 141 | probe_clear | Clear probe trace ring. | psx-runtime | |
| 142 | restore_trace | count (int) | Dump restore-state/exception longjmp trace. | psx-runtime |
| 143 | restore_trace_window | byte_seq (int), before (int), after (int) | Dump restore trace around a byte sequence. | psx-runtime |
| 144 | restore_trace_clear | Clear restore trace ring. | psx-runtime | |
| 145 | dirty_ram_stats | Returns dirty-RAM interpreter statistics (compiled/dirty/mixed counts). | psx-runtime | |
| 146 | dirty_ram_unsupported | Returns list of unsupported dirty-RAM addresses. | psx-runtime | |
| 147 | dirty_block_log | target_lo (str), target_hi (str), count (int) | Dump dirty-RAM block dispatch log (most recent N entries, default 256). | psx-runtime |
| 148 | dirty_flow_log | target_lo (str), target_hi (str), count (int) | Dump dirty-RAM flow (control flow) log. | psx-runtime |
| 149 | dirty_insn_log | pc_lo (str), pc_hi (str), changed_only (int), count (int) | Dump dirty-RAM instruction log. changed_only=1 for only modified instructions. | psx-runtime |
| 150 | dirty_insn_dump_file | path (str) | Dump dirty-RAM instruction log to file (large, use file dump). | psx-runtime |
| 151 | dirty_block_dump_file | path (str) | Dump dirty-RAM block log to file. | psx-runtime |
| 152 | dirty_insn_gate | lo (str), hi (str) | Set extra address ranges for dirty-RAM instruction recording. hi=0 disables. | psx-runtime |
| 153 | watch | Set watchpoint on physical address. | psx-runtime | |
| 154 | unwatch | Remove watchpoint. | psx-runtime | |
| 155 | wtrace_arm | lo (str), hi (str) | Arm a write trace range [lo,hi). Up to 64 ranges. | both |
| 156 | wtrace_disarm | slot (int) | Disarm a specific write trace range by slot index. | both |
| 157 | wtrace_disarm_all | Disarm all write trace ranges. | both | |
| 158 | wtrace_reset | Clear the write trace ring. | both | |
| 159 | wtrace_ranges | Returns all currently armed write trace ranges. | both | |
| 160 | wtrace_dump | addr_lo (str), addr_hi (str), frame_lo (int), frame_hi (int), count (int), newest (int) | Dump write trace entries. Filter by addr range and/or frame range. | both |
| 161 | wtrace_stats | Returns write trace ring statistics. | both | |
| 162 | wtrace_boot_dump | addr_lo (str), addr_hi (str), count (int), newest (int) | Dump boot-pinned write trace (captured at startup, persists across ring rotation). | psx-runtime |
| 163 | wtrace_boot_summary | addr_lo (str), addr_hi (str), max_addrs (int) | Summarize boot writes by address frequency. | psx-runtime |
| 164 | wtrace_boot_stats | Returns boot trace ring statistics. | psx-runtime | |
| 165 | wtrace_boot_reset | Clear boot trace ring. | psx-runtime | |
| 166 | wtrace_all_dump | addr_lo (str), addr_hi (str), count (int), newest (int) | Dump always-on catch-all write ring (every RAM write, no filter). | both |
| 167 | wtrace_all_stats | Returns catch-all write ring statistics. | both | |
| 168 | wtrace_all_reset | Reset catch-all write ring. | both | |
| 169 | wtrace_trans_dump | addr_lo (str), addr_hi (str), count (int), newest (int), seq_lo (str) | Dump value-change-only write trace (only writes where new!=old). | psx-runtime |
| 170 | wtrace_trans_stats | Returns transition write ring statistics. | psx-runtime | |
| 171 | wtrace_trans_reset | Reset transition write ring. | psx-runtime | |
| 172 | call_focus_dump | seq_lo (str), seq_hi (str), func (str), func_lo (str), func_hi (str), frame_lo (str), frame_hi (str), count (int), newest (int) | Dump focused menu/render manager call trace. | psx-runtime |
| 173 | call_focus_stats | Returns call focus ring statistics. | psx-runtime | |
| 174 | call_focus_reset | Reset call focus ring. | psx-runtime | |
| 175 | wtrace_range | lo (str), hi (str) | Legacy: arm write trace range. Use wtrace_arm instead. | psx-runtime |
| 176 | wtrace_add | lo (str), hi (str) | Legacy alias for wtrace_arm. | psx-runtime |
| 177 | wtrace_del | slot (int) | Legacy alias for wtrace_disarm. | psx-runtime |
| 178 | wtrace_clear | Legacy alias for wtrace_reset. | psx-runtime | |
| 179 | rtrace_arm | lo (str), hi (str) | Arm an MMIO-read trace range. | both |
| 180 | rtrace_dump | addr (str), frame_lo (int), frame_hi (int), count (int), newest (int) | Dump MMIO-read trace entries. | both |
| 181 | rtrace_clear | Clear MMIO-read trace. | both | |
| 182 | rtrace_ranges | Returns all armed MMIO-read trace ranges. | both | |
| 183 | rtrace_stats | Returns MMIO-read trace statistics. | both | |
| 184 | parity_dump | count (int), transitions (int) | Dump control-flow parity trace (compiled vs interp dispatch parity). | both |
| 185 | parity_ctl | reset (int), arm (int) | Control parity trace. reset=1 to clear, arm=1 to start recording. | both |
| 186 | devtrace_dump | count (int), cyc_lo (str), cyc_hi (str), src (int) | Dump device event trace. src=I_STAT source bit (0..10), cyc_lo/hi=cycle filter. | both |
| 187 | devtrace_ctl | reset (int), arm (int) | Control device trace. reset=1 to clear, arm=1 to start recording. | both |
| 188 | cyc_watch | pc (str), n (int), end (str) | Arm cycle watch: monitor N cycles starting at PC. end=stop PC. | both |
| 189 | cyc_watch_dump | Dump cycle watch ring. | both | |
| 190 | cyc_watch_clear | Clear cycle watch ring. | both | |
| 191 | d44_ring | Dump D44 (DMA control register 0x1F8010A4) change ring. | psx-runtime | |
| 192 | irqctx_ring | frame_lo (int), frame_hi (int), count (int) | Dump IRQ context ring (CPU state at each IRQ delivery). | psx-runtime |
| 193 | freeze_check | window (int) | Check freeze detection state. window=vblank window size. | psx-runtime |
| 194 | mmio_dump | addr (str), frame_lo (int), frame_hi (int), count (int), newest (int) | Dump MMIO access trace for a specific device address. | psx-runtime |
| 195 | mmio_clear | Clear MMIO trace ring. | psx-runtime | |
| 196 | capture_freeze | frame (int) | Freeze capture at a specific frame (stops recording but keeps rings). | psx-runtime |
| 197 | overlay_dump | lo (str), dir (str) | Dump overlay region table (address, size, CRC32, file path). | psx-runtime |
| 198 | overlay_loader_status | Returns overlay loader state (loaded regions, DLL count, errors). | psx-runtime | |
| 199 | overlay_candidates | Returns overlay candidate functions with code hash and generation info. | psx-runtime | |
| 200 | overlay_native_ring | Dump native-overlay dispatch ring (overlay function calls). | psx-runtime | |
| 201 | overlay_irq_suppress_on | Suppress IRQ delivery during overlay native execution (for timing isolation). | psx-runtime | |
| 202 | overlay_irq_suppress_off | Re-enable IRQ delivery during overlay native execution. | psx-runtime | |
| 203 | overlay_irq_ratelimit | n (int) | Set IRQ rate-limit during overlay native execution (finer than full suppress). | psx-runtime |
| 204 | overlay_native_event_granularity | mode (str) | Set native event granularity mode. | psx-runtime |
| 205 | overlay_diff_on | Enable overlay shadow diff (track native vs interpreter divergence). | psx-runtime | |
| 206 | overlay_diff_off | Disable overlay shadow diff. | psx-runtime | |
| 207 | overlay_shadow_dump | Dump overlay shadow divergence records. | psx-runtime | |
| 208 | overlay_shadow_detail | Dump detailed overlay shadow diff info. | psx-runtime | |
| 209 | overlay_fp_dump | path (str) | Dump overlay fingerprint (function CRCs, native flags) to file. | psx-runtime |
| 210 | overlay_capture_dump | Dump captured overlay binary files next to runtime exe. | psx-runtime | |
| 211 | overlay_native_on | Force overlay native compilation ON. | psx-runtime | |
| 212 | overlay_native_off | Force overlay native compilation OFF. | psx-runtime | |
| 213 | overlay_native_block | clear (int), addr (str) | Block specific overlay addresses from native compilation. clear=1 to reset. addr=hex to block. | psx-runtime |
| 214 | overlay_cps_probe | addr (str) | Probe overlay CPS (continuation-passing style) compilation for an address. Returns outcome code. | psx-runtime |
| 215 | overlay_rescan | Rescan overlay directory for newly compiled DLLs. | psx-runtime | |
| 216 | event_ring_dump | path (str) | Dump event ring to file (default: event_ring.json). | psx-runtime |
| 217 | event_ring_tail | n (int) | Dump last N event ring entries (default 64). | psx-runtime |
| 218 | event_ring_clear | Clear event ring. | psx-runtime | |
| 219 | ws_margin | value (int) | Set/get widescreen margin (pixels). No value = report current. | psx-runtime |
| 220 | ws_aspect | num (int), den (int) | Set widescreen aspect ratio (num/den). E.g. 16/9. | psx-runtime |
| 221 | ws_nw | on (int) | Toggle native-wide mode. 2=native-wide, 1=squash. | psx-runtime |
| 222 | ws_backdrop_ring | Dump widescreen backdrop ring. | psx-runtime | |
| 223 | ws_backdrop_margin | m (int) | Set/get widescreen backdrop margin. No m = report. | psx-runtime |
| 224 | ws_backdrop_stretch | on (int), pct (int), thresh (int), mode (int) | Configure backdrop stretch. No args = report. | psx-runtime |
| 225 | ws_dbg_stretch | mode (int), pct (int), lo (str), hi (str), clut (str) | Debug stretch mode with address/CLUT filters. | psx-runtime |
| 226 | ws_far_threshold | t (int) | Set widescreen far-depth threshold. | psx-runtime |
| 227 | ws_dome | on (int), num (int), den (int) | Configure widescreen dome (depth-split vertex expansion). | psx-runtime |
| 228 | ws_dome_probe | on (int), thr (int) | Probe widescreen dome expansion stats. | psx-runtime |
| 229 | ws_census | action (str), start (int), end (int), out (str) | Run widescreen census (polygon statistics). | psx-runtime |
| 230 | gl_coh_ring | n (int), frame_min (int) | Dump GL coherence ring. | psx-runtime |
| 231 | gl_present_ring | n (int) | Dump GL present ring. | psx-runtime |
| 232 | gl_ws_ablate | mode (int) | Ablation study: toggle specific widescreen features for perf comparison. | psx-runtime |
| 233 | gl_wide_fast | on (int) | Toggle fast widescreen path (skip per-prim mirror). | psx-runtime |
| 234 | gl_fbo_peek | x (int), y (int), w (int), h (int) | Peek at GL framebuffer contents. | psx-runtime |
| 235 | gl_vram_diff | Dump VRAM diff between frames. | psx-runtime | |
| 236 | synth_recurse | Synthesize infinite recursion to test stack overflow handling. HALTS emulation. | psx-runtime | |
| 237 | mmx6_freshfix | on (int), validate (int) | Toggle MMX6 fresh-fix mode (for old MMX6 bugs). | psx-runtime |
| 238 | mmx6_reveal | on (int), reloc (int) | Toggle MMX6 reveal mode. | psx-runtime |
| 239 | phase_profile | window (int) | Dump phase profile (boot stages timing). | psx-runtime |
| 240 | phase_hot | top (int) | Dump hottest functions since boot (top N). | psx-runtime |
| 241 | idle_skip | enable (int) | Toggle idle-loop skip. enable=0|1 to force, omit to toggle. | psx-runtime |
| 242 | lockstep | Dump lockstep cosimulation state. | psx-runtime | |
| 243 | lockstep_func | Dump lockstep function-level comparison. | psx-runtime | |
| 244 | xlate | sub (str) | Translation table: dump/todo/reload. | psx-runtime |
| 245 | latency | window (int), raw (int), count (int) | Dump latency stats. raw=1 for per-frame records, count for window. | psx-runtime |
| 246 | vk_perf | count (int) | Dump Vulkan performance counters (last N frames). | psx-runtime |
| 247 | game_options | Returns game configuration options from game.toml. | psx-runtime | |
| 248 | stack_profile | Returns host stack usage profile (detects runaway recursion). | psx-runtime | |
| 249 | xprobe | Run cross-probe analysis. | psx-runtime | |
| 250 | xprobe_arm | frame_trip (int), stk_kb (int), warmup (int) | Arm cross-probe. Any 0 disables that arm. | psx-runtime |
| 251 | ce_profile | Dump code-emitter profile (which patterns fire most). | psx-runtime | |
| 252 | capture_quads | Capture current GPU quad list. | psx-runtime | |
| 253 | get_quads | Get captured GPU quads. | psx-runtime | |
| 254 | dirty_insn_gate | lo (str), hi (str) | Set extra address ranges for dirty-RAM instruction recording. | psx-runtime |
| 255 | insn_freeze | addr (str), nth (int) | Freeze instruction execution at addr (break on Nth hit). addr=0 disarms. | psx-runtime |
| 256 | insn_freeze_status | Returns instruction freeze state. | psx-runtime | |
| 257 | insn_freeze_target | Dump instruction freeze target snapshot. | psx-runtime | |
| 258 | insn_freeze_snapshot | Take manual snapshot at current instruction freeze point. | psx-runtime | |
| 259 | ra_load_watch | value (str) | Watch for loads of a specific value via $ra-derived addresses. value=0 disarms. | psx-runtime |
| 260 | cdrom_cmd_dump | Dump CDROM command history (psx-beetle parity). | psx-beetle | |
| 261 | cdrom_cmd_reset | Reset CDROM command history (psx-beetle parity). | psx-beetle | |
| 262 | cdc_volume | Report CD controller volume state. | psx-beetle | |
| 263 | sio_write_window | Dump SIO write window (psx-beetle parity). | psx-beetle | |
| 264 | exc_ring | Dump exception ring (psx-beetle parity). | psx-beetle | |
| 265 | fntrace_disarm | Disarm function trace filter (psx-beetle parity). | psx-beetle | |
| 266 | fntrace_arms | List all armed function trace ranges (psx-beetle parity). | psx-beetle | |
| 267 | fntrace_unfiltered | Enable unfiltered function trace (psx-beetle parity). | psx-beetle | |
| 268 | fntrace_reset | Reset function trace ring (psx-beetle parity). | psx-beetle | |
| 269 | rtrace_disarm | Disarm MMIO-read trace range (psx-beetle parity). | psx-beetle | |
| 270 | rtrace_disarm_all | Disarm all MMIO-read trace ranges (psx-beetle parity). | psx-beetle | |
| 271 | rtrace_reset | Reset MMIO-read trace (psx-beetle parity). | psx-beetle |