home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / cbm / os-include.lha / os-include / libraries / expansionbase.i < prev    next >
Text File  |  1993-10-15  |  2KB  |  81 lines

  1.     IFND    LIBRARIES_EXPANSIONBASE_I
  2. LIBRARIES_EXPANSIONBASE_I    SET    1
  3. **
  4. **    $VER: expansionbase.i 36.18 (21.10.91)
  5. **    Includes Release 40.15
  6. **
  7. **    Definitions for the expansion library base
  8. **
  9. **    (C) Copyright 1987-1993 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. **
  12.     IFND    EXEC_TYPES_I
  13.     INCLUDE "exec/types.i"
  14.     ENDC    ; EXEC_TYPES_I
  15.  
  16.     IFND    EXEC_LIBRARIES_I
  17.     INCLUDE "exec/libraries.i"
  18.     ENDC    ; EXEC_LIBRARIES_I
  19.  
  20.     IFND    EXEC_SEMAPHORES_I
  21.     INCLUDE "exec/semaphores.i"
  22.     ENDC    ; EXEC_SEMAPHORES_I
  23.  
  24.     IFND    LIBRARIES_CONFIGVARS_I
  25.     INCLUDE "libraries/configvars.i"
  26.     ENDC    ; LIBRARIES_CONFIGVARS_I
  27.  
  28. **
  29. ** BootNodes are scanned by dos.library at startup.  Items found on the
  30. ** list are started by dos. BootNodes are added with the AddDosNode() or
  31. ** the V36 AddBootNode() calls.
  32. **
  33.   STRUCTURE    BootNode,LN_SIZE
  34.     UWORD    bn_Flags
  35.     APTR    bn_DeviceNode
  36.     LABEL    BootNode_SIZEOF
  37.  
  38. **
  39. ** expansion.library has functions to manipulate most of the information in
  40. ** ExpansionBase.  Direct access is not permitted.  Use FindConfigDev()
  41. ** to scan the board list.
  42. **
  43.   STRUCTURE    ExpansionBase,LIB_SIZE
  44.     UBYTE    eb_Flags                ;read only (see below)
  45.     UBYTE    eb_Private01                ;private
  46.     ULONG    eb_Private02                ;private
  47.     ULONG    eb_Private03                ;private
  48.     STRUCT    eb_Private04,CurrentBinding_SIZEOF    ;private
  49.     STRUCT    eb_Private05,LH_SIZE            ;private
  50.     STRUCT    eb_MountList,LH_SIZE    ; contains struct BootNode entries
  51.     ;...                        ;private
  52.  
  53.  
  54. ; error codes
  55. EE_OK        EQU 0
  56. EE_LASTBOARD    EQU 40    ; could not shut him up
  57. EE_NOEXPANSION    EQU 41    ; not enough expansion mem; board shut up
  58. EE_NOMEMORY    EQU 42    ; not enough normal memory
  59. EE_NOBOARD    EQU 43    ; no board at that address
  60. EE_BADMEM    EQU 44    ; tried to add a bad memory card
  61.  
  62. ; Flags
  63.     BITDEF    EB,CLOGGED,0    ; someone could not be shutup
  64.     BITDEF    EB,SHORTMEM,1    ; ran out of expansion mem
  65.     BITDEF    EB,BADMEM,2    ; tried to add a bad memory card
  66.     BITDEF    EB,DOSFLAG,3    ; reserved for use by AmigaDOS
  67.     BITDEF    EB,KICKBACK33,4    ; reserved for use by AmigaDOS
  68.     BITDEF    EB,KICKBACK36,5    ; reserved for use by AmigaDOS
  69. ** If the following flag is set by a floppy's bootblock code, the initial
  70. ** open of the initial shell window will be delayed until the first output
  71. ** to that shell.  Otherwise the 1.3 compatible behavior applies.
  72.     BITDEF    EB,SILENTSTART,6
  73.  
  74. *
  75. * Magic kludge to tell the system if CC0 was started or not...
  76. *
  77.     BITDEF    EB,START_CC0,7
  78.  
  79.  
  80.     ENDC    ; LIBRARIES_EXPANSIONBASE_I
  81.