home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 032.lha / include / exec / interrupts.g < prev    next >
Text File  |  1987-05-16  |  580b  |  33 lines

  1. type
  2.     Node_t = unknown 14,
  3.     List_t = unknown 14,
  4.  
  5.     Interrupt_t = struct {
  6.     Node_t is_Node;
  7.     *byte is_data;
  8.     proc()void is_Code;
  9.     },
  10.  
  11.     IntVector_t = struct {
  12.     *byte iv_Data;
  13.     proc()void iv_Code;
  14.     *Node_t iv_Node;
  15.     },
  16.  
  17.     SoftIntList_t = struct {
  18.     List_t sh_List;
  19.     uint sh_Pad;
  20.     };
  21.  
  22. uint
  23.     SIH_PRIMASK = 0xf0,
  24.  
  25.     INTB_NMI    = 15,
  26.     INTF_NMI    = 1 << 15;
  27.  
  28. extern
  29.     AddIntServer(ulong intNum; *Interrupt_t i)void,
  30.     Cause(ulong interrupt)void,
  31.     RemIntServer(ulong intNum; *Interrupt_t i)void,
  32.     SetIntVector(ulong intNum; *Interrupt_t i)*Interrupt_t;
  33.