home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / DevCon / Washington_1988 / Devcon_Extras / Example_Code / SampleLibrary / include / samplebase.i < prev   
Encoding:
Text File  |  1992-08-27  |  1.3 KB  |  50 lines

  1.  
  2. ***********************************************************************
  3. *                                                                     *
  4. * samplebase.i -- definition of sample.library base                   *
  5. *                                                                     *
  6. * Copyright (C) 1985, 1988 Commodore Amiga Inc.  All rights reserved. *
  7. *                                                                     *
  8. ***********************************************************************
  9.  
  10.    IFND  SAMPLE_BASE_I
  11. SAMPLE_BASE_I SET 1
  12.  
  13.  
  14.    IFND  EXEC_TYPES_I
  15.    INCLUDE  "exec/types.i"
  16.    ENDC   ; EXEC_TYPES_I
  17.  
  18.    IFND  EXEC_LISTS_I
  19.    INCLUDE  "exec/lists.i"
  20.    ENDC   ; EXEC_LISTS_I
  21.  
  22.    IFND  EXEC_LIBRARIES_I
  23.    INCLUDE  "exec/libraries.i"
  24.    ENDC   ; EXEC_LIBRARIES_I
  25.  
  26.  
  27. ;-----------------------------------------------------------------------
  28. ;
  29. ; library data structures
  30. ;
  31. ;-----------------------------------------------------------------------
  32.  
  33. ;  Note that the library base begins with a library node
  34.  
  35.    STRUCTURE SampleBase,LIB_SIZE
  36.    UBYTE   sb_Flags
  37.    UBYTE   sb_pad
  38.    ;We are now longword aligned
  39.    ULONG   sb_SysLib
  40.    ULONG   sb_DosLib
  41.    ULONG   sb_SegList
  42.    LABEL   SampleBase_SIZEOF
  43.  
  44.  
  45. SAMPLENAME   MACRO
  46.       DC.B   'sample.library',0
  47.       ENDM
  48.  
  49.    ENDC  ;EXEC_SAMPLEBASE_I
  50.