/* L3Xconf - L3X configuration (device configuration specifications) */

tty:	on BIOS
		-i ttyinit -o ttyopen -c ionull
		-r ttyread -w ttywrite -s ionull
		-g ttygetc -p ttyputc -n ttycntl
		-iint ttyiin
		norefct

	on WINDOW
		-i lwinit -o lwopen -c lwclose
		-r lwread -w lwwrite -s ionull
		-g lwgetc -p lwputc -n lwcntl

xio:
		-i ionull -o xioopen -c ionull
		norefct

sio:
		-i sioinit -o sioopen -c sioclose
		-r sioread -w siowrite -s sioseek
		-g siogetc -p sioputc -n siocntl
		norefct

null:
		-i ionull -o nullopen -c ionull
		-r nullread -w nullwrit -s ionull
		-g nullgetc -p ionull -n ionull
		norefct

dsk:
		-i dsinit -o dsopen -c ionull
		-r dsread -w dswrite -s dsseek
		-g ioerr -p ioerr -n dscntl
		norefct

df:
		-i lfinit -o lfopen -c lfclose
		-r lfread -w lfwrite -s lfseek
		-g lfgetc -p lfputc -n ioerr

dos:
		-i ionull -o msopen -c ionull
		-r ioerr -w ioerr -s ioerr
		-g ioerr -p ioerr -n mscntl
		norefct

mf:
		-i mfinit -o nullopen -c mfclose
		-r mfread -w mfwrite -s mfseek
		-g mfgetc -p mfputc -n ioerr

nam:
		-i naminit -o namopen -c ionull
		-n namcntl
		norefct

pipm:
		-i ionull -o pipopen -c ionull
		-r ioerr -w ioerr -s ioerr
		-n ionull -g ioerr -p ioerr
		norefct

pip:
		-i pipinit -o nullopen -c pipclose
		-r pipread -w pipwrite -s ioerr
		-n ionull -g pipgetc -p pipputc
		norefct

%

#include <pc.h>			/* generic PC definitions */

/* console + windows */

CONSOLE	is tty on BIOS		name="tty" ivec="KBDVEC|BIOSFLG"

STDIO is xio		name="stdio"
STDIN is sio		name="stdin"
STDOUT is sio		name="stdout"
STDERR is sio		name="stderr"
NULLDEV	is null		name="null"

GENERIC is sio
GENERIC is sio
GENERIC is sio
GENERIC is sio
GENERIC is sio


/* disk device + logical files */
/*
DS0	is dsk		name="ds0"
GENERIC	is df
GENERIC	is df
GENERIC	is df
GENERIC	is df
*/

/* MS-DOS file interface + logical files */

DOS	is dos		name="dos"

GENERIC	is mf
GENERIC	is mf
GENERIC	is mf
GENERIC	is mf

/* Syntactic name space */
NAMESPACE is nam	name="namespace"

/* Pipe master device */
PIPE is pipm     name="pipe"

/* Pseudo-slots for pipes */
GENERIC is pip
GENERIC is pip
GENERIC is pip
GENERIC is pip

/* 
GENERIC	is tty on WINDOW
GENERIC	is tty on WINDOW
GENERIC	is tty on WINDOW
GENERIC	is tty on WINDOW
GENERIC	is tty on WINDOW
GENERIC	is tty on WINDOW
*/

%

/* Configuration and size constants */

#define MEMMARK			/* enable memory marking	*/
#define NPROC 64		/* number of user processes	*/
#define NSEM 128		/* total number of semaphores	*/
#define	RTCLOCK			/* system has a real-time clock	*/
#define NPORTS 16
#define	TIMERGRAN 1		/* timer granularity, secs/10	*/
#define VERSION "L3X 1.2"	/* label printed at startup	*/


