; Hardware vectors.

; Memory Routines.

	xdef		BAR$			;'BAR$ 		Symbol is declared global to external modules..'
	xdef		BUR$			;'BUR$ 		Symbol is declared global to external modules..'
	xdef		zHIGH$			;'zHIGH$ 	Symbol is declared global to external modules..'
	xdef		LBANK$			;'LBANK$	Symbol is declared global to external modules..'
	xdef		PHIGH$			;'PHIGH$	Symbol is declared global to external modules..'

; Video modules.

	xdef 		ADDR_2_ROWCOL 		;'ADDR_2_ROWCOL	Symbol is declared global to external modules..'
	xdef		GET_z_ROWCOL		;'GET_@_ROWCOL	Symbol is declared global to external modules..'
	xdef		DIS_DO_RAM		;'DIS_DO_RAM	Symbol is declared global to external modules..'
	xdef		DODATA$			;'DODATA$	Symbol is declared global to external modules..'
	xdef		DO_CONTROL		;'DO_CONTROL	Symbol is declared global to external modules..'
	xdef		DO_DSPCHAR		;'DO_DSPCHAR	Symbol is declared global to external modules..'
	xdef		DO_INVERT_DIS		;'DO_INVERT_DIS	Symbol is declared global to external modules..'
	xdef		DO_INVERT_ENA		;'DO_INVERT_ENA	Symbol is declared global to external modules..'
	xdef		DO_INVERT_OFF		;'DO_INVERT_OFF	Symbol is declared global to external modules..'
	xdef		DO_MASK			;'DO_MASK	Symbol is declared global to external modules..'
	xdef		DO_RET			;'DO_RET	Symbol is declared global to external modules..'
	xdef		DO_RET1			;'DO_RET1	Symbol is declared global to external modules..'
	xdef		DO_SCROLL		;'DO_SCROLL	Symbol is declared global to external modules..'
	xdef		DO_TABS			;'DO_TABS	Symbol is declared global to external modules..'
	xdef		ENADIS_DO_RAM		;'ENADIS_DO_RAM	Symbol is declared global to external modules..'
	xdef		PUT_z_ROWCOL		;'PUT_z_ROWCOL	Symbol is declared global to external modules..'
	xdef		ROWCOL_2_ADDR		;'ROWCOL_2_ADDR	Symbol is declared global to external modules..'
	xdef		z_VDCTL			;'z_VDCTL	Symbol is declared global to external modules..'
	xdef 		zVDCTL			;'zVDCTL	Symbol is declared global to external modules..'
	xdef		zVDCTL3			;'zVDCTL3	Symbol is declared global to external modules..'

; Keyboard module/routines.


	xdef		TYPHK$			;'TYPHK$	Symbol is declared global to external modules..'
	xdef		TYPTSK$			;'TYPTSK$	Symbol is declared global to external modules..'
	xdef 		zKBD			;'zKBD		Symbol is declared global to external modules..'
	xdef 		zKEY			;'zKEY		Symbol is declared global to external modules..'
	xdef 		zKEYIN			;'zKEYIN	Symbol is declared global to external modules..'
	xdef 		zKITSK			;'zKITSK	Symbol is declared global to external modules..'
	xdef 		zKLTSK			;'zKLTSK	Symbol is declared global to external modules..'
	xdef		KIDATA$			;'KIDATA$	Symbol is declared global to external modules..'
	xdef		BREAKz			;'BREAK?	Symbol is declared global to external modules..'


; Test system flag table.

	XDEF		PFLAG$


