FEDRA emulsion software from the OPERA Collaboration
Odyssey.h
Go to the documentation of this file.
1/******************************************************************************/
2/*
3*
4* Filename: ODYSSEY.H
5* Owner : Matrox Imaging dept.
6* Rev : $Revision: 1.1 $
7* Content : This file contains the new defines that are needed by the user
8* to use the MIL current library with the GENESIS.
9*
10* COPYRIGHT (c) Matrox Electronic Systems Ltd.
11* All Rights Reserved
12*/
13/******************************************************************************/
14
15#ifndef __MIL_H
16#include <mil.h>
17#endif
18
19#ifndef __ODYSSEY_H
20#define __ODYSSEY_H
21
22//==============================================================================
23// PCI device information
24//==============================================================================
25#define M_PCI_VENDOR_ID 0x00 // (16 lsb)
26#define M_PCI_DEVICE_ID 0x00 // (16 msb)
27#define M_PCI_COMMAND 0x01 // (16 lsb)
28#define M_PCI_STATUS 0x01 // (16 msb)
29#define M_PCI_REVISION_ID 0x02 // (byte 0)
30#define M_PCI_CLASS_CODE 0x02 // (byte 1,2,3)
31#define M_PCI_LATENCY_TIMER 0x03 // (byte 1)
32#define M_PCI_BASE_ADRS0 0x04 //
33#define M_PCI_BASE_ADRS1 0x05 //
34#define M_PCI_INT_LINE 0x0F // (byte 0)
35#define M_PCI_INT_PIN 0x0F // (byte 1)
36
37#define M_RGB888_ATIMACH64 0xE5E5E500L /* Internal use only */
38#define M_RGB888_NORMALVGA 0x39393900L /* Internal use only */
39
40#if M_MIL_USE_WINDOWS
41 #ifndef _IM_HOST_OS_NT
42 #define _IM_HOST_OS_NT
43 #define _IM_HOST_CODE
44 #endif
45 #ifndef _IM_HOST_CODE
46 #define _IM_HOST_CODE
47 #endif
48 #ifdef _MSC_VER
49 #ifndef _IM_COMP_MICROSOFT
50 #define _IM_COMP_MICROSOFT
51 #endif
52 #endif
53 #ifdef __TURBOC__
54 #ifndef _IM_COMP_BC
55 #define _IM_COMP_BC
56 #endif
57 #endif
58#endif
59
60#endif