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

  1.     IFND EXEC_RESIDENT_I@
  2. EXEC_RESIDENT_I@ = 1
  3. ;*********************************************************************
  4. ;
  5. ;   Commodore Amiga -- ROM Operating System Executive Include File
  6. ;
  7. ;*********************************************************************
  8. ;
  9. ;   Source Control:
  10. ;
  11. ;       $Header: resident.i,v 1.0 85/08/28 15:13:41 carl Exp $
  12. ;
  13. ;       $Locker:  $
  14. ;
  15. ;*********************************************************************
  16.  
  17.  
  18. ;----------------------------------------------------------------
  19. ;
  20. ;   Resident Module Tag
  21. ;
  22. ;----------------------------------------------------------------
  23.  
  24.  STRUCTURE RT,0
  25.     UWORD RT_MATCHWORD                  ; word to match
  26.     APTR  RT_MATCHTAG                   ; pointer to structure base
  27.     APTR  RT_ENDSKIP                    ; address to continue scan 
  28.     UBYTE RT_FLAGS                      ; various tag flags
  29.     UBYTE RT_VERSION                    ; release version number
  30.     UBYTE RT_TYPE                       ; type of module
  31.     BYTE  RT_PRI                        ; initialization priority
  32.     APTR  RT_NAME                       ; pointer to node name
  33.     APTR  RT_IDSTRING                   ; pointer to id string
  34.     APTR  RT_INIT                       ; pointer to init code
  35.     LABEL RT_SIZE
  36.  
  37.  
  38. ;------ Match word definition:
  39.  
  40. RTC_MATCHWORD   EQU     $4AFC           ; (ILLEGAL instruction)
  41.  
  42.  
  43. ;------ RT_FLAGS bit and field definitions:
  44.  
  45. ;    BITDEF RT,COLDSTART,0
  46. RTB_COLDSTART = 0
  47. RTF_COLDSTART = 1<<0
  48. ;    BITDEF RT,AUTOINIT,7                ; RT_INIT points to data
  49. RTB_AUTOINIT = 7                ; RT_INIT points to data
  50. RTF_AUTOINIT = 1<<7                ; RT_INIT points to data
  51.  
  52. ; Compatibility:
  53. RTM_WHEN        EQU     1               ; field position in RT_FLAGS
  54. RTW_NEVER       EQU     0               ; never ever init
  55. RTW_COLDSTART   EQU     1               ; init at coldstart time
  56.  
  57.     ENDIF
  58.     END
  59.