#ifndef RESOURCES_CARD_H #define RESOURCES_CARD_H 1 /* ** $VER: card.h 1.11 (14.12.92) ** Includes Release 40.15 ** ** card.resource include file ** ** (C) Copyright 1991-1993 Commodore-Amiga, Inc. ** All Rights Reserved ** */ #ifndef EXEC_TYPES_H #include "exec/types.h" #endif #ifndef EXEC_NODES_H #include "exec/nodes.h" #endif #ifndef EXEC_INTERRUPTS_H #include "exec/interrupts.h" #endif #define CARDRESNAME "card.resource" /* Structures used by the card.resource */ struct CardHandle { struct Node cah_CardNode; struct Interrupt *cah_CardRemoved; struct Interrupt *cah_CardInserted; struct Interrupt *cah_CardStatus; UBYTE cah_CardFlags; }; struct DeviceTData { ULONG dtd_DTsize; /* Size in bytes */ ULONG dtd_DTspeed; /* Speed in nanoseconds */ UBYTE dtd_DTtype; /* Type of card */ UBYTE dtd_DTflags; /* Other flags */ }; struct CardMemoryMap { UBYTE *cmm_CommonMemory; UBYTE *cmm_AttributeMemory; UBYTE *cmm_IOMemory; /* Extended for V39 - These are the size of the memory spaces above */ ULONG cmm_CommonMemSize; ULONG cmm_AttributeMemSize; ULONG cmm_IOMemSize; }; /* CardHandle.cah_CardFlags for OwnCard() function */ #define CARDB_RESETREMOVE 0 #define CARDF_RESETREMOVE (1<