Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
2.9 KiB

  1. ; SCCSID = @(#)vector.asm 1.1 85/04/10
  2. BREAK <interrupt definitions>
  3. Asmvar AltVect
  4. INTTAB EQU 20H
  5. INTBASE EQU 4 * inttab
  6. ENTRYPOINT EQU INTBASE+40H
  7. IF ALTVECT
  8. ALTTAB EQU 0F0H
  9. ALTBASE EQU 4 * ALTTAB
  10. ENDIF
  11. ;
  12. ; interrupt assignments
  13. ;
  14. IF NOT ALTVECT
  15. int_abort EQU INTTAB ; abort process
  16. int_command EQU int_abort+1 ; call MSDOS
  17. int_terminate EQU int_abort+2 ; int to terminate address
  18. int_ctrl_c EQU int_abort+3 ; ^c trapper
  19. int_fatal_abort EQU int_abort+4 ; hard disk error
  20. int_disk_read EQU int_abort+5 ; logical sector disk read
  21. int_disk_write EQU int_abort+6 ; logical sector disk write
  22. int_keep_process EQU int_abort+7 ; terminate program and stay
  23. ; resident
  24. ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
  25. ; C A V E A T P R O G R A M M E R ;
  26. ; ;
  27. int_spooler EQU int_abort+8 ; spooler call
  28. int_fastcon EQU int_abort+9 ; fast CON interrupt
  29. int_IBM EQU int_abort+10; critical section maintenance
  30. ; ;
  31. ; C A V E A T P R O G R A M M E R ;
  32. ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
  33. ELSE
  34. int_abort EQU INTTAB ; abort process
  35. int_command EQU int_abort+1 ; call MSDOS
  36. int_terminate EQU ALTTAB ; int to terminate address
  37. int_ctrl_c EQU int_terminate+1 ; ^c trapper
  38. int_fatal_abort EQU int_terminate+2 ; hard disk error
  39. int_disk_read EQU int_abort+5 ; logical sector disk read
  40. int_disk_write EQU int_abort+6 ; logical sector disk write
  41. int_keep_process EQU int_abort+7 ; terminate program and stay resident
  42. ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
  43. ; C A V E A T P R O G R A M M E R ;
  44. ; ;
  45. int_spooler EQU int_terminate+3 ; spooler call
  46. int_fastcon EQU int_abort+9 ; fast CON interrupt
  47. ; ;
  48. ; C A V E A T P R O G R A M M E R ;
  49. ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
  50. ENDIF
  51. addr_int_abort EQU 4 * int_abort
  52. addr_int_command EQU 4 * int_command
  53. addr_int_terminate EQU 4 * int_terminate
  54. addr_int_ctrl_c EQU 4 * int_ctrl_c
  55. addr_int_fatal_abort EQU 4 * int_fatal_abort
  56. addr_int_disk_read EQU 4 * int_disk_read
  57. addr_int_disk_write EQU 4 * int_disk_write
  58. addr_int_keep_process EQU 4 * int_keep_process
  59. ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
  60. ; C A V E A T P R O G R A M M E R ;
  61. ; ;
  62. addr_int_spooler EQU 4 * int_spooler
  63. addr_int_fastcon EQU 4 * int_fastcon
  64. addr_int_IBM EQU 4 * int_IBM
  65. ; ;
  66. ; C A V E A T P R O G R A M M E R ;
  67. ;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;