home *** CD-ROM | disk | FTP | other *** search
- Jaleo displays the componet (below, 200h-A00h) and the error code along
- with a short text whenever it feels something's up. Nothing is fatal
- so any error can be disregarded (if it plays, it plays). The error code
- is a hex number, so if it says 0A23 ERR_TOOMANYPCS, it means that
- the error is 0A00 (patch related) and 0023 (35 decimal, too many PCs or
- invalid file (possibly corrupt)).
-
- RKE = 200h ;Kernel related (for example, 0204h means no more handles)
- RSE = 300h ;Sys related
- R2E = 400h ;Ruckus related
- RME = 500h ;MIDI related
- RVE = 600h ;Vox related
- RDE = 700h ;Trak related
- RCD = 800h ;CD-audio related
- RMX = 900h ;Mixer related
- RPE =0A00h ;Patch related
-
-
- ;DOS-type errors generated/returned by Ruckus
- ERR_UNXEOF EQU -3 ;unexpected end of file DOS (65533)
- ERR_DISKFULL EQU -2 ;disk full DOS (65534)
- ERR_NOMEMORY EQU 8 ;cannot allocate required memory from DOS
-
- ;Also:
- ;errors such as RPE+02 means DOS error "file not found" occured during
- ;a patch releated action (bogus filename in R2GUS.INI, for example)
- ;see the DOS errors at the end for a list (DOS errors will under 20)
- ;the other errors are extended error codes (check a DOS programmer ref).
-
- ;kernel errors
- ERR_NOHANDLES EQU RKE+21 ;no handles left from ss$Malloc for MCB
- ERR_BADHANDLE EQU RKE+22 ;handle not valid from ss$Free for MCB/xms$ too
- ERR_MEMCORRUPT EQU RKE+23 ;memory corrupt from ss$Malloc for MCB
- ERR_NOMEMKRN EQU RKE+24 ;no/not enough memory from ss$Malloc for MCB
- ERR_NOMATCH EQU RKE+25 ;EnvVar not found
- ERR_XMSFAIL EQU RKE+30 ;XMS general failure (check xms@lastErr,lastErrFunc)
- ERR_NOXMSMGR EQU RKE+31 ;xms$Init called but no XMS manager installed
- ERR_XMS16MB EQU RKE+32 ;XMS allocation crossed 16MB (no-go for ISA DMA)
- ERR_FILE64MB EQU RKE+33 ;XMS file cache filesize >= 64MB
- ERR_XMSFC255 EQU RKE+34 ;XMS file cache has no XF slots available
- ERR_XMSHDL7FF EQU RKE+35 ;XMS handle conflict (SuperCache)
- ERR_VDSFAIL EQU RKE+40 ;VDS general failure
- ERR_VDSLOCKFAIL EQU RKE+41 ;VDS region lock failed
- ERR_TIMEROFF EQU RKE+50 ;selected timer is not set up/not init'ed
- ERR_TIMERINUSE EQU RKE+51 ;selected timer already in use
- ERR_TIMERUPSO EQU RKE+52 ;selected timer cannot be used (not responding)
- ERR_STUBDEV EQU RKE+98 ;device is stubbed out
- ERR_STUBCOMP EQU RKE+99 ;component is stubbed out
-
- ;sys errors
- ERR_NOMORESLOTS EQU RSE+21 ;no more tracker slots for permanent DOS store
-
- ;device init/access errors
- ERR_ILLEGALCMD EQU R2E+21 ;command code not valid
- ERR_NODEVICE EQU R2E+22 ;device (in context) not detected/not valid device#
- ERR_DEVICEON EQU R2E+23 ;device has already been installed
- ERR_DEVIRQ EQU R2E+24 ;device fails IRQ test (NYI)
- ERR_DEVDMA EQU R2E+25 ;device fails DMA test (NYI)
- ERR_DEVNOTIMER EQU R2E+26 ;device has no on-board timer
- ERR_NOMEMDEV EQU R2E+27 ;device has no RAM available
- ERR_NOTINGEAR EQU R2E+28 ;device has not been installed
- ERR_DMATIMEOUT EQU R2E+31 ;DMA transfer did not signal completion (see RPE)
- ERR_DMABADMODE EQU R2E+32 ;DMA mode not valid for request
- ERR_DMABUSY EQU R2E+33 ;DMA channel already in use
- ERR_DMAGRAM256 EQU R2E+39 ;GRAM 256K page crossing on DMA attempt [GUS]
- ERR_BADENVVAR EQU R2E+91 ;requested EnvVar not found or incomplete
- ERR_BADPATH EQU R2E+92 ;path+filename+ext > MAX_PATHSIZE or null
- ERR_MMSSCORRUPT EQU R2E+93 ;general memory manager is corrupt
- ERR_MMSSLOCKFAIL EQU R2E+94 ;general memory manager lock failed
- ERR_INVALIDTASK EQU R2E+99 ;internal error
-
-
- ;MIDI file errors
- ERR_FORMATMIDI EQU RME+21 ;file is not of type 0 or type 1
- ERR_TRACKSMIDI EQU RME+22 ;file contains too many tracks (more than 48)
- ERR_TIMINGMIDI EQU RME+23 ;file division timing not metrical
- ERR_HEADERMIDI EQU RME+24 ;file does not start with "MT"
- ERR_CHUNK64K EQU RME+25 ;file has track >= 64K (convert to type-1 to fix)
- ERR_NOTAVAILMIDI EQU RME+30 ;function not available unless playing (AdjustTempo)
-
- ;VOX errors
- ERR_BADIOBID EQU RVE+21 ;IOB id is out of range (valid is 0-7)
- ERR_BADATTNPTR EQU RVE+22 ;attention ptr not pointing to "aV" structure
- ERR_NOMEMIOB EQU RVE+23 ;no memory for IO buffer
- ERR_NULLIOB EQU RVE+24 ;IOB id is not primed
- ERR_IOBNOTAVAIL EQU RVE+25 ;IOB id is not available, or none are available
-
-
- ;patch/voice allocation errors
- ERR_UNKPATHDR EQU RPE+21 ;patch file header is not known
- ERR_UNKPATINS EQU RPE+22 ;patch file contains more than 1 instrument [GUS]
- ERR_UNKPATLAYER EQU RPE+23 ;patch file contains more than 1 layer [GUS]
- ERR_OLDPATVER EQU RPE+24 ;patch file format is obsolete
- ERR_BADMODE EQU RPE+25 ;mode not supported for operation
- ERR_NOMEMDMA EQU RPE+26 ;no memory for temporary DMA transfer buffer
- ERR_NOCACHE EQU RPE+27 ;patch permanent store/cache not available (XMS)
- ERR_NOMEMPATCH EQU RPE+28 ;cannot allocate required patch memory
- ERR_INVALIDBANK EQU RPE+29 ;patch bank invalid
- ERR_NOINI EQU RPE+30 ;R2*.INI not found in current dir or in PATDIR=
- ERR_BADINI EQU RPE+31 ;R2*.INI has invalid format
- ERR_BADBANKINI EQU RPE+32 ;INI must at least contain [bank X] (X=default bank)
- ERR_BADDIRINI EQU RPE+33 ;INI [bank must at least include [dir=DEFAULT]
- ERR_NOPATCHINI EQU RPE+34 ;patch required not found in INI [bank]
- ERR_TOOMANYPCS EQU RPE+35 ;more than 512 Program Change events or invalid file
- WRN_PATCHFLAGGED EQU RPE+39 ;patchname starts with "*" in INI (WARNING only)
- ERR_NOPATCH EQU RPE+40 ;no program change info in .MID and no default patch
- ERR_BADPATCHNO EQU RPE+41 ;melo/drum patch out-of-range or not loaded
- ERR_NOPATCHMAP EQU RPE+42 ;drum patch out-of-range (percCh ky# doesn't map)
- ERR_PATCHBOGUS EQU RPE+43 ;patch contains out-of-bounds data
- ERR_PATCHIS8 EQU RPE+44 ;patch is already in low-rez form
- ERR_BADLOOPADDR EQU RPE+45 ;loop points not valid
- ERR_PATCHINUSE EQU RPE+46 ;patch number has already been allocated
- ERR_PATCHZERO EQU RPE+47 ;patch number is not allocated/no patch data
- ERR_BADVOICE EQU RPE+50 ;voice number not valid (user selected)
- ERR_VOICENA EQU RPE+51 ;voice is not available (already in use)
- ERR_VOICEACTIVE EQU RPE+52 ;voice active (cannot unassign w/o force)
-
- Errors_DOS
-
- -3 unexpected end of file (error codes < 0 are mine)
- -2 disk full
- -1 bad filename
- 0 no error
- 1 function not supported 19 disk write protected
- 2 file not found 20 unknown unit
- 3 path not found 21 drive not ready
- 4 too many open files 22 unknown command
- 5 access denied (see Specs_Networks) 23 data error (CRC)
- 6 handle invalid 24 bad request structure length
- 7 MCBs destroyed 25 seek error
- 8 not enough memory 26 unknown medium type
- 9 memory block address invalid 27 sector not found
- 10 environment invalid 28 printer out of paper
- 11 format invalid 29 write fault
- 12 access code invalid 30 read fault
- 13 data invalid 31 general failure
- reserved-0Eh 32 sharing violation
- 15 disk drive invalid 33 lock violation
- 16 cannot remove current directory 34 disk change invalid/wrong disk
- 17 not same device 35 FCB unavailable
- 18 no more files 36 sharing buffer overflow
-
-
- 37 code page mismatched 58 incorrect response from net
- 38 handle EOF 59 unexpected network error
- 39 handle disk full 60 incompatible remote adapter
- reserved-28h 61 print queue full
- reserved-29h 62 no spool space
- reserved-2Ah 63 not enough space to print file
- reserved-2Bh 64 network name deleted
- reserved-2Ch 65 network access denied
- reserved-2Dh 66 network device type incorrect
- reserved-2Eh 67 network name not found
- reserved-2Fh 68 network name limit exceeded
- reserved-30h 69 NETBIOS session limit exceeded
- reserved-31h 70 sharing temporarily paused
- 50 network request not supported 71 network request not accepted
- 51 remote computer not listening 72 print/disk redirection paused
- 52 duplicate name on network reserved-49h
- 53 network pathname not found reserved-4Ah
- 54 network busy reserved-4Bh
- 55 network device no longer exists reserved-4Ch
- 56 NETBIOS command limit exceeded reserved-4Dh
- 57 network adapter hardware error reserved-4Eh
-
- reserved-4Fh ────────────── DOS Class Codes
- 80 file exists
- 81 duplicate FCB 1 out of resources 7 app error
- 82 cannot make 2 temporary situation 8 not found
- 83 fail on INT24 3 authorization 9 bad format
- 84 out of structures 4 internal error 10 locked
- 85 already assigned 5 hardware failure 11 media failed
- 86 invalid password 6 system failure 12 already exist
- 87 invalid parameter 13 unknown
- 88 network write fault
- reserved-59h DOS Action Codes DOS Locus Codes
- 90 sys comp not loaded
- 1 retry immediately 1 unknown
- 2 delay and retry 2 block device
- 3 reenter input 3 network
- 4 abort ASAP 4 serial device
- 5 abort immediately 5 memory
- 6 ignore error
- 7 user intervention
-
- ;<EOF>
-
-