home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BC_DICE2.DMS / in.adf / INCLUDE / libraries / expansionbase.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-10  |  1.4 KB  |  86 lines

  1. #ifndef LIBRARIES_EXPANSIONBASE_H
  2. #define LIBRARIES_EXPANSIONBASE_H
  3. /*
  4. ** $Filename: libraries/expansionbase.h $
  5. ** $Release: 2.04 Includes, V37.4 $
  6. ** $Revision: 36.15 $
  7. ** $Date: 91/10/21 $
  8. **
  9. ** Definitions for the expansion library base
  10. **
  11. ** (C) Copyright 1987-1991 Commodore-Amiga, Inc.
  12. ** All Rights Reserved
  13. */
  14.  
  15. #ifndef EXEC_TYPES_H
  16. #include "exec/types.h"
  17. #endif 
  18.  
  19. #ifndef EXEC_LIBRARIES_H
  20. #include "exec/libraries.h"
  21. #endif 
  22.  
  23. #ifndef EXEC_SEMAPHORES_H
  24. #include "exec/semaphores.h"
  25. #endif 
  26.  
  27. #ifndef LIBRARIES_CONFIGVARS_H
  28. #include "libraries/configvars.h"
  29. #endif 
  30.  
  31.  
  32.  
  33. struct BootNode
  34. {
  35.  struct Node bn_Node;
  36.  UWORD bn_Flags;
  37.  APTR bn_DeviceNode;
  38. };
  39.  
  40.  
  41.  
  42. struct ExpansionBase
  43. {
  44.  struct Library LibNode;
  45.  UBYTE Flags; 
  46.  UBYTE eb_Private01; 
  47.  ULONG eb_Private02; 
  48.  ULONG eb_Private03; 
  49.  struct CurrentBinding eb_Private04; 
  50.  struct List eb_Private05; 
  51.  struct List MountList; 
  52.  
  53. };
  54.  
  55.  
  56. #define EE_OK 0
  57. #define EE_LASTBOARD 40 
  58. #define EE_NOEXPANSION 41 
  59. #define EE_NOMEMORY 42 
  60. #define EE_NOBOARD 43 
  61. #define EE_BADMEM 44 
  62.  
  63.  
  64. #define EBB_CLOGGED 0 
  65. #define EBF_CLOGGED (1<<0)
  66. #define EBB_SHORTMEM 1 
  67. #define EBF_SHORTMEM (1<<1)
  68. #define EBB_BADMEM 2 
  69. #define EBF_BADMEM (1<<2)
  70. #define EBB_DOSFLAG 3 
  71. #define EBF_DOSFLAG (1<<3)
  72. #define EBB_KICKBACK33 4 
  73. #define EBF_KICKBACK33 (1<<4)
  74. #define EBB_KICKBACK36 5 
  75. #define EBF_KICKBACK36 (1<<5)
  76.  
  77. #define EBB_SILENTSTART 6
  78. #define EBF_SILENTSTART (1<<6)
  79.  
  80.  
  81. #define EBB_START_CC0 7
  82. #define EBF_START_CC0 (1<<7)
  83.  
  84.  
  85. #endif 
  86.