include	clib.inc

	public	dos_errlist

	public	CP_DOSER00
	public	CP_DOSER01
	public	CP_DOSER02
	public	CP_DOSER03
	public	CP_DOSER04
	public	CP_DOSER05
	public	CP_DOSER06
	public	CP_DOSER07
	public	CP_DOSER08
	public	CP_DOSER09
	public	CP_DOSER10
	public	CP_DOSER11
	public	CP_DOSER12
	public	CP_DOSER13
	public	CP_DOSER14
	public	CP_DOSER15
	public	CP_DOSER16
	public	CP_DOSER17
	public	CP_DOSER18
	public	CP_DOSER19
	public	CP_DOSER20

_DATA	SEGMENT

CP_DOSER00	DB	"Write-protection violation attempted",0
CP_DOSER01	DB	"Unknown unit for driver",0
CP_DOSER02	DB	"Drive not ready",0
CP_DOSER03	DB	"Unknown command given to driver",0
CP_DOSER04	DB	"Data error (bad CRC)",0
CP_DOSER05	DB	"Bad device driver request structure length",0
CP_DOSER06	DB	"Seek error",0
CP_DOSER07	DB	"Unknown media type",0
CP_DOSER08	DB	"Sector not found",0
CP_DOSER09	DB	"Printer out of paper..",0
CP_DOSER10	DB	"Write fault",0
CP_DOSER11	DB	"Read fault",0
CP_DOSER12	DB	"General failure",0
CP_DOSER13	DB	"Sharing violation",0
CP_DOSER14	DB	"Lock violation",0
CP_DOSER15	DB	"Invalid disk change",0
CP_DOSER16	DB	"FCB unavailable",0
CP_DOSER17	DB	"Sharing buffer overflow",0
CP_DOSER18	DB	"Code page mismatch",0
CP_DOSER19	DB	"Out of input",0
CP_DOSER20	DB	"Insufficient disk space",0

if LDATA
dos_errlist LABEL DWORD
	DD	DGROUP:CP_DOSER00
	DD	DGROUP:CP_DOSER01
	DD	DGROUP:CP_DOSER02
	DD	DGROUP:CP_DOSER03
	DD	DGROUP:CP_DOSER04
	DD	DGROUP:CP_DOSER05
	DD	DGROUP:CP_DOSER06
	DD	DGROUP:CP_DOSER07
	DD	DGROUP:CP_DOSER08
	DD	DGROUP:CP_DOSER09
	DD	DGROUP:CP_DOSER10
	DD	DGROUP:CP_DOSER11
	DD	DGROUP:CP_DOSER12
	DD	DGROUP:CP_DOSER13
	DD	DGROUP:CP_DOSER14
	DD	DGROUP:CP_DOSER15
	DD	DGROUP:CP_DOSER16
	DD	DGROUP:CP_DOSER17
	DD	DGROUP:CP_DOSER18
	DD	DGROUP:CP_DOSER19
	DD	DGROUP:CP_DOSER20
else
dos_errlist LABEL WORD
	DW	OFFSET CP_DOSER00
	DW	OFFSET CP_DOSER01
	DW	OFFSET CP_DOSER02
	DW	OFFSET CP_DOSER03
	DW	OFFSET CP_DOSER04
	DW	OFFSET CP_DOSER05
	DW	OFFSET CP_DOSER06
	DW	OFFSET CP_DOSER07
	DW	OFFSET CP_DOSER08
	DW	OFFSET CP_DOSER09
	DW	OFFSET CP_DOSER10
	DW	OFFSET CP_DOSER11
	DW	OFFSET CP_DOSER12
	DW	OFFSET CP_DOSER13
	DW	OFFSET CP_DOSER14
	DW	OFFSET CP_DOSER15
	DW	OFFSET CP_DOSER16
	DW	OFFSET CP_DOSER17
	DW	OFFSET CP_DOSER18
	DW	OFFSET CP_DOSER19
	DW	OFFSET CP_DOSER20
endif

_DATA	ENDS

	END
