DataMuseum.dk

Presents historical artifacts from the history of:

Regnecentalen RC-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Regnecentalen RC-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦492544858⟧ TextFile

    Length: 1587 (0x633)
    Types: TextFile
    Notes: Uncompressed file

Derivation

└─⟦82ee0715d⟧ Bits:30004771 Terminal Driver Rel. 1.2 (3.5 inch)
└─⟦82ee0715d⟧ UNIX Filesystem
    └─ ⟦13ce32aeb⟧ »RCTDR.ISC/new/usr/include/sys/tdtrace.h.Z« 
    └─ ⟦13ce32aeb⟧ »RCTDR.SCO/new/usr/include/sys/tdtrace.h.Z« 
└─⟦ca69fd3f9⟧ Bits:30004770 Terminal Driver Rel. 1.2 (5.25 inch)
└─⟦ca69fd3f9⟧ UNIX Filesystem
    └─ ⟦13ce32aeb⟧ »RCTDR.ISC/new/usr/include/sys/tdtrace.h.Z« 
    └─ ⟦13ce32aeb⟧ »RCTDR.SCO/new/usr/include/sys/tdtrace.h.Z« 
        └─⟦this⟧ 

TextFile

#ident	"@(#)tdtrace.h	1.1 - 91/03/15"

struct tdtrace {
unchar	event, unit, chan;
ushort	td1, td2, td3, td4;
};

						/* event type		mt1		mt2		mt3		mt4		*/

#define	MT_SCMD		0	/* send command		op		cmd		addr	size	*/
#define MT_WE		1	/* wait event		pid				bit ..	bit		*/
#define MT_WEC		2	/* wait event cmpl	pid		errno					*/
#define	MT_SIG		3	/* signal			pgrp	signo					*/
#define	MT_INIT		4	/* muxgate1											*/
#define	MT_OPEN		5	/* open call		pid								*/
#define	MT_CLOSE	6	/* close call		pid								*/
#define	MT_READ		7	/* read call		pid		count					*/
#define	MT_WRITE	8	/* write call		pid		count					*/
#define	MT_IOCTL	9	/* ioctl call		pid		cmd						*/
#define	MT_RCMD		10	/* rec command		op,res	cmd		addr	count	*/

/* ioctl commands */
#define MTCLRALL	('M'<<8 | 20)
#define MTSETALL	('M'<<8 | 21)
#define MTCLRTR		('M'<<8 | 22)
#define MTSETTR		('M'<<8 | 23)
#define MTCLRBUF	('M'<<8 | 24)
#define MTCLRUN		('M'<<8 | 25)
#define MTSETUN		('M'<<8 | 26)

struct tdioctl {
	short ctr, dev;
};

/* trflags */
#define	F_INITB		0x0001	/* reset buffer						*/
#define	F_CHN		0x0002	/* channel number typed				*/
#define	F_UNIT		0x0004	/* unit number typed				*/
#define	F_RECORDS	0x0008	/* number of records typed			*/
#define	F_TRALL		0x0010	/* trace all channels				*/
#define	F_STPALL	0x0020	/* stop all trace					*/
#define	F_TRCHN		0x0040	/* trace unit, channel				*/
#define	F_STPCHN	0x0080	/* stop trace unit, channel			*/
#define	F_TRFLAGS	(F_TRALL | F_STPALL | F_TRCHN | F_STPCHN)
#define	F_DEV		(F_CHN | F_UNIT)
#define	F_ALL		(F_INITB | F_DEV | F_RECORDS | F_TRFLAGS)