home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 18 / CD_ASCQ_18_111294_W.iso / dos / prg / bas / ruckus / newstuf / errcode.txt < prev    next >
Text File  |  1994-10-21  |  9KB  |  165 lines

  1. RKE = 200h      ;kernel related  (for example, 0204h means no more handles)
  2. RSE = 300h      ;Sys related
  3. R2E = 400h      ;Ruckus related
  4. RME = 500h      ;MIDI related
  5. RVE = 600h      ;Vox related
  6. RDE = 700h      ;Trak related
  7. RCD = 800h      ;CD-audio related
  8. RMX = 900h      ;Mixer related
  9. RPE =0A00h      ;Patch related
  10.                  
  11. ;DOS-type errors generated/returned by Rcukus
  12. ERR_UNXEOF      EQU -3      ;unexpected end of file DOS (65533)
  13. ERR_DISKFULL    EQU -2      ;disk full DOS              (65534)
  14. ERR_NOMEMORY    EQU 8       ;cannot allocate required memory from DOS
  15.  
  16. ;kernel errors
  17. ERR_NOHANDLES   EQU RKE+04  ;no handles left from ss$Malloc for MCB
  18. ERR_BADHANDLE   EQU RKE+06  ;handle not valid from ss$Free for MCB/xms$ too
  19. ERR_MEMCORRUPT  EQU RKE+07  ;memory corrupt from ss$Malloc for MCB
  20. ERR_NOMEMKRN    EQU RKE+08  ;no/not enough memory from ss$Malloc for MCB
  21. ERR_NOMATCH     EQU RKE+09  ;EnvVar not found
  22. ERR_XMSFAIL     EQU RKE+20  ;XMS general failure (check xms@lastErr,lastErrFunc)
  23. ERR_NOXMSMGR    EQU RKE+21  ;xms$Init called but no XMS manager installed
  24. ERR_XMS16MB     EQU RKE+22  ;XMS allocation crossed 16MB (no-go for ISA DMA)
  25. ERR_FILE64MB    EQU RKE+23  ;XMS file cache filesize >= 64MB
  26. ERR_XMSFC255    EQU RKE+24  ;XMS file cache has no XF slots available
  27. ERR_XMSHDL7FF   EQU RKE+25  ;XMS handle conflict (SuperCache)
  28. ERR_VDSFAIL     EQU RKE+30  ;VDS general failure
  29. ERR_VDSLOCKFAIL EQU RKE+31  ;VDS region lock failed
  30. ERR_TIMEROFF    EQU RKE+40  ;selected timer is not set up/not init'ed
  31. ERR_TIMERINUSE  EQU RKE+41  ;selected timer already in use
  32. ERR_TIMERUPSO   EQU RKE+42  ;selected timer cannot be used (not responding)
  33. ERR_STUBDEV     EQU RKE+98  ;device is stubbed out
  34. ERR_STUBCOMP    EQU RKE+99  ;component is stubbed out
  35.  
  36. ;sys errors
  37. ERR_NOMORESLOTS EQU RSE+01  ;no more tracker slots for permanent DOS store
  38.  
  39. ;device init/access errors
  40. ERR_ILLEGALCMD  EQU R2E+01  ;command code not valid
  41. ERR_NODEVICE    EQU R2E+02  ;device (in context) not detected/not valid device#
  42. ERR_DEVICEON    EQU R2E+03  ;device has already been installed
  43. ERR_DEVIRQ      EQU R2E+04  ;device fails IRQ test (NYI)
  44. ERR_DEVDMA      EQU R2E+05  ;device fails DMA test (NYI)
  45. ERR_DEVNOTIMER  EQU R2E+06  ;device has no on-board timer
  46. ERR_NOMEMDEV    EQU R2E+08  ;device has no RAM available
  47. ERR_NOTINGEAR   EQU R2E+11  ;device has not been installed
  48. ERR_DMATIMEOUT  EQU R2E+31  ;DMA transfer did not signal completion (see RPE)
  49. ERR_DMABADMODE  EQU R2E+32  ;DMA mode not valid for request
  50. ERR_DMABUSY     EQU R2E+33  ;DMA channel already in use
  51. ERR_DMAGRAM256  EQU R2E+39  ;GRAM 256K page crossing on DMA attempt [GUS]
  52. ERR_BADENVVAR   EQU R2E+91  ;requested EnvVar not found or incomplete
  53. ERR_BADPATH     EQU R2E+92  ;path+filename+ext > MAX_PATHSIZE or null
  54. ERR_MMSSCORRUPT EQU R2E+93  ;general memory manager is corrupt
  55. ERR_MMSSLOCKFAIL EQU R2E+94 ;general memory manager lock failed
  56. ERR_INVALIDTASK EQU R2E+99 ;internal error
  57.  
  58. ;MIDI file errors
  59. ERR_FORMATMIDI  EQU RME+01  ;file is not of type 0 or type 1
  60. ERR_TRACKSMIDI  EQU RME+02  ;file contains too many tracks (more than 48)
  61. ERR_TIMINGMIDI  EQU RME+03  ;file division timing not metrical
  62. ERR_HEADERMIDI  EQU RME+04  ;file does not start with "MT"
  63. ERR_NOTAVAILMIDI EQU RME+10 ;function not currently available (AdjustTempo)
  64.  
  65. ;patch/voice allocation errors          
  66. ERR_UNKPATHDR   EQU RPE+01  ;patch file header is not known
  67. ERR_UNKPATINS   EQU RPE+02  ;patch file contains more than 1 instrument [GUS]
  68. ERR_UNKPATLAYER EQU RPE+03  ;patch file contains more than 1 layer [GUS]
  69. ERR_OLDPATVER   EQU RPE+04  ;patch file format is obsolete
  70. ERR_BADMODE     EQU RPE+05  ;mode not supported for operation
  71. ERR_NOMEMDMA    EQU RPE+06  ;no memory for temporary DMA transfer buffer
  72. ERR_NOCACHE     EQU RPE+07  ;patch permanent store/cache not available (XMS)
  73. ERR_NOMEMPATCH  EQU RPE+08  ;cannot allocate required patch memory
  74. ERR_INVALIDBANK EQU RPE+09  ;patch bank invalid
  75. ERR_NOINI       EQU RPE+10  ;R2*.INI not found in current dir or in PATDIR=
  76. ERR_BADINI      EQU RPE+11  ;R2*.INI has invalid format
  77. ERR_BADBANKINI  EQU RPE+12  ;INI must at least contain [bank 0]
  78. ERR_BADDIRINI   EQU RPE+13  ;INI [bank must at least include [dir=DEFAULT]
  79. ERR_NOPATCHINI  EQU RPE+14  ;patch required not found in INI [bank]
  80. ERR_TOOMANYPCS  EQU RPE+15  ;more than 512 Program Change events
  81. WRN_PATCHFLAGGED EQU RPE+19  ;patchname starts with "*" in INI (WARNING only)
  82. ERR_NOPATCH     EQU RPE+20  ;no program change info in .MID and no default patch
  83. ERR_BADPATCHNO  EQU RPE+21  ;melo/drum patch out-of-range or not loaded
  84. ERR_NOPATCHMAP  EQU RPE+22  ;drum patch out-of-range (percCh ky# doesn't map)
  85. ERR_PATCHBOGUS  EQU RPE+23  ;patch contains out-of-bounds data  
  86. ERR_PATCHIS8    EQU RPE+24  ;patch is already in low-rez form
  87. ERR_BADLOOPADDR EQU RPE+25  ;loop points not valid
  88. ERR_PATCHINUSE  EQU RPE+26  ;patch number has already been allocated
  89. ERR_PATCHZERO   EQU RPE+27  ;patch number is not allocated/no patch data
  90. ;ERR_DMATIMEOUT EQU RPE+31  ;DMA transfer did not signal completion (see R2E)
  91. ERR_BADVOICE    EQU RPE+50  ;voice number not valid (user selected)
  92. ERR_VOICENA     EQU RPE+51  ;voice is not available (already in use)
  93. ERR_VOICEACTIVE EQU RPE+52  ;voice active (cannot unassign w/o force)
  94.  
  95. Errors_DOS
  96.  
  97. -3 unexpected end of file (error codes < 0 are mine)
  98. -2 disk full
  99. -1 bad filename
  100.  0 no error
  101.  1 function not supported              19 disk write protected
  102.  2 file not found                      20 unknown unit
  103.  3 path not found                      21 drive not ready
  104.  4 too many open files                 22 unknown command
  105.  5 access denied (see Specs_Networks)  23 data error (CRC)
  106.  6 handle invalid                      24 bad request structure length
  107.  7 MCBs destroyed                      25 seek error
  108.  8 not enough memory                   26 unknown medium type
  109.  9 memory block address invalid        27 sector not found
  110. 10 environment invalid                 28 printer out of paper
  111. 11 format invalid                      29 write fault
  112. 12 access code invalid                 30 read fault
  113. 13 data invalid                        31 general failure
  114.    reserved-0Eh                        32 sharing violation
  115. 15 disk drive invalid                  33 lock violation
  116. 16 cannot remove current directory     34 disk change invalid/wrong disk
  117. 17 not same device                     35 FCB unavailable
  118. 18 no more files                       36 sharing buffer overflow
  119.  
  120.  
  121. 37 code page mismatched                58 incorrect response from net
  122. 38 handle EOF                          59 unexpected network error
  123. 39 handle disk full                    60 incompatible remote adapter
  124.    reserved-28h                        61 print queue full
  125.    reserved-29h                        62 no spool space
  126.    reserved-2Ah                        63 not enough space to print file
  127.    reserved-2Bh                        64 network name deleted
  128.    reserved-2Ch                        65 network access denied
  129.    reserved-2Dh                        66 network device type incorrect
  130.    reserved-2Eh                        67 network name not found
  131.    reserved-2Fh                        68 network name limit exceeded
  132.    reserved-30h                        69 NETBIOS session limit exceeded
  133.    reserved-31h                        70 sharing temporarily paused
  134. 50 network request not supported       71 network request not accepted
  135. 51 remote computer not listening       72 print/disk redirection paused
  136. 52 duplicate name on network              reserved-49h
  137. 53 network pathname not found             reserved-4Ah
  138. 54 network busy                           reserved-4Bh
  139. 55 network device no longer exists        reserved-4Ch
  140. 56 NETBIOS command limit exceeded         reserved-4Dh
  141. 57 network adapter hardware error         reserved-4Eh
  142.  
  143.    reserved-4Fh                  ────────────── DOS Class Codes
  144. 80 file exists
  145. 81 duplicate FCB                 1 out of resources      7 app error
  146. 82 cannot make                   2 temporary situation   8 not found
  147. 83 fail on INT24                 3 authorization         9 bad format
  148. 84 out of structures             4 internal error       10 locked
  149. 85 already assigned              5 hardware failure     11 media failed
  150. 86 invalid password              6 system failure       12 already exist
  151. 87 invalid parameter                                    13 unknown
  152. 88 network write fault
  153.    reserved-59h                    DOS Action Codes      DOS Locus Codes
  154. 90 sys comp not loaded
  155.                                  1 retry immediately     1 unknown
  156.                                  2 delay and retry       2 block device
  157.                                  3 reenter input         3 network
  158.                                  4 abort ASAP            4 serial device
  159.                                  5 abort immediately     5 memory
  160.                                  6 ignore error
  161.                                  7 user intervention
  162.  
  163. ;<EOF>
  164.          
  165.