SDK documentation

Complete SDK examples

All 34 programs with their Cargo manifests, full Rust source and build requirements.

cdda-read-contention

CD data commands during audio playback

hello-asmprobe

Hand-scheduled kernels against a plain Rust reference

hello-audio

Controller-triggered SPU samples

hello-cdda

Playing a disc audio track

hello-cddrain

Interrupt-popped sectors during a polled CD read

hello-cdpause

The drive's two-answer Pause against the emulator model

hello-cdstream

Interrupt-driven CD streaming checked byte for byte

hello-diag

The console stop panel, triggered on purpose

hello-fault

A deliberate panic for the abort gate

hello-flipcap

The presentation cap on display flips

hello-fmv

Streaming video with XA audio

hello-gte

A rotating wireframe cube

hello-gteirq

Geometry commands interrupted by VBlank

hello-i64probe

Software 64-bit arithmetic checks

hello-icache

Flushing the instruction cache

hello-input

Digital and analog controller input

hello-memcard

Guarded memory-card diagnostic

hello-memprobe

Memory routine size and alignment checks

hello-ot

Ordering-table submission

hello-overlay

Loading and unloading a code module in a borrowed arena

hello-pack

Reading and decompressing WORLD.PAK

hello-present

Queued flips and GPU completion

hello-present-queue

Whole frames through the present queue

hello-seq

Sequenced music through psx-seq

hello-spstack

Scratchpad stack under interrupts

hello-tex

Cooked textures and indexed sprites

hello-tri

A complete triangle and frame loop

hello-wide

64-bit arithmetic without 64-bit types

hello-wide-div

Division of wide integers, checked and timed

hello-xa

Streaming XA-ADPCM music

hello-xa-resume

A music stream that survives a data read

pad-engine-check

Interrupt-driven pad engine against the synchronous driver

pollbench

Cycle cost of one controller poll

sfxbench

Cycle cost of the psx-sfx bookkeeping