home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 4 / FreshFish_May-June1994.bin / bbs / cbm / nduk-v39.lha / V39 / include / exec / resident.i < prev    next >
Text File  |  1992-09-24  |  1KB  |  56 lines

  1.     IFND    EXEC_RESIDENT_I
  2. EXEC_RESIDENT_I    SET    1
  3. **
  4. **    $VER: resident.i 39.0 (15.10.91)
  5. **    Includes Release 39.108
  6. **
  7. **    Resident/ROMTag stuff.    Used to identify and initialize code modules.
  8. **
  9. **    (C) Copyright 1985-1992 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. **
  12.  
  13.     IFND EXEC_TYPES_I
  14.     INCLUDE "exec/types.i"
  15.     ENDC ; EXEC_TYPES_I
  16.  
  17.  
  18. *----------------------------------------------------------------
  19. *
  20. *   Resident Module Tag
  21. *
  22. *----------------------------------------------------------------
  23.  
  24.  STRUCTURE RT,0
  25.     UWORD RT_MATCHWORD            ; word to match on (ILLEGAL)
  26.     APTR  RT_MATCHTAG            ; pointer to the above (RT_MATCHWORD)
  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 (NT_XXXXXX)
  31.     BYTE  RT_PRI            ; initialization priority
  32.     APTR  RT_NAME            ; pointer to node name
  33.     APTR  RT_IDSTRING            ; pointer to identification 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        ; The 68000 "ILLEGAL" instruction
  41.  
  42.  
  43. ;------ RT_FLAGS bit and field definitions:
  44.  
  45.     BITDEF RT,COLDSTART,0
  46.     BITDEF RT,SINGLETASK,1
  47.     BITDEF RT,AFTERDOS,2
  48.     BITDEF RT,AUTOINIT,7        ; RT_INIT points to data structure
  49.  
  50. ; Compatibility: (obsolete)
  51. ;RTM_WHEN    EQU    1        ; field position in RT_FLAGS
  52. RTW_NEVER    EQU    0        ; never ever init
  53. RTW_COLDSTART    EQU    1        ; init at coldstart time
  54.  
  55.     ENDC    ; EXEC_RESIDENT_I
  56.