Files
TeslaRel410/sda4/DPL3/VRENDER/PXPL5SUP/PXPL5TRI.S
T
CydandClaude Fable 5 db7745fcd0 sda4: commit the Glaze developer hard-drive dump
Un-ignored: the dev drive is the ground truth the restoration and
emulator work constantly reference (DPL3/LIBDPL + VRENDER i860 renderer
source, BT/RP live+dev game trees, VGL_LABS pod boot, scene/audio
content). Kept in-repo for the pod-owner community.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 19:41:15 -05:00

167 lines
4.1 KiB
ArmAsm

.file "pxpl5tri.c"
// PGC Rel 2.0a -opt 2
.text
.globl _tri_zb_d_s
.align 8
_tri_zb_d_s:
.a1 = 80
.f1 = 32
addu -(.a1+.f1), sp, sp
st.l fp,(.f1-16)(sp)
addu (.f1-16), sp, fp
st.l r1, 4(fp)
st.l r17, 52(fp)
st.l r18, 56(fp)
st.l r19, 60(fp)
// lineno: 66
ld.l 52(fp), r18
mov r0, r17
ld.l 56(fp), r19
ld.l 60(fp), r20
call _preplanarize_fn
mov r0, r21
call _edgize_tri_fn
nop
call _zbuffer_fn
nop
adds 1638, r0, r16
call _planarize_fn
adds 3, r0, r17
adds 1638, r0, r16
call _planarize_fn
adds 4, r0, r17
adds 1638, r0, r16
adds 4, r0, r17
call _safe_binitize_fn
adds 10, r0, r18
// lineno: 77
adds .a1+16, fp, r31
ld.l 4(fp), r1
ld.l 0(fp), fp
bri r1
mov r31, sp
.globl _tri_zb_d_s_tex
.align 8
_tri_zb_d_s_tex:
.a2 = 80
.f2 = 32
addu -(.a2+.f2), sp, sp
st.l fp,(.f2-16)(sp)
addu (.f2-16), sp, fp
st.l r1, 4(fp)
st.l r17, 52(fp)
st.l r18, 56(fp)
st.l r19, 60(fp)
// lineno: 82
ld.l 52(fp), r18
mov r0, r17
ld.l 56(fp), r19
ld.l 60(fp), r20
call _preplanarize_fn
mov r0, r21
call _edgize_tri_fn
nop
call _zbuffer_fn
nop
adds 1638, r0, r16
call _planarize_fn
adds 3, r0, r17
adds 1638, r0, r16
call _planarize_fn
adds 4, r0, r17
adds 1638, r0, r16
call _planarize_fn
adds 5, r0, r17
adds 1638, r0, r16
call _planarize_fn
adds 6, r0, r17
adds 1638, r0, r16
call _planarize_fn
adds 7, r0, r17
adds 1638, r0, r16
adds 4, r0, r17
call _safe_binitize_fn
adds 10, r0, r18
// lineno: 96
adds .a2+16, fp, r31
ld.l 4(fp), r1
ld.l 0(fp), fp
bri r1
mov r31, sp
.globl _tri_zb_d_s_texm
.align 8
_tri_zb_d_s_texm:
// lineno: 101
bri r1
mov r0, r16
// lineno: 102
bri r1
nop
.extern _safe_binitize_fn
.extern _planarize_fn
.extern _zbuffer_fn
.extern _edgize_tri_fn
.extern _preplanarize_fn