   IFND  LIBRARIES_ATEOBUS_I
HARDWARE_ATEOBUS_I   SET   1
**
** $VER: ateobus.i 2.0 (30.11.98)
**
** for use with ateobus.library V2.0+
**
** (C) Copyright 1998 Atéo Concepts SARL
**     All Rights Reserved
**

KEYSIZE        EQU   522

ATEOBUS_SPACE  EQU   $1
ISA_SPACE      EQU   $2
IO_SPACE       EQU   $10
MEMORY_SPACE   EQU   $20

AC_IRQLEVELB   EQU   1
AC_IRQLEVELF   EQU   1<<AC_IRQLEVELB

;--- KeyType ---- */

KEY_HARD_DRIVE EQU   0x80  ; si actif, la clef est base sur le disque dur, sinon sur ...
KEY_UNKNOW     EQU   0x40


STRUCTURE AC_Key,0
   STRUCT ack_Device,32           ; device forthe key
   UBYTE  ack_Unit                ; unit of the key
   STRUCT ack_Key,KEYSIZE         ; key
   LABEL  ack_SIZEOF

STRUCTURE AC_ConfigDev,0
   STRUCT acd_Node,LN_SIZE        ; For internal use only
   UWORD  acd_Taille;             ; Size of the structures AC_ConfigDev after this field (read only!!)
   STRUCT AC_Key,ack_SIZEOF       ; for internal use only
   STRUCT AteoISABoards,isa_SIZEOF; private prefs
   STRUCT acd_Device,32           ; name of the associate device
   ULONG  acd_BaseAdr             ; Base of the ISA space
   ULONG  acd_Flags
   UWORD  acd_UnitOffset          ; Offset of the unit from the BaseAddress
   UWORD  acd_Manufacturer        ; manufacturer number, assigned by Commodore only!
   UBYTE  acd_Pad0
   UBYTE  acd_Irq                 ; Irq Level
   UBYTE  acd_UnitNum             ; Unit of this config dev
   UBYTE  acd_Product             ; product number
   UWORD  acd_UnitSize            ; size of the unit (multiple of 8 bytes)
   UWORD  acd_Pad1
   STRUCT acd_Unused,16           ; for what the device want
   LABEL  acd_SIZEOF

ENDC  ; LIBRARIES_ATEOBUS_I