; Function calls.


	xdef 		zBANK			;'zBANK		Symbol is declared global to external modules..'
	xdef 		zspace.BYTEIO$		;'BYTEIO$	Symbol is declared global to external modules..'

	xdef 		zCHNIO			;'zCHNIO	Symbol is declared global to external modules..'
	xdef 		zCKBRKC			;'zCKBRKC	Symbol is declared global to external modules..'

	xdef 		DATEz			;'zDATE		Symbol is declared global to external modules..'
	xdef 		zDIV16			;'zDIV16	Symbol is declared global to external modules..'
	xdef 		zDSP			;'zDSP		Symbol is declared global to external modules..'
	xdef 		zDSPLY			;'zDSPLY	Symbol is declared global to external modules..'


	xdef 		zGET			;'zGET		Symbol is declared global to external modules..'

	xdef 		zHEX16			;'zHEX16	Symbol is declared global to external modules..'
	xdef 		zHEX8			;'zHEX8		Symbol is declared global to external modules..'
	xdef 		zHEXDEC			;'zHEXDEC	Symbol is declared global to external modules..'

	xdef 		zJCL			;'zJCL		Symbol is declared global to external modules..'


	xdef 		zLOGOT			;'zLOGOT	Symbol is declared global to external modules..'

	xdef 		zMSG			;'zMSG		Symbol is declared global to external modules..'
	xdef 		zMUL16			;'zMUL16	Symbol is declared global to external modules..'

	xdef 		zPRINT			;'zPRINT	Symbol is declared global to external modules..'
	xdef 		zPRT			;'zPRT		Symbol is declared global to external modules..'
	xdef 		zPUT			;'zPUT		Symbol is declared global to external modules..'
	xdef		PUT_z			;'PUT_@		Symbol is declared global to external modules..'


	xdef 		zWEOF			;'zWEOF		Symbol is declared global to external modules..'
	xdef		zWHERE			;'zWHERE	Symbol is declared global to external modules..'
	xdef		zWRITE			;'zWRITE	Symbol is declared global to external modules..'
	xdef 		zWRSEC			;'zWRSEC	Symbol is declared global to external modules..'
	xdef 		zWRSSC			;'zWRSSC	Symbol is declared global to external modules..'
	xdef		zWRTRK			;'zWRTRK	Symbol is declared global to external modules..'


; File control blocks.

	xdef		CFGFCB$			;'CFGFCB$	Symbol is declared global to external modules..'
	xdef		CFCB$			;'CFCB$		Symbol is declared global to external modules..'
	xdef		JFCB$			;'JFCB$		Symbol is declared global to external modules..'
	xdef		SFCB$			;'SFCB$		Symbol is declared global to external modules..'
	
; Device control blocks.

	xdef		DODCB$			;'DODCB$	Symbol is declared global to external modules..'
	xdef		JCLCB$			;'JCLCB$	Symbol is declared global to external modules..'
	xdef		JDCB$			;'JDCB$		Symbol is declared global to external modules..'
	xdef		JLDCB$			;'JLDCB$	Symbol is declared global to external modules..'
	xdef		KIDCB$			;'KIDCB$	Symbol is declared global to external modules..'
	xdef		PRDCB$			;'PRDCB$	Symbol is declared global to external modules..'
	xdef		SIDCB$			;'SIDCB$	Symbol is declared global to external modules..'
	xdef		SODCB$			;'SODCB$	Symbol is declared global to external modules..'
	xdef		U0DCB$			;'S1DCB$	Symbol is declared global to external modules..'

; Drive Control Tables.


	xdef		DCT$			;'DCT$		Symbol is declared global to external modules..'
	XDEF		DCT0$
	XDEF		DCT1$
	XDEF		DCT6$
	XDEF		FDCDVR

; Machine code blocks.

	xdef		BRKVEC$			;'BRKVEC$	Symbol is declared global to external modules..'
	XDEF		zNMI
	XDEF		zRST00
	XDEF		zRST38
	xdef		FDDINT$			;'FDDINT$	Symbol is declared global to external modules..'
	xdef		FEMSK$			;'FEMSK$	Symbol is declared global to external modules..'
	xdef		WRINT$			;'WRINT$	Symbol is declared global to external modules..'
	xdef		INTIM$			;'INTIM$	Symbol is declared global to external modules..'
	xdef		INTMSK$			;'INTMSK$	Symbol is declared global to external modules..'
	xdef		INTVC$			;'INTVC$	Symbol is declared global to external modules..'

