Files
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

98 lines
2.1 KiB
ArmAsm

.file "walltime.c"
// PGC Rel 2.0a -opt 2
.text
.globl _second_
.align 8
_second_:
.a1 = 0
.f1 = 32
addu -(.a1+.f1), sp, sp
st.l fp,(.f1-16)(sp)
addu (.f1-16), sp, fp
st.l r1, 4(fp)
fst.d f2, -8(fp)
// lineno: 0
// lineno: 22
call _times
mov r0, r16
orh ha%.C00060, r0, r31
fld.d l%.C00060(r31), f16
xorh 0x8000, r16, r28
ixfr r28, f18
fiadd.ss f17, f0, f19
fsub.dd f18, f16, f20
orh ha%.C00062, r0, r31
fld.d l%.C00062(r31), f26
fmov.ds f20, f22
orh ha%_lastTime, r0, r31
fld.l l%_lastTime(r31), f30
fmov.sd f22, f24
fmul.dd f24, f26, f28
fmov.ds f28, f2
pfle.ss f30, f2, f0
bnc .B55
orh ha%.C00056, r0, r31
fld.d l%.C00056(r31), f8
fmov.sd f2, f10
fadd.dd f10, f8, f12
fmov.ds f12, f2
// lineno: 27
.B55: //.B0000
orh ha%_lastTime, r0, r31
.DB.B5555:
fst.l f2, l%_lastTime(r31)
fiadd.ss f2, f0, f8
// lineno: 0
// lineno: 29
fld.d -8(fp), f2
adds .a1+16, fp, r31
ld.l 4(fp), r1
ld.l 0(fp), fp
bri r1
mov r31, sp
.data
.align 8
.C00060: // (0)
.long 0x80000000, 0x43300000 // 4.50360177485414400E+15
.C00062: // (8)
.long 0xa0b5ed8d, 0x3eb0c6f7 // 9.99999999999999955E-07
.C00056: // (16)
.long 0xa0a52696, 0x40b0c6f7 // 4.29496729500000038E+03
.data
.align 4
_lastTime: //lastTime
.long 0x0 // 0.00000000E+00
.extern _times