home *** CD-ROM | disk | FTP | other *** search
/ Dave Lowe: AssemPro For Development Amiga Driver / Lowe_AssemProForDevelopmentAmigaDriver.adf / Includes / libraries / configvars.i < prev    next >
Encoding:
Text File  |  1978-06-06  |  2.0 KB  |  68 lines

  1.  
  2. ;**; configvars.i ;********************************************************
  3. ;
  4. ;  software structures for configuration subsystem
  5. ;
  6. ; Copyright (C) 1985,  Commodore-Amiga, Inc., All rights reserved.
  7. ;
  8. ; $Header: configvars.i,v 33.2 86/04/25 03:58:09 neil Exp $
  9. ;
  10. ; $Locker:  $
  11. ;
  12. ; $Log: configvars.i,v $
  13. ; Revision 33.2  86/04/25  03:58:09  neil
  14. ; added cb_ToolTypes
  15. ; Revision 33.1  86/04/03  19:14:04  neil
  16. ; ;*; empty log message ;**
  17. ;
  18. ;***************************************************************************
  19.  
  20.         IFND    LIBRARIES_CONFIGVARS_I@
  21. LIBRARIES_CONFIGVARS_I@  =     1
  22.  
  23.         IFND    EXEC_NODES_I@
  24.         INCLUDE "exec/nodes.i"
  25.         ENDIF
  26.  
  27.         IFND    LIBRARIES_CONFIGREGS_I@
  28.         INCLUDE "libraries/configregs.i"
  29.         ENDIF
  30.  
  31.  
  32.  STRUCTURE ConfigDev,0
  33.     STRUCT      cd_Node,LN_SIZE
  34.     UBYTE       cd_Flags
  35.     UBYTE       cd_Pad
  36.     STRUCT      cd_Rom,ExpansionRom_SIZEOF ; copy of boards config rom
  37.     APTR        cd_BoardAddr    ; where in memory the board is
  38.     APTR        cd_BoardSize    ; size in bytes
  39.     UWORD       cd_SlotAddr     ; which slot number
  40.     UWORD       cd_SlotSize     ; number of slots the board takes
  41.     APTR        cd_Driver       ; pointer to node of driver
  42.     APTR        cd_NextCD       ; linked list of drivers to config
  43.     STRUCT      cd_Unused,4*4   ; for whatever the driver whats
  44.     LABEL       ConfigDev_SIZEOF
  45.  
  46. ; cd_Flags
  47. ;        BITDEF  CD,SHUTUP,0     ; this board has been shut up
  48. CDB_SHUTUP = 0     ; this board has been shut up
  49. CDF_SHUTUP = 1<<0     ; this board has been shut up
  50. ;        BITDEF  CD,CONFIGME,1   ; this board needs a driver to claim it
  51. CDB_CONFIGME = 1   ; this board needs a driver to claim it
  52. CDF_CONFIGME = 1<<1   ; this board needs a driver to claim it
  53.  
  54. ; this structure is used by GetCurrentBinding() and SetCurrentBinding()
  55.  STRUCTURE CurrentBinding,0
  56.     APTR        cb_ConfigDev
  57.     APTR        cb_FileName
  58.     APTR        cb_ProductString
  59.     APTR        cb_ToolTypes
  60.     LABEL       CurrentBinding_SIZEOF
  61.  
  62.  
  63.         ENDIF
  64.         END
  65.