home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 043 / jaleo062.zip / ERRCODE.TXT next >
Text File  |  1994-09-26  |  5KB  |  94 lines

  1. RKE = 200h      ;kernel related
  2. R2E = 300h    ;Ruckus related
  3. RVE = 400h    ;vox related
  4. RME = 500h    ;MIDI related
  5. RDE = 600h    ;trak related
  6. RPE = 700h    ;patch related
  7. RCD = 800h    ;CD-audio related
  8. RMX = 900h    ;mixer related
  9.  
  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.  
  17. ;kernel errors
  18. ERR_NOHANDLES    EQU RKE+04  ;no handles left from ss$Malloc for MCB
  19. ERR_BADHANDLE    EQU RKE+06  ;handle not valid from ss$Free for MCB/xms$ too
  20. ERR_MEMCORRUPT    EQU RKE+07  ;memory corrupt from ss$Malloc for MCB
  21. ERR_NOMEMKRN    EQU RKE+08  ;no/not enough memory from ss$Malloc for MCB
  22. ERR_NOMATCH    EQU RKE+09  ;EnvVar not found
  23. ERR_XMSFAIL    EQU RKE+20  ;XMS general failure (check xms@lastErr,lastErrFunc)
  24. ERR_NOXMSMGR    EQU RKE+21  ;xms$Init called but no XMS manager installed
  25. ERR_XMS16MB    EQU RKE+22  ;XMS allocation crossed 16MB (no-go for ISA DMA)
  26. ERR_FILE64MB    EQU RKE+23  ;XMS file cache filesize >= 64MB
  27. ERR_XMSFC255    EQU RKE+24  ;XMS file cache has no XF slots available
  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.  
  34.  
  35. ;device init/access errors
  36. ERR_ILLEGALCMD    EQU R2E+01  ;command code not valid
  37. ERR_NODEVICE    EQU R2E+02  ;device (in context) not detected/not valid device#
  38. ERR_DEVICEON    EQU R2E+03  ;device has already been installed
  39. ERR_DEVIRQ    EQU R2E+04  ;device fails IRQ test (NYI)
  40. ERR_DEVDMA    EQU R2E+05  ;device fails DMA test (NYI)
  41. ERR_DEVNOTIMER    EQU R2E+06  ;device has no on-board timer
  42. ERR_NOMEMDEV    EQU R2E+08  ;device has no RAM available
  43. ERR_NOTINGEAR    EQU R2E+11  ;device has not been installed
  44. ERR_DMATIMEOUT    EQU R2E+31  ;DMA transfer did not signal completion (see RPE)
  45. ERR_DMABADMODE    EQU R2E+32  ;DMA mode not valid for request
  46. ERR_DMABUSY    EQU R2E+33  ;DMA channel already in use
  47. ERR_DMAGRAM256    EQU R2E+39  ;GRAM 256K page crossing on DMA attempt [GUS]
  48. ERR_BADENVVAR    EQU R2E+91  ;requested EnvVar not found or incomplete
  49. ERR_BADPATH    EQU R2E+92  ;path+filename+ext > MAX_PATHSIZE or null
  50. ERR_MMSSCORRUPT EQU R2E+93  ;general memory manager is corrupt
  51. ERR_MMSSLOCKFAIL EQU R2E+94 ;general memory manager lock failed
  52. ERR_INVALIDTASK EQU R2E+99 ;internal error
  53.  
  54.  
  55. ;MIDI file errors
  56. ERR_FORMATMIDI    EQU RME+01  ;file is not of type 0 or type 1
  57. ERR_TRACKSMIDI    EQU RME+02  ;file contains too many tracks (more than 48)
  58. ERR_TIMINGMIDI    EQU RME+03  ;file division timing not metrical
  59. ERR_HEADERMIDI    EQU RME+04  ;file does not start with "MT"
  60. ERR_NOTAVAILMIDI EQU RME+10 ;function not currently available (AdjustTempo)
  61.  
  62. ;patch/voice allocation errors        
  63. ERR_UNKPATHDR    EQU RPE+01  ;patch file header is not known
  64. ERR_UNKPATINS    EQU RPE+02  ;patch file contains more than 1 instrument [GUS]
  65. ERR_UNKPATLAYER EQU RPE+03  ;patch file contains more than 1 layer [GUS]
  66. ERR_OLDPATVER    EQU RPE+04  ;patch file format is obsolete
  67. ERR_BADMODE    EQU RPE+05  ;mode not supported for operation
  68. ERR_NOMEMDMA    EQU RPE+06  ;no memory for temporary DMA transfer buffer
  69. ERR_NOCACHE    EQU RPE+07  ;patch permanent store/cache not available (XMS)
  70. ERR_NOMEMPATCH    EQU RPE+08  ;cannot allocate required patch memory
  71. ERR_INVALIDBANK    EQU RPE+09  ;patch bank invalid
  72. ERR_NOINI    EQU RPE+10  ;R2*.INI not found in current dir or in PATDIR=
  73. ERR_BADINI    EQU RPE+11  ;R2*.INI has invalid format
  74. ERR_BADBANKINI    EQU RPE+12  ;INI must at least contain [bank 0]
  75. ERR_BADDIRINI    EQU RPE+13  ;INI [bank must at least include [dir=DEFAULT]
  76. ERR_NOPATCHINI    EQU RPE+14  ;patch required not found in INI [bank]
  77. ERR_TOOMANYPCS    EQU RPE+15  ;more than 512 Program Change events
  78. WRN_PATCHFLAGGED EQU RPE+19  ;patchname starts with "*" in INI (WARNING only)
  79. ERR_NOPATCH    EQU RPE+20  ;no program change info in .MID and no default patch
  80. ERR_BADPATCHNO    EQU RPE+21  ;melo/drum patch out-of-range or not loaded
  81. ERR_NOPATCHMAP    EQU RPE+22  ;drum patch out-of-range (percCh ky# doesn't map)
  82. ERR_PATCHBOGUS    EQU RPE+23  ;patch contains out-of-bounds data    
  83. ERR_PATCHIS8    EQU RPE+24  ;patch is already in low-rez form
  84. ERR_BADLOOPADDR    EQU RPE+25  ;loop points not valid
  85. ERR_PATCHINUSE    EQU RPE+26  ;patch number has already been allocated
  86. ERR_PATCHZERO    EQU RPE+27  ;patch number is not allocated/no patch data
  87. ;ERR_DMATIMEOUT    EQU RPE+31  ;DMA transfer did not signal completion (see R2E)
  88. ERR_BADVOICE    EQU RPE+50  ;voice number not valid (user selected)
  89. ERR_VOICENA    EQU RPE+51  ;voice is not available (already in use)
  90. ERR_VOICEACTIVE EQU RPE+52  ;voice active (cannot unassign w/o force)
  91.  
  92. ;<EOF>
  93.          
  94.