/***************************************************************************
*       NAME:  ERROR.H $Revision: 1.14 $
**      COPYRIGHT:
**      "Copyright (c) 1994,1995 by e-Tek Labs"
**
**       "This software is furnished under a license and may be used,
**       copied, or disclosed only in accordance with the terms of such
**       license and with the inclusion of the above copyright notice.
**       This software or any other copies thereof may not be provided or
**       otherwise made available to any other person. No title to and
**       ownership of the software is hereby transfered."
****************************************************************************/

#define ERROR_STR_LEN 4096

int print_error(int errornum);
int print_message(int errornum);
int sbos_mls_init(void);

#define ERROR_LOW_MEM         1
#define ERROR_BAD_LIB         2
#define ERROR_BAD_MPU         3

#define ERROR_BAD_VECTOR      5
#define ERROR_BAD_IWINI       6
#define ERROR_BAD_SETUP       7
#define ERROR_NO_LANGUAGE     8
#define ERROR_NO_DEF_LANGUAGE 9
#define ERROR_CANT_FIND_CARD 10
#define ERROR_DEVICE_IN_USE  11
#define ERROR_BAD_MESSAGE_FILE 12
#define ERROR_IW_TSR         13
#define ERROR_NO_INTERWAVE   14

#define MESSAGE_VERSION      50
//#define MESSAGE_MPU_BANNER   51

/** Loader Messages **/
#define LM_DRIVER_NOT_LOADED 100
#define LM_WINDOWS_UNLOAD 101
#define LM_WINDOWS_INIT 102
#define LM_WINDOWS_NO_VIWD 103

#define LM_BAD_VERSION 106
#define LM_BANNER 107
#define LM_SHARED_SIZE 108
#define LM_BAD_BASE 109
#define LM_NO_RESOURCES 110
#define LM_BAD_SB_IRQ 111
#define LM_BAD_IW_IRQ 112
#define LM_IW_USED 113
#define LM_IW_NOT_FOUND 114
#define LM_TIMER 115
#define LM_KEYBOARD 116
#define LM_MUX 117
#define LM_DOS 118
#define LM_BAD_UNLOAD 119
#define LM_DEEP_TREE 120
#define LM_BAD_MEMORY_BLOCK 121
#define LM_FREE_DRIVER 122
#define LM_TSR_FREED 123
#define LM_NO_MOD_NMI 124
#define LM_DISABLED_NMI 125
#define LM_PORT_CONFLICT 126
#define LM_BAD_IW_NMI 127
#define LM_CANT_OPEN_LIB 128
#define LM_BAD_LIB_HEADER 129
#define LM_BAD_LIB_VERSION 130
#define LM_BAD_LIB_DATA 131
#define LM_MEM_DLB 132
#define LM_NO_SBOS_IN_ROM 133
#define LM_USAGE 134
#define LM_COPYRIGHT 135
