.z syscall.def has tables from dos.asm in a slightly re-arranged form
.5ml 0f 70pw
\[Standard`System`Calls\]
;
;	CP/M COMPATABLE FUNCTIONS
XDOSZ:
;	DEVICE I/O
;
 DNORM	SYABT		; 0 - RETURN TO SYSTEM			00
 DNORM	SYC01		; 1 - READ CONSOLE			01
 DNORM	SYC02		; 2 - WRITE CONSOLE			02
 Dnet	SYC03,1		; 3 - READ READER			03
 Dnet	SYC04,2		; 4 - WRITE PUNCH			04
 Dnet	SYC05,3		; 5 - WRITE LIST			05
 DNORM	syc06		; 6 - direct console i/o	02.20	06
 DNORM	SYC07		; 7 - GET I/O STATUS			07
 DNORM	SYC08		; 8 - SET I/O STATUS			08
 DNORM	SYC09		; 9 - PRINT BUFFER			09
 DNORM	SYC10		;10 - READ BUFFER			0A
 DNORM	SYC11		;11 - INTERROGATE CONSOLE READY		0B
;
;	FILE I/O
;
 DNORM	VNMCPM		;12 -  return ver #		02.20	0C
 DNORM	SELDA		;13 - INIT CDOS				0D
 DNORM	SELDK		;14 - SELECT DISK			0E
 Dnet	FOPN,4		;15 - OPEN FILE				0F
 Dnet	FCLOS,5		;16 - CLOSE FILE			10
 Dnet	DRSCH,6		;17 - SEARCH FOR FILE			11
 Dnet	NXDIR,7		;18 - SEARCH FOR NEXT			12
 Dnet	DELFL,8		;19 - DELETE FILE			13
 dnet	RDFIL,9		;20 - READ FILE				14
 dnet	WRFIL,10	;21 - WRITE FILE			15
 dnet	CRFIL,11	;22 - CREATE FILE			16
 dnet	RENFL,12	;23 - RENAME FILE			17
 DNORM	RLOGV		;24 - GET LOG-IN VECTOR			18
 DNORM	RCDSK		;25 - GET DRIVE NUMBER			19
 DNORM	SETBF		;26 - SET BUFFER ADDRESS		1A
 DNORM	RALCV		;27 - GET ALLOCATION ADDRESS		1B
 DNORM	wrtptx	 (DR)	;28 - write protect disk	02.20	1C
 DNORM	rovec	 (DOS)	;29 - get r/o vector		02.20	1D
 dnet	atrix,13 (FL)	;30 - set atributes		02.20	1E
 DNORM	getdpb		;31 - cpm disk parm blk ***	02.20	1F
 DNORM	NOOP		;32 - Get/Set file owner	02.36	20
 dnet	ranrd,14 (FL3)	;33 - random read		02.20	21
 dnet	ranwr,15 (FL3)	;34 - random write		02.20	22
 dnet	cfsiz,16 (FL3)	;35 - compute file size		02.20	23
 dnet	ranst,17 (FL3)	;36 - set random record		02.20	24
 dnet	rxdrv,33	;37 - C/PM RESET DRIVE		02.37	25
 DNORM	NOOP		;38 - ALLOW ACCESS		02.37	26
 dnet	rxdrv,33	;39 - same as 37		02.37	27
 dnet	WRRZF,34	;40 - C/PM WRITE RANDOM W/FILL  02.37	28
;
\[Extended`System`Calls\]
;
;	NEW DOS COMMAND TABLE
;
XDOSL:	
 DNORM	RDCNE		; 0-READ CONSOLE/NO ECHO	80
 DNORM	RDURG		; 1-USER REGISTER PTR		81
 DNORM	STCLC		; 2-SET USER CONTROL-C ABORT	82
 Dnet	RDLBK,18 	; 3-READ LOGICAL BLOCK		83
 Dnet	WRLBK,19 	; 4-WRITE LOGICAL BLOCK	84
 DNORM	SPLCTL		; 5-spooling interface		85
 DNORM	NAMFB		; 6-FORMAT NAME TO FCB		86
 DNORM	ILLDOS		; 7-MADE ILLEGAL	02.20	87
 DNORM	PLINK		; 8-LINK TO PROGRAM		88
 DNORM	MULX		; 9-MULTIPLY			89
 DNORM  DIVX		;10-DIVIDE			8A
 Dnet	HOMEX,20 	;11-HOME DISK			8B
 DNET	EJCTX,21 	;12-EJECT DISK			8C
 DNORM	GVER		;13-GET VERSION NUMBER		8D
 DNORM	CSET		;14-SET CONSOLE CURSOR		8E
 DNORM	SDATE		;15-SET DATE			8F
 DNORM	RDATE		;16-READ DATE			90
 DNORM	STIME		;17-SET TIME			91
 DNORM	RTIME		;18-READ TIME			92
 DNORM	SETPRC		;19-SET PGM RET.CODE		93
 Dnet	ATBFL,22 	;20-SET FILE ATTRIBUTE		94
 Dnet	RDLABL,23 	;21-READ DISK LABEL		95
 Dnet	MTROFF,24 	;22-TURN MOTOR OFF		96
 DNORM	setbot	  (DR3)	;23-set bottom		02.20	97
 Dnet	readnv,25 (FL3)	;24-read w/o advance	02.20	98
 Dnet	writnv,26 (FL3)	;25-write w/o advance	02.20	99
 Dnet	tstalo,27 (DR)	;26-test allocated	02.20	9A
 DNORM	illdos		;27-deallocate		02.20	9B
 Dnet	dirlst,28 (CP)	;28-dir listing	02.20	9C
 DNORM	setopt	  (DOS)	;29-set pgm options	02.20	9D
 DNORM	illdos		;30-delete extent	02.20	9E
 DNORM	getmst	  (DOS)	;31-get master drive	02.20	9F
 Dnet	mnta0,29  (DR3)	;32-mount disk		02.20	A0
 Dnet	dmta1,30  (DR3)	;33-dismount		02.20	A1
 DNORM	ILLDOS		;UNASSIGNED			A2
;
\[I/OS`Extended`Call`Group`2\]
;	c0 series of commands	02.20
xdos2l:
 DNORM	illdos		;start user		02.20	C0
 DNORM	illdos		;stop user		02.20	C1
 Dnet	mntc2,31 	;mount disk		02.20	C2
 Dnet	dmtc3,32 	;dismount disk		02.20	C3
 DNORM	illdos		;get user status	02.20	C4
 DNORM	illdos		;dispatch message	02.20	C5
 DNORM	illdos		;record lock		02.20	C6
 DNORM	ILLDOS		;MULTI CALL			C7
 DNORM	ILLDOS		;MULTI CALL			C8
 DNORM	ILLDOS		;MULTI CALL			C9
 DNORM	ILLDOS		;MULTI CALL			CA
 DNORM	ILLDOS		;MULTI CALL			CB
 DNORM	SYCNUL		;PRINT BUFFER TO NULL		CC
 DNORM	ILLDOS		;MULTI CALL			CD
 DNORM	DIOFG		;SET I/O ERROR FLAG		CE
 DNORM	ILLDOS		;MULTI CALL			CF
 DNORM	ILLDOS		;MULTI CALL			D0
 DNORM	ILLDOS		;MULTI CALL			D1
 DNORM	ILLDOS		;UNASSIGNED			D2
;
