home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 5 / ctrom5b.zip / ctrom5b / PROGRAM / ASM / ALIB30B / ERROR5.ASM < prev    next >
Assembly Source File  |  1994-11-15  |  2KB  |  87 lines

  1.     page    66,132
  2. ;******************************** ERROR5.ASM *********************************
  3.  
  4. LIBSEG           segment byte public "LIB"
  5.         assume cs:LIBSEG , ds:nothing
  6.  
  7. ;----------------------
  8.     public    error_number,error_flags,entry_seg,entry_bp
  9.     public    err_asciiz
  10.     public    err_tbl_off,err_tbl_seg
  11. ;----------------------
  12. ; primed error info.
  13. ;
  14. err_asciiz    db    13 dup (0)
  15. err_tbl_off    dw    0
  16. err_tbl_seg    dw    0
  17. ;----------------------
  18. error_number    db    0
  19. error_flags    db    0
  20. entry_seg    dw    0
  21. entry_bp    dw    0
  22. ;----------------------------------------------------------------------------
  23. ; pre definded error messages used by LIB_ERROR_HANDLER1
  24. ;
  25.     public    error_index
  26. error_index    dw    error01
  27.         dw    error02
  28.         dw    error03
  29.         dw    error04
  30.         dw    error05
  31.         dw    error06
  32.         dw    error07
  33.         dw    error08
  34.         dw    error09
  35.         dw    error10
  36.         dw    error11
  37.         dw    error12
  38.         dw    error13
  39.         dw    error14
  40.         dw    error15
  41.         dw    error16
  42.         dw    error17
  43.         dw    error18
  44.  
  45. error01    label byte
  46.  db 'Incompatable display mode',0
  47. error02    label byte
  48.  db 'Code error, Contact program author for possible problem resolution',0dh,0ah
  49.  db 0
  50. error03    label byte
  51.  db 0dh,0ah,'Disk read error, Press any key to contine',0
  52. error04    label byte
  53.  db 'Fatal disk error, Press any key',0
  54. error05    label byte
  55.  db 'Out of memory, Press any key to abort current operation',0
  56. error06 label byte
  57.  db 'Path change failed, Press any key',0
  58. error07    label byte
  59.  db 'insufficient DOS memory to run program,  Press any key to abort.',0
  60. error08    label byte
  61.  db 'Error in finding/reading quote file QUOTE.DAT',0
  62. error09    label byte
  63.  db 'Memory manager transfer error.  This is usually an programming error'
  64.  db '.  Contact the author for assistance.',0
  65. error10    label byte
  66.  db 'Open of above file failed, possibly the file does not exist or is'
  67.  db 'not in correct directory.',0
  68. error11 label byte
  69.  db 'The program configuration (.CFG) file is missing an <end> statement.'
  70.  db ' press any key to continue',0
  71. error12    label byte
  72.  
  73. error13    label byte
  74.  
  75. error14    label byte
  76.  
  77. error15    label byte
  78.  
  79. error16    label byte
  80.  
  81. error17    label byte
  82.  
  83. error18    label byte
  84.  
  85. LIBSEG    ENDS
  86.     end
  87.