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

73 lines
1.6 KiB
C++

/*
File pazpl5.c
The pxpl5 renderer main
*/
#include <stdio.h>
#include <stdlib.h>
#include "multicpu.h"
extern void bla(int);
extern int remote_velocirender ( int me, int total );
extern int replying;
extern void dN_timer ( int *time );
int my_id, view_id, total_views;
concurrency_control *shared_cntl;
int _processorId,
_numProcessors;
int main ( int argc, char *argv[])
{
int client=0;
int then, me, total;
if (_processorId) {
bla ( 5000000 );
shared_cntl=*((concurrency_control **) 0xfffff880);
printf ("Processor 1 thinks shared_cntl is at 0x%x\n", shared_cntl );
while(1) {
bla ( 5000000 );
}
}
else {
shared_cntl=(concurrency_control *) newBytes (4096);
*((concurrency_control **) 0xfffff880) = shared_cntl;
bla ( 5000000 );
printf ("Processor 0 thinks shared_cntl is at 0x%x\n", shared_cntl );
bla ( 5000000 );
bla ( 5000000 );
}
printf ("about to call dN_mynode\n" );
dN_mynode( &me );
printf ("call dN_mynode, got %d\n", me );
printf ("about to call dN_nodes\n" );
dN_nodes ( &total );
printf ("call dN_nodes, got %d\n", total );
if (_processorId==0) {
extern int *uncached_input_block;
extern int *uncached_output_block;
extern int *uncached_general_block;
uncached_input_block =(int *) newBytes(4096);
uncached_output_block =(int *) newBytes(4096);
uncached_general_block=(int *) newBytes(4096);
}
view_id=me-2;
total_views=total-2;
replying=(me==2);
printf ("entering while(1) deal_with loop\n" );
remote_velocirender ( me, total );
}