Functions
generic-initialize(arg0: generic-dma-foreground-sink, arg1: matrix, arg2: vu-lights) => nonesource
generic-initialize-without-sink(arg0: matrix, arg1: vu-lights) => nonesource
Prepare for Generic.
Upload the generic vu0 block and set the matrix and lights.
The generic VU0 block is loaded to program address 0.
generic-upload-vu0() => nonesource
Start upload, but don't sync yet.
Generating the DMA chain is not as optimized.
generic-work-init(arg0: generic-dma-foreground-sink) => nonesource
Initialize generic-work.
generic-wrapup(arg0: generic-dma-foreground-sink) => nonesource
upload-vu0-program(func: vu-function, wait-ptr: pointer) => nonesource
Upload and block until done.
Generating the DMA is highly optimized.
Variables
*target-lock*: symbolsource
Types
ad-cmd: structuresource
Fields
word: uint32
quad: uint128
data: uint64
cmds: uint64
cmd: gs-reg
x: uint32
y: uint32
z: uint32
w: uint32
generic-consts: structuresource
Fields
dma-header: dma-packet
vif-header: uint32
dma-ref-vtxs: dma-packet
dma-cnt-call: dma-packet
matrix: matrix
base-strgif: generic-gif-tag
alpha-opaque: ad-cmd
alpha-translucent: ad-cmd
ztest-normal: ad-cmd
ztest-opaque: ad-cmd
adcmd-offsets: uint8
adcmds: ad-cmd
stcycle-tag: uint32
unpack-vtx-tag: uint32
unpack-clr-tag: uint32
unpack-tex-tag: uint32
mscal-tag: uint32
flush-tag: uint32
reset-cycle-tag: uint32
dummy0: uint32
dma-tag-cnt: uint64
envmap: generic-envmap-consts
light-consts: vector
texture-offset: uint16
generic-envmap-consts: structuresource
generic-gif-tag: structuresource
generic-interp-job: structuresource
Fields
job-type: uint16
num: uint16
first: uint16
pad: uint16
ptr-data: uint32
morph-z: uint16
morph-w: uint16
generic-saves: structuresource
Fields
ptr-dma: uint32
ptr-vtxs: uint32
ptr-clrs: uint32
ptr-texs: uint32
ptr-env-clrs: uint32
ptr-env-texs: uint32
cur-outbuf: uint32
ptr-fx-buf: uint32
xor-outbufs: uint32
num-dps: uint32
qwc: uint32
gsf-buf: gsf-buffer
ptr-shaders: uint32
ptr-env-shader: uint32
is-envmap: uint32
basep: uint32
ptr-interp-job: generic-interp-job
gifbuf-adr: uint32
inbuf-adr: uint32
fade-val: uint32
time-of-day-color: rgba
to-vu0-waits: uint32
to-spr-waits: uint32
from-spr-waits: uint32
envmap: generic-envmap-saves
gsf-buffer: structuresource
gsf-fx-vertex-array: structuresource
Fields
data: gsf-fx-vertex
gsf-header: structuresource
gsf-vertex: structuresource
gsf-vertex-array: structuresource
Fields
vtx: gsf-vertex
Variables
Types
Functions
generic-merc-add-to-cue(arg0: generic-dma-foreground-sink) => nonesource
generic-merc-execute-all(arg0: dma-buffer) => nonesource
Run the EE part of the generic renderer for all generic merc stuff.
This will build DMA data in the format for generic.
Variables
*inv-init-table*: inline-arraysource
const mercneric-vu0-block: vu-functionsource
Functions
generic-tie-execute(arg0: generic-dma-foreground-sink, arg1: dma-buffer, arg2: basic) => nonesource
Variables
*generic-tie*: symbolsource
Variables
generic-vu0-block: vu-functionsource
Types
generic-constants: structuresource
Functions
generic-add-constants(arg0: dma-buffer, arg1: int) => nonesource
generic-init-buf(arg0: dma-buffer, arg1: int, arg2: gs-zbuf) => nonesource
generic-setup-constants(arg0: generic-constants, arg1: int) => nonesource
Variables
generic-vu1-block: vu-functionsource
Types
generic-debug: structuresource
generic-effect-buffer: structuresource
generic-effect-work: structuresource
generic-input-buffer: structuresource
generic-texbuf: structuresource
generic-vu1-header: structuresource
generic-vu1-texbuf: structuresource
generic-work: structuresource
Fields
saves: generic-saves
storage: generic-storage
in-buf: generic-input-buffer
fx-buf: generic-effect-buffer
Variables
Functions
generic-init-buffers() => symbolsource
generic-sink(i: int) => generic-dma-foreground-sinksource
Get the generic sink i