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>
This commit is contained in:
@@ -0,0 +1,202 @@
|
||||
.file "vrend.c"
|
||||
// PGC Rel 2.0a -opt 2
|
||||
.text
|
||||
.globl _main
|
||||
.align 8
|
||||
_main:
|
||||
.a1 = 80
|
||||
.f1 = 48
|
||||
addu -(.a1+.f1), sp, sp
|
||||
st.l fp,(.f1-16)(sp)
|
||||
addu (.f1-16), sp, fp
|
||||
st.l r1, 4(fp)
|
||||
st.l r4, -16(fp)
|
||||
st.l r5, -12(fp)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// lineno: 0
|
||||
or (5000000&0xffff), r0, r4
|
||||
orh ((5000000>>16)&0xffff), r4, r4
|
||||
orh h%_shared_cntl, r0, r31
|
||||
or l%_shared_cntl, r31, r5
|
||||
// lineno: 25
|
||||
orh ha%__processorId, r0, r31
|
||||
ld.l l%__processorId(r31), r28
|
||||
|
||||
bte 0x0000, r28, .B614
|
||||
call _bla
|
||||
mov r4, r16
|
||||
orh h%.S00618, r0, r31
|
||||
or l%.S00618, r31, r16
|
||||
adds -1920, r0, r28
|
||||
ld.l r0(r28), r17
|
||||
|
||||
call _printf
|
||||
st.l r17, 0(r5)
|
||||
// lineno: 32
|
||||
.B673: //.M0000
|
||||
mov r4, r16
|
||||
.DB.B673673:
|
||||
orh h%.B673, r0, r1
|
||||
br _bla
|
||||
or l%.B673, r1, r1
|
||||
// lineno: 37
|
||||
.B614: //.B0000
|
||||
adds 4096, r0, r16
|
||||
.DB.B614614:
|
||||
|
||||
call _newBytes
|
||||
nop
|
||||
st.l r16, 0(r5)
|
||||
adds -1920, r0, r28
|
||||
st.l r16, 0(r28)
|
||||
call _bla
|
||||
mov r4, r16
|
||||
orh h%.S00627, r0, r31
|
||||
or l%.S00627, r31, r16
|
||||
call _printf
|
||||
ld.l r0(r5), r17
|
||||
call _bla
|
||||
mov r4, r16
|
||||
call _bla
|
||||
mov r4, r16
|
||||
orh h%.S00629, r0, r31
|
||||
call _printf
|
||||
or l%.S00629, r31, r16
|
||||
call _dN_mynode
|
||||
adds -4, fp, r16
|
||||
orh h%.S00632, r0, r31
|
||||
or l%.S00632, r31, r16
|
||||
call _printf
|
||||
ld.l -4(fp), r17
|
||||
orh h%.S00634, r0, r31
|
||||
call _printf
|
||||
or l%.S00634, r31, r16
|
||||
call _dN_nodes
|
||||
adds -8, fp, r16
|
||||
orh h%.S00637, r0, r31
|
||||
or l%.S00637, r31, r16
|
||||
call _printf
|
||||
ld.l -8(fp), r17
|
||||
orh ha%__processorId, r0, r31
|
||||
ld.l l%__processorId(r31), r28
|
||||
|
||||
btne 0x0000, r28, .B639
|
||||
call _newBytes
|
||||
adds 4096, r0, r16
|
||||
mov r16, r28
|
||||
adds 4096, r0, r16
|
||||
orh ha%_uncached_input_block, r0, r31
|
||||
call _newBytes
|
||||
st.l r28, l%_uncached_input_block(r31)
|
||||
mov r16, r28
|
||||
adds 4096, r0, r16
|
||||
orh ha%_uncached_output_block, r0, r31
|
||||
call _newBytes
|
||||
st.l r28, l%_uncached_output_block(r31)
|
||||
orh ha%_uncached_general_block, r0, r31
|
||||
st.l r16, l%_uncached_general_block(r31)
|
||||
// lineno: 63
|
||||
.B639: //.B0004
|
||||
ld.l -4(fp), r28
|
||||
.DB.B639639:
|
||||
adds 2, r0, r29
|
||||
shl r0, r0, r30
|
||||
btne r28, r29, ..L0
|
||||
adds 1, r0, r30
|
||||
..L0:
|
||||
orh ha%_replying, r0, r31
|
||||
st.l r30, l%_replying(r31)
|
||||
adds -2, r28, r16
|
||||
orh ha%_view_id, r0, r31
|
||||
st.l r16, l%_view_id(r31)
|
||||
|
||||
ld.l -8(fp), r17
|
||||
|
||||
adds -2, r17, r18
|
||||
orh ha%_total_views, r0, r31
|
||||
st.l r18, l%_total_views(r31)
|
||||
orh h%.S00648, r0, r31
|
||||
call _printf
|
||||
or l%.S00648, r31, r16
|
||||
ld.l -4(fp), r16
|
||||
call _remote_velocirender
|
||||
ld.l -8(fp), r17
|
||||
// lineno: 72
|
||||
|
||||
|
||||
|
||||
|
||||
ld.l -16(fp), r4
|
||||
ld.l -12(fp), r5
|
||||
adds .a1+16, fp, r31
|
||||
ld.l 4(fp), r1
|
||||
ld.l 0(fp), fp
|
||||
bri r1
|
||||
mov r31, sp
|
||||
.data
|
||||
.align 1
|
||||
.S00618: //
|
||||
// "Processor 1 thinks shared_cntl is at 0x%x\n"
|
||||
.byte 0x50,0x72,0x6f,0x63,0x65,0x73,0x73,0x6f,0x72,0x20,0x31
|
||||
.byte 0x20,0x74,0x68,0x69,0x6e,0x6b,0x73,0x20,0x73,0x68,0x61
|
||||
.byte 0x72,0x65,0x64,0x5f,0x63,0x6e,0x74,0x6c,0x20,0x69,0x73
|
||||
.byte 0x20,0x61,0x74,0x20,0x30,0x78,0x25,0x78,0x0a,0x00
|
||||
.S00627: //
|
||||
// "Processor 0 thinks shared_cntl is at 0x%x\n"
|
||||
.byte 0x50,0x72,0x6f,0x63,0x65,0x73,0x73,0x6f,0x72,0x20,0x30
|
||||
.byte 0x20,0x74,0x68,0x69,0x6e,0x6b,0x73,0x20,0x73,0x68,0x61
|
||||
.byte 0x72,0x65,0x64,0x5f,0x63,0x6e,0x74,0x6c,0x20,0x69,0x73
|
||||
.byte 0x20,0x61,0x74,0x20,0x30,0x78,0x25,0x78,0x0a,0x00
|
||||
.S00629: //
|
||||
// "about to call dN_mynode\n"
|
||||
.byte 0x61,0x62,0x6f,0x75,0x74,0x20,0x74,0x6f,0x20,0x63,0x61
|
||||
.byte 0x6c,0x6c,0x20,0x64,0x4e,0x5f,0x6d,0x79,0x6e,0x6f,0x64
|
||||
.byte 0x65,0x0a,0x00
|
||||
.S00632: //
|
||||
// "call dN_mynode, got %d\n"
|
||||
.byte 0x63,0x61,0x6c,0x6c,0x20,0x64,0x4e,0x5f,0x6d,0x79,0x6e
|
||||
.byte 0x6f,0x64,0x65,0x2c,0x20,0x67,0x6f,0x74,0x20,0x25,0x64
|
||||
.byte 0x0a,0x00
|
||||
.S00634: //
|
||||
// "about to call dN_nodes\n"
|
||||
.byte 0x61,0x62,0x6f,0x75,0x74,0x20,0x74,0x6f,0x20,0x63,0x61
|
||||
.byte 0x6c,0x6c,0x20,0x64,0x4e,0x5f,0x6e,0x6f,0x64,0x65,0x73
|
||||
.byte 0x0a,0x00
|
||||
.S00637: //
|
||||
// "call dN_nodes, got %d\n"
|
||||
.byte 0x63,0x61,0x6c,0x6c,0x20,0x64,0x4e,0x5f,0x6e,0x6f,0x64
|
||||
.byte 0x65,0x73,0x2c,0x20,0x67,0x6f,0x74,0x20,0x25,0x64,0x0a
|
||||
.byte 0x00
|
||||
.S00648: //
|
||||
// "entering while(1) deal_with loop\n"
|
||||
.byte 0x65,0x6e,0x74,0x65,0x72,0x69,0x6e,0x67,0x20,0x77,0x68
|
||||
.byte 0x69,0x6c,0x65,0x28,0x31,0x29,0x20,0x64,0x65,0x61,0x6c
|
||||
.byte 0x5f,0x77,0x69,0x74,0x68,0x20,0x6c,0x6f,0x6f,0x70,0x0a
|
||||
.byte 0x00
|
||||
.data
|
||||
.comm _my_id,4
|
||||
.comm _view_id,4
|
||||
.comm _total_views,4
|
||||
.comm _shared_cntl,4
|
||||
.comm __processorId,4
|
||||
.comm __numProcessors,4
|
||||
.extern _remote_velocirender
|
||||
.extern _dN_nodes
|
||||
.extern _dN_mynode
|
||||
.extern _newBytes
|
||||
.extern _printf
|
||||
.extern _bla
|
||||
Reference in New Issue
Block a user