home *** CD-ROM | disk | FTP | other *** search
/ Dave Lowe: AssemPro For Development Amiga Driver / Lowe_AssemProForDevelopmentAmigaDriver.adf / Includes / exec / interrupts.i < prev    next >
Encoding:
Text File  |  1978-06-06  |  2.0 KB  |  85 lines

  1.     IFND EXEC_INTERRUPTS_I@
  2. EXEC_INTERRUPTS_I@ = 1
  3. ;*********************************************************************
  4. ;
  5. ;   Commodore Amiga -- ROM Operating System Executive Include File
  6. ;
  7. ;*********************************************************************
  8. ;
  9. ;   Source Control:
  10. ;
  11. ;       $Header: interrupts.i,v 33.1 86/04/08 21:55:26 neil Exp $
  12. ;
  13. ;       $Locker:  $
  14. ;
  15. ;*********************************************************************
  16.  
  17.     IFND EXEC_NODES_I@
  18.     INCLUDE "exec/nodes.i"
  19.     ENDIF
  20.  
  21.     IFND EXEC_LISTS_I@
  22.     INCLUDE "exec/lists.i"
  23.     ENDIF
  24.  
  25.  
  26. ;----------------------------------------------------------------
  27. ;
  28. ;   Interrupt Structure
  29. ;
  30. ;----------------------------------------------------------------
  31.         
  32.  STRUCTURE  IS,LN_SIZE
  33.     APTR    IS_DATA
  34.     APTR    IS_CODE
  35.     LABEL   IS_SIZE
  36.  
  37.  
  38. ;---------------------------------------------------------------------
  39. ;
  40. ;   Exec Internal Interrupt Vectors
  41. ;
  42. ;---------------------------------------------------------------------
  43.  
  44.  STRUCTURE  IV,0
  45.     APTR    IV_DATA
  46.     APTR    IV_CODE
  47.     APTR    IV_NODE
  48.     LABEL   IV_SIZE
  49.  
  50.  
  51. ;------ System Flag bits (in SysBase.SysFlags )
  52.  
  53. ;    BITDEF  S,SAR,15        ; scheduling attention required
  54. SB_SAR = 15        ; scheduling attention required
  55. SF_SAR = 1<<15        ; scheduling attention required
  56. ;    BITDEF  S,TQE,14        ; time quantum expended -- time to resched
  57. SB_TQE = 14        ; time quantum expended -- time to resched
  58. SF_TQE = 1<<14        ; time quantum expended -- time to resched
  59. ;    BITDEF  S,SINT,13
  60. SB_SINT = 13
  61. SF_SINT = 1<<13
  62.  
  63.  
  64. ;---------------------------------------------------------------------
  65. ;
  66. ;   Software Interrupt List Headers
  67. ;
  68. ;---------------------------------------------------------------------
  69.  
  70.  STRUCTURE  SH,LH_SIZE
  71.     UWORD   SH_PAD
  72.     LABEL   SH_SIZE
  73.  
  74. SIH_PRIMASK  EQU        $0F0
  75. SIH_QUEUES   EQU        5
  76.  
  77. ;; this is a fake INT definition, used only for AddIntServer and the like
  78. ;        BITDEF  INT,NMI,15
  79. INTB_NMI = 15
  80. INTF_NMI = 1<<15
  81.  
  82.     ENDIF
  83.     END
  84.