home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / cbm / nduk-v37.lha / V37 / include / exec / resident.i < prev    next >
Text File  |  1991-11-27  |  2KB  |  58 lines

  1.     IFND    EXEC_RESIDENT_I
  2. EXEC_RESIDENT_I    SET    1
  3. **
  4. **    $Filename: exec/resident.i $
  5. **    $Release: 2.04 Includes, V37.4 $
  6. **    $Revision: 36.8 $
  7. **    $Date: 90/11/01 $
  8. **
  9. **    Resident/ROMTag stuff.    Used to identify and initialize code modules.
  10. **
  11. **    (C) Copyright 1985-1991 Commodore-Amiga, Inc.
  12. **        All Rights Reserved
  13. **
  14.  
  15.     IFND EXEC_TYPES_I
  16.     INCLUDE "exec/types.i"
  17.     ENDC ; EXEC_TYPES_I
  18.  
  19.  
  20. *----------------------------------------------------------------
  21. *
  22. *   Resident Module Tag
  23. *
  24. *----------------------------------------------------------------
  25.  
  26.  STRUCTURE RT,0
  27.     UWORD RT_MATCHWORD            ; word to match on (ILLEGAL)
  28.     APTR  RT_MATCHTAG            ; pointer to the above (RT_MATCHWORD)
  29.     APTR  RT_ENDSKIP            ; address to continue scan
  30.     UBYTE RT_FLAGS            ; various tag flags
  31.     UBYTE RT_VERSION            ; release version number
  32.     UBYTE RT_TYPE            ; type of module (NT_XXXXXX)
  33.     BYTE  RT_PRI            ; initialization priority
  34.     APTR  RT_NAME            ; pointer to node name
  35.     APTR  RT_IDSTRING            ; pointer to identification string
  36.     APTR  RT_INIT            ; pointer to init code
  37.     LABEL RT_SIZE
  38.  
  39.  
  40. ;------ Match word definition:
  41.  
  42. RTC_MATCHWORD    EQU    $4AFC        ; The 68000 "ILLEGAL" instruction
  43.  
  44.  
  45. ;------ RT_FLAGS bit and field definitions:
  46.  
  47.     BITDEF RT,COLDSTART,0
  48.     BITDEF RT,SINGLETASK,1
  49.     BITDEF RT,AFTERDOS,2
  50.     BITDEF RT,AUTOINIT,7        ; RT_INIT points to data structure
  51.  
  52. ; Compatibility: (obsolete)
  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.     ENDC    ; EXEC_RESIDENT_I
  58.