ENOERR		= 0
EPERM		= 1
ENOENT		= 2
ESRCH		= 3
EINTR		= 4
EIO		= 5
ENXIO		= 6
E2BIG		= 7
ENOEXEC		= 8
EBADF		= 9
ECHILD		= 10
EAGAIN		= 11
ENOMEM		= 12
EACCES		= 13
EFAULT		= 14
ENOTBLK		= 15
EBUSY		= 16
EEXIST		= 17
EXDEV		= 18
ENODEV		= 19
ENOTDIR		= 20
EISDIR		= 21
EINVAL		= 22
ENFILE		= 23
EMFILE		= 24
ENOTTY		= 25
ETXTBSY		= 26
EFBIG		= 27
ENOSPC		= 28
ESPIPE		= 29
EROFS		= 30
EMLINK		= 31
EPIPE		= 32
EDOM		= 33
ERANGE		= 34
EUCLEAN		= 35
EDEADLK		= 36
EUNKNOWN	= 37
ENAMETOOLONG	= 38
ENOLCK		= 39
ENOSYS		= 40
ENOTEMPTY	= 41
EILSEQ		= 42
EUNKNOWN	= 43

ER_ZIP		= 2
ER_BADERR	= 3
ER_MEM		= 4
ER_CRCERR	= 5
ER_NOZIP	= 9
ER_FIND		= 11
ER_OPEN		= 12
ER_DISK		= 50
ER_USERABORT	= 66
ER_READARCH	= -2
ER_DISK_FULL	= 112
ER_NEGATIVE_SEEK = 131

__ISWRITE	= 01h
__DISKAREA	= 06h
__FAILALLOWED	= 08h
__RETRYALLOWED	= 10h
__IGNOREALLOWED	= 20h
__ISDEVICE	= 80h

GLOBAL 	errno:		WORD
GLOBAL	doserrno:	WORD
GLOBAL 	sys_errlist:	DPTR
GLOBAL 	dos_errlist:	DPTR
GLOBALD	trace
GLOBALD	notsup
GLOBALD	eropen		; DX:AX (-1)
GLOBALD	ermkdir		; DX:AX (-1)
GLOBALD	erdelete	; DX:AX (-1)
GLOBALN	@dosmaper
