#[repr(C)]pub struct Block {Show 40 fields
pub magic: u32,
pub gp1_writes: u32,
pub dma_kicks: [u32; 7],
pub dma_wait_fail: u32,
pub dma_wait_ch: u32,
pub gpu_wait_fail: u32,
pub wait_cur: u32,
pub wait_last: u32,
pub wait_last_spins: u32,
pub wait_timeouts: u32,
pub cd_cmd: u32,
pub cd_cmds: u32,
pub cd_irq_seen: u32,
pub cd_irq_acked: u32,
pub cd_int5: u32,
pub cd_int5_status: u32,
pub cd_int5_code: u32,
pub cd_timeouts: u32,
pub cd_timeout_info: u32,
pub cd_sectors: u32,
pub cd_lba: u32,
pub cd_starts: u32,
pub cd_read_fail: u32,
pub cd_fail_word: u32,
pub ll_scans: u32,
pub ll_nodes: u32,
pub ll_bad: u32,
pub ll_max: u32,
pub ll_bad_addr: u32,
pub flushes: u32,
pub flush_waits: u32,
pub flush_retries: u32,
pub flush_timeouts: u32,
pub flush_max_spins: u32,
pub flush_chcr: [u32; 7],
pub flush_gpustat: u32,
pub flush_sr: u32,
pub flush_cc: u32,
pub step_id: u32,
pub step_text: [u8; 24],
}Expand description
The diagnostics block. Every field is a plain word; the panel reads them with volatile loads.
Fields§
§magic: u32MAGIC once any hook has run.
gp1_writes: u32GP1 writes seen (one per presented frame in most programs).
dma_kicks: [u32; 7]DMA kicks per channel, dma::start.
dma_wait_fail: u32dma::wait_done budgets that ran out.
dma_wait_ch: u32Channel of the last such failure.
gpu_wait_fail: u32GPUSTAT ready-waits that timed out (and reset the GPU’s command buffer).
wait_cur: u32Wait in progress now: site in the low byte, aux in the next, 0 for none.
wait_last: u32The last wait that spun out: site, aux like wait_cur.
wait_last_spins: u32Spin budget of that wait.
wait_timeouts: u32Waits that spun out.
cd_cmd: u32Last CD command byte written.
cd_cmds: u32CD commands written.
cd_irq_seen: u32Last non-zero CD IRQ flag read.
cd_irq_acked: u32Last CD IRQ bits acknowledged.
cd_int5: u32INT5 (drive error) responses.
cd_int5_status: u32Status byte of the last INT5.
cd_int5_code: u32Error byte of the last INT5.
cd_timeouts: u32CD waits that spun out.
cd_timeout_info: u32cause<<24 | status<<16 | command<<8 | flag of the last timeout.
cd_sectors: u32Sectors popped from the data FIFO.
cd_lba: u32Last absolute LBA a read was started at (after the disc-base shift).
cd_starts: u32Reads started (start_read): more than the chunks asked for means retries.
cd_read_fail: u32read_sector calls that failed.
cd_fail_word: u32The reader’s own failure snapshot at the last failure.
ll_scans: u32Linked lists scanned at kick time.
ll_nodes: u32Nodes seen in the last scan.
ll_bad: u32Nodes over 16 payload words, all scans (silicon loses words from longer nodes).
ll_max: u32Largest payload word count seen.
ll_bad_addr: u32Address of the first oversized node seen.
flushes: u32Instruction-cache flushes (psx_rt::cache), each behind the DMA gate.
flush_waits: u32Flushes that found a DMA channel busy on entry and waited.
flush_retries: u32Times a flush backed out because a walk was kicked between its idle check and its mask.
flush_timeouts: u32Flushes whose wait for an idle bus ran out (the flush went ahead).
flush_max_spins: u32Most busy polls one flush made.
flush_chcr: [u32; 7]DMA CHCR 0 to 6 as the last flush found them on entry.
flush_gpustat: u32GPUSTAT on entry to the last flush.
flush_sr: u32COP0 Status on entry to the last flush.
flush_cc: u32The cache control register on entry to the last flush.
step_id: u32Free-form step id set by the program (step).
step_text: [u8; 24]Free-form step text, NUL padded.