Search
lxdream.org :: lxdream/src/pvr2/pvr2.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/pvr2.h
changeset 189:615b70cfd729
prev161:408b9210395f
next219:dfd3292143f2
author nkeynes
date Wed Aug 02 04:06:45 2006 +0000 (14 years ago)
permissions -rw-r--r--
last change Issue 0003: TA Vertex compiler
Initial implementation of the TA.
Renderer hooked up to the TA "properly" now as well
file annotate diff log raw
1.1 --- a/src/pvr2/pvr2.h Sun Jun 18 11:57:05 2006 +0000
1.2 +++ b/src/pvr2/pvr2.h Wed Aug 02 04:06:45 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: pvr2.h,v 1.14 2006-06-18 11:57:05 nkeynes Exp $
1.6 + * $Id: pvr2.h,v 1.15 2006-08-02 04:06:45 nkeynes Exp $
1.7 *
1.8 * PVR2 (video chip) functions and macros.
1.9 *
1.10 @@ -22,6 +22,8 @@
1.11 #include "pvr2/pvr2mmio.h"
1.12 #include <GL/gl.h>
1.13
1.14 +typedef unsigned int pvraddr_t;
1.15 +typedef unsigned int pvr64addr_t;
1.16
1.17 #define DISPMODE_DE 0x00000001 /* Display enable */
1.18 #define DISPMODE_SD 0x00000002 /* Scan double */
1.19 @@ -52,6 +54,7 @@
1.20 #define PVR2_RAM_BASE_INT 0x04000000
1.21 #define PVR2_RAM_SIZE (8 * 1024 * 1024)
1.22 #define PVR2_RAM_PAGES (PVR2_RAM_SIZE>>12)
1.23 +#define PVR2_RAM_MASK 0x7FFFFF
1.24
1.25 void pvr2_next_frame( void );
1.26 void pvr2_set_base_address( uint32_t );
.