home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / TRSICAT.LZX / CATS_CD2_TRSI / Reference_Library / lib_examples / samplebase.i < prev    next >
Encoding:
Text File  |  1992-08-21  |  686 b   |  36 lines

  1. * samplebase.i -- definition of sample.library base
  2.  
  3.    IFND  SAMPLE_BASE_I
  4. SAMPLE_BASE_I SET 1
  5.  
  6.  
  7.    IFND  EXEC_TYPES_I
  8.    INCLUDE  "exec/types.i"
  9.    ENDC   ; EXEC_TYPES_I
  10.  
  11.    IFND  EXEC_LIBRARIES_I
  12.    INCLUDE  "exec/libraries.i"
  13.    ENDC   ; EXEC_LIBRARIES_I
  14.  
  15. ;--------------------------
  16. ; library data structures
  17. ;--------------------------
  18.  
  19. ;  Note that the library base begins with a library node
  20.  
  21.    STRUCTURE SampleBase,LIB_SIZE
  22.    UBYTE   sb_Flags
  23.    UBYTE   sb_pad
  24.    ;We are now longword aligned
  25.    ULONG   sb_SysLib
  26.    ULONG   sb_DosLib
  27.    ULONG   sb_SegList
  28.    LABEL   SampleBase_SIZEOF
  29.  
  30.  
  31. SAMPLENAME   MACRO
  32.       DC.B   'sample.library',0
  33.       ENDM
  34.  
  35.    ENDC  ;SAMPLE_BASE_I
  36.