/******************************************************************************
 * defines file for mach64 Chapter 8 sample code                              *
 *                                                                            *
 * Copyright (c) 1994-1998 ATI Technologies Inc.  All rights reserved.        *
 ******************************************************************************/

// Use Chapter 7 version of DEFINES.H

#include "..\..\chap7\util\defines.h"

// Needed for VIEWIMG.C

#define MEM_READ                0
#define MEM_WRITE               1
#define LOAD_SUCCESSFUL     0
#define LOAD_FAILED             1
#define YES_ERROR               1
#define NO_ERROR                0
#define VGA_APERTURE_ENABLED    1
#define VGA_APERTURE_DISABLED   0
#define LOAD_NORMAL     0
#define LOAD_HEADER_ONLY    1
#define FORMAT_TYPE_15BPP   3
#define FORMAT_TYPE_16BPP   4
#define FORMAT_TYPE_32BPP   6
#define FORMAT_TYPE_YUV9    9
#define FORMAT_TYPE_YUV12   10
#define FORMAT_TYPE_VYUY    11
#define FORMAT_TYPE_YVYU    12

#define CHIP_GX_ID  0x00D7
#define CHIP_CX_ID  0x0057
#define CHIP_CT_ID  0x4354
#define CHIP_VT_ID  0x5654
#define CHIP_GT_ID  0x4754 // 3D RAGE I, II
#define CHIP_GU_ID  0x4755 // 3D RAGE II+
#define CHIP_GB_ID  0x4742 // 3D RAGE PRO (BGA package, AGP1x2x)
#define CHIP_GD_ID  0x4744 // 3D RAGE PRO (BGA package, AGP1x only)
#define CHIP_GI_ID  0x4749 // 3D RAGE PRO (BGA package, PCI 33 MHz only)
#define CHIP_GP_ID  0x4750 // 3D RAGE PRO (PQFP package, PCI)
#define CHIP_GQ_ID  0x4751 // 3D RAGE PRO (PQFP package, PCI, limited 3D)
#define CHIP_VV_ID  0x5656 // VT 4 (no 3D)
#define CHIP_GV_ID  0x4756 // 3D RAGE IIC (PQFP, PCI 33 MHz)
#define CHIP_GZ_ID  0x475A // 3D RAGE IIC (PQFP, PCI 66 MHz)
#define CHIP_GW_ID  0x4757 // 3D RAGE IIC (BGA, PCI 66 MHz)
#define CHIP_GY_ID  0x4759 // 3D RAGE IIC (BGA, PCI 33 MHz)

#define CHIP_LB_ID  0x4C42 // 3D RAGE LT PRO
#define CHIP_LD_ID  0x4C44 // 3D RAGE LT PRO
#define CHIP_LP_ID  0x4C50 // 3D RAGE LT PRO

#define VTGTB1S1        0x01            //  Asic description for VTB1S1 and GTB1S1.
#define VT4GTIIC        0x3A            // asic descr for VT4 and RAGE IIC
#define GTB1U1          0x19            //  Asic description for GTB1U1.
#define GTB1S2          0x41            //  Asic description for GTB1S2.
#define GTB2U1          0x1A
#define GTB2U2          0x5A
#define GTB2U3          0x9A
#define GTIIIC1U1       0x1B            // 3D RAGE PRO asic descrp.
#define GTIIIC1U2       0x5B            // 3D RAGE PRO asic descrp.
#define GTIIIC2U1       0x1C            // 3D RAGE PRO asic descrp.
#define GTIIIC2U2       0x5C            // 3D RAGE PRO asic descrp.
#define GTIIIC2U3       0x7C            // 3D RAGE PRO asic descrp.
#define GTBC            0x3A            // 3D RAGE IIC asic descrp.
#define LTPRO           0x9C            // 3D RAGE LT PRO




