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>
46 lines
1006 B
C++
46 lines
1006 B
C++
/*
|
|
FILE : LINKIO.H
|
|
PROJECT : dView
|
|
Author : Phil Atkin
|
|
|
|
|
|
(C) Division Ltd 1991 / 1992.
|
|
|
|
Header file for linkio.c
|
|
low-level driver interface for transputer links / link adapters
|
|
|
|
*/
|
|
|
|
#ifndef linkio_h
|
|
#define linkio_h
|
|
|
|
#include "basictyp.h"
|
|
|
|
#ifdef UNIX
|
|
extern void initLA (char *);
|
|
#else
|
|
extern void initLA (void);
|
|
#endif
|
|
|
|
#define link_io_error __connected=0; printf
|
|
#define link_io_ABORTCHECK if (__connected == 0) goto abort
|
|
#define link_io_EXITZERO abort: return 0
|
|
#define link_io_EXIT abort: return
|
|
|
|
extern int32 __connected;
|
|
|
|
extern void linkio_error ( char* );
|
|
|
|
extern void setLA ( int );
|
|
extern void reset(void);
|
|
extern int32 outputOrFail ( unsigned char b);
|
|
extern int32 inputOrFail ( unsigned char *b);
|
|
extern int32 inputReady(void);
|
|
extern int32 altRecord (void);
|
|
|
|
extern int32 outRecord(char *packet, int32 bytes );
|
|
extern int32 inRecord(char *packet, int32 bytes );
|
|
extern int32 fifo_ok_status(void);
|
|
|
|
#endif
|