; OS data blocks.

	xdef		DAYTBL$			;'DAYTBL$	Symbol is declared global to external modules..'
	xdef		INBUF$			;'INBUF$	Symbol is declared global to external modules..'
	xdef		MAXDAY$			;'MAXDAY$	Symbol is declared global to external modules..'
	xdef		OSRLS$			;'OSRLS$	Symbol is declared global to external modules..'
	xdef		OSVER$			;'OSVER$	Symbol is declared global to external modules..'
	xdef		OVRLY$			;'OVRLY$	Symbol is declared global to external modules..'
	xdef		PAKNAM$			;'PAKNAM$	Symbol is declared global to external modules..'
	xdef		SVCRET$			;'SVCRET$	Symbol is declared global to external modules..'
	xdef		SVCTAB$			;'SVCTAB$	Symbol is declared global to exter
	XDEF		FLGTAB$
	XDEF		SFLAG$
	xdef		USTOR$			;'USTOR$	Symbol is declared global to external modules..'
	xdef 		zUSA			;'zUSA		Symbol is declared global to external modules..'
	xdef		PCSAVE$			;'PCSAVE$	Symbol is declared global to external modules..'
	xdef		PDRV$			;'PDRV$		Symbol is declared global to external modules..'



	XDEF		zLOAD
	XDEF		zICNFG
	XDEF		zCMNDI
	xdef		CASHK$			;'CASHK$	Symbol is declared global to external modules..'
	xdef		CKOPENz			;'CKOPEN@	Symbol is declared global to external modules..'
	xdef		CYL_GRN			;'CYL_GRN	Symbol is declared global to external modules..'
	XDEF		zCTL
	xdef		DATE$			;'DATE$		Symbol is declared global to external modules..'
	xdef		DBGSV$			;'DBGSV$	Symbol is declared global to external modules..'
	xdef		DCBKL$			;'DCBKL$	Symbol is declared global to external modules..'
	xdef		DSKTYP$			;'DSKTYP$	Symbol is declared global to external modules..'
	xdef		DTPMT$			;'DTPMT$	Symbol is declared global to external modules..'
	xdef		DVREND$			;'DVREND$	Symbol is declared global to external modules..'
	xdef		DVRHI$			;'DVRHI$	Symbol is declared global to external modules..'
	Xdef		EXTDBG$			;'EXTDBG$	Symbol is declared global to external modules..'
	xdef		HKRES$			;'HKRES$	Symbol is declared global to external modules..'
	xdef		JRET$			;'JRET$		Symbol is declared global to external modules..'
	xdef		LDRV$			;'LBANK$	Symbol is declared global to external modules..'
	xdef		LSVC$			;'LSVC$		Symbol is declared global to external modules..'
	xdef		COREMIN$		;'MINCOR$$	Symbol is declared global to external modules..'
	xdef		MONTBL$			;'MONTBL$	Symbol is declared global to external modules..'
	xdef		OPREG_SV_AREA		;'OPREG_SV_AREA	Symbol is declared global to external modules..'
	xdef		OPREG_SV_PTR		;'OPREG_SV_PTR$	Symbol is declared global to external modules..'
	xdef		ORARETz			;'ORARET@	Symbol is declared global to external modules..'
	xdef		zPAUSE			;'PAUSE@	Symbol is declared global to external modules..'
	xdef		PUTAzDE			;'PUTA@DE	Symbol is declared global to external modules..'
	xdef		RSTOR$			;'RSTOR$	Symbol is declared global to external modules..'
	xdef		RWRITz			;'RWRIT@	Symbol is declared global to external modules..'
	xdef		SBUFF$			;'SBUFF$	Symbol is declared global to external modules..'
	xdef		SETzEXEC		;'SET@EXEC	Symbol is declared global to external modules..'
	xdef		SET_SCROLL		;'SET_SCROLL	Symbol is declared global to external modules..'
	xdef		STACK$			;'STACK$	Symbol is declared global to external modules..'
	xdef		SYSERR$			;'SYSERR$	Symbol is declared global to external modules..'
	xdef		TCB$			;'TCB$		Symbol is declared global to external modules..'
	xdef		TIME$			;'TIME$		Symbol is declared global to external modules..'
	xdef		TIMER$			;'TIMER$	Symbol is declared global to external modules..'
	xdef		TIMSL$			;'TIMSL$	Symbol is declared global to external modules..'
	xdef		TMPMT$			;'TMPMT$	Symbol is declared global to external modules..'
	xdef		TRACE_INT		;'TRACE_INT	Symbol is declared global to external modules..'
	xdef		ZERO$			;'ZERO$		Symbol is declared global to external modules..'
	xdef		ZEROAz			;'ZEROA@	Symbol is declared global to external modules..'
	xdef		DzFBYT8			;'D@FBYT8	Symbol is declared global to external modules..'
	xdef		KCKz			;'KCK@		Symbol is declared global to external modules..'
	xdef		DCTBYT8z		;'DCTBYT8@	Symbol is declared global to external modules..'
	xdef		DCTFLDz			;'DCTFLD@	Symbol is declared global to external modules..'
	
	xdef		U1DVR
	xdef		U0DVR
	XDEF		TXUART0

	xdef		net_volume

; TRS_OS associated xdefs.

	XDEF		int_tmr1_cnt
	XDEF		pump_switch_value
	XDEF		pump_switch
	XDEF		GETDATE
	XDEF		GETTIME
	XDEF		ramdrv$
	XDEF		reboot
	XDEF		bin2bcd

; eZ80 associated xdef's.


		XDEF		EMAC.RX.handler
		XDEF		EMAC.TX..handler
		XDEF		EMAC.SYS.handler
		XDEF		PLL.handler
		XDEF		FLASH.handler
		XDEF		TIMER0.handler
		XDEF		f91_TIMER1.handler
		XDEF		TIMER2.handler
		XDEF		TIMER3.handler
		XDEF		STRAY.handler
		XDEF		RTC.handler
		XDEF		UART0.handler
		XDEF		UART1.handler
		XDEF		I2C.handler
		XDEF		SPI.handler
		XDEF		PORT.A.BIT0.handler
		XDEF		PORT.A.BIT1.handler
		XDEF		PORT.A.BIT2.handler
		XDEF		PORT.A.BIT3.handler
		XDEF		PORT.A.BIT4.handler
		XDEF		PORT.A.BIT5.handler
		XDEF		PORT.A.BIT6.handler
		XDEF		PORT.A.BIT7.handler
		XDEF		PORT.B.BIT0.handler
		XDEF		PORT.B.BIT1.handler
		XDEF		PORT.B.BIT2.handler
		XDEF		PORT.B.BIT3.handler
		XDEF		PORT.B.BIT4.handler
		XDEF		PORT.B.BIT5.handler
		XDEF		PORT.B.BIT6.handler
		XDEF		PORT.B.BIT7.handler
		XDEF		PORT.C.BIT0.handler
		XDEF		PORT.C.BIT1.handler
		XDEF		PORT.C.BIT2.handler
		XDEF		PORT.C.BIT3.handler
		XDEF		PORT.C.BIT4.handler
		XDEF		PORT.C.BIT5.handler
		XDEF		PORT.C.BIT6.handler
		XDEF		PORT.C.BIT7.handler
		XDEF		PORT.D.BIT0.handler
		XDEF		PORT.D.BIT1.handler
		XDEF		PORT.D.BIT2.handler
		XDEF		PORT.D.BIT3.handler
		XDEF		PORT.D.BIT4.handler
		XDEF		PORT.D.BIT5.handler
		XDEF		PORT.D.BIT6.handler
		XDEF		PORT.D.BIT7.handler
		XDEF		f92_TIMER1.handler
		XDEF		TIMER4.handler
		XDEF		TIMER5.handler