Search
lxdream.org :: lxdream/src/pvr2/pvr2mmio.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/pvr2mmio.h
changeset 189:615b70cfd729
prev128:f98ce97cacdd
next191:df4441cf3128
author nkeynes
date Wed Aug 02 04:06:45 2006 +0000 (13 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/pvr2mmio.h Thu Mar 23 13:19:55 2006 +0000
1.2 +++ b/src/pvr2/pvr2mmio.h Wed Aug 02 04:06:45 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: pvr2mmio.h,v 1.3 2006-03-23 13:19:55 nkeynes Exp $
1.6 + * $Id: pvr2mmio.h,v 1.4 2006-08-02 04:06:45 nkeynes Exp $
1.7 *
1.8 * PVR2 (video chip) MMIO register definitions.
1.9 *
1.10 @@ -19,9 +19,9 @@
1.11 #include "mmio.h"
1.12
1.13 MMIO_REGION_BEGIN( 0x005F8000, PVR2, "Power VR/2" )
1.14 - LONG_PORT( 0x000, PVRID, PORT_MR, 0x17FD11DB, "PVR2 Core ID" )
1.15 - LONG_PORT( 0x004, PVRVER, PORT_MR, 0x00000011, "PVR2 Core Version" )
1.16 - LONG_PORT( 0x008, PVRRST, PORT_MR, 0, "PVR2 Reset" )
1.17 + LONG_PORT( 0x000, PVRID, PORT_R, 0x17FD11DB, "PVR2 Core ID" )
1.18 + LONG_PORT( 0x004, PVRVER, PORT_R, 0x00000011, "PVR2 Core Version" )
1.19 + LONG_PORT( 0x008, PVRRST, PORT_MRW, 0, "PVR2 Reset" )
1.20 LONG_PORT( 0x014, RENDSTART, PORT_W, 0, "Start render" )
1.21 LONG_PORT( 0x020, OBJBASE, PORT_MRW, 0, "Object buffer base offset" )
1.22 LONG_PORT( 0x02C, TILEBASE, PORT_MRW, 0, "Tile buffer base offset" )
1.23 @@ -42,12 +42,14 @@
1.24 LONG_PORT( 0x084, TSPCLIP, PORT_MRW, 0, "Texture clip distance (float32)" )
1.25 LONG_PORT( 0x088, BGPLANEZ, PORT_MRW, 0, "Background plane depth (float32)" )
1.26 LONG_PORT( 0x08C, BGPLANE, PORT_MRW, 0, "Background plane config" )
1.27 + LONG_PORT( 0x098, ISPCFG, PORT_MRW, 0, "ISP config" )
1.28 LONG_PORT( 0x0B0, FOGTBLCOL, PORT_MRW, 0, "Fog table colour" )
1.29 LONG_PORT( 0x0B4, FOGVRTCOL, PORT_MRW, 0, "Fog vertex colour" )
1.30 LONG_PORT( 0x0B8, FOGCOEFF, PORT_MRW, 0, "Fog density coefficient (float16)" )
1.31 LONG_PORT( 0x0BC, CLAMPHI, PORT_MRW, 0, "Clamp high colour" )
1.32 LONG_PORT( 0x0C0, CLAMPLO, PORT_MRW, 0, "Clamp low colour" )
1.33 LONG_PORT( 0x0C4, GUNPOS, PORT_MRW, 0, "Lightgun position" )
1.34 + LONG_PORT( 0x0C8, HPOS_IRQ, PORT_MRW, 0, "Raster horizontal event position" )
1.35 LONG_PORT( 0x0CC, VPOS_IRQ, PORT_MRW, 0, "Raster event position" )
1.36 LONG_PORT( 0x0D0, DISPCFG, PORT_MRW, 0, "Sync configuration & enable" )
1.37 LONG_PORT( 0x0D4, HBORDER, PORT_MRW, 0, "Horizontal border area" )
1.38 @@ -60,16 +62,16 @@
1.39 LONG_PORT( 0x0F4, SCALERCFG, PORT_MRW, 0, "Scaler configuration (?)" )
1.40 LONG_PORT( 0x108, PALETTECFG, PORT_MRW, 0, "Palette configuration" )
1.41 LONG_PORT( 0x10C, BEAMPOS, PORT_R, 0, "Raster beam position" )
1.42 - LONG_PORT( 0x124, TAOBJPBASE, PORT_MRW, 0, "TA Object Pointer Buffer start" )
1.43 - LONG_PORT( 0x128, TAOBJBASE, PORT_MRW, 0, "TA Object Buffer start" )
1.44 - LONG_PORT( 0x12C, TAOBJPEND, PORT_MRW, 0, "TA Object Pointer Buffer end" )
1.45 - LONG_PORT( 0x130, TAOBJEND, PORT_MRW, 0, "TA Object Buffer end" )
1.46 - LONG_PORT( 0x134, TAOBJPPOS, PORT_MRW, 0, "TA Object Pointer Buffer position" )
1.47 - LONG_PORT( 0x138, TAOBJPOS, PORT_MRW, 0, "TA Object Buffer position" )
1.48 - LONG_PORT( 0x13C, TATBSZ, PORT_MRW, 0, "TA Tile Buffer size" )
1.49 - LONG_PORT( 0x140, TAOPBCFG, PORT_MRW, 0, "TA Object Pointer Buffer config" )
1.50 - LONG_PORT( 0x144, TAINIT, PORT_MRW, 0, "TA Initialize" )
1.51 - LONG_PORT( 0x164, TAOPLST, PORT_MRW, 0, "TA Object Pointer List start" )
1.52 + LONG_PORT( 0x124, TA_TILEBASE, PORT_MRW, 0, "TA Tile matrix start" )
1.53 + LONG_PORT( 0x128, TA_POLYBASE, PORT_MRW, 0, "TA Polygon buffer start" )
1.54 + LONG_PORT( 0x12C, TA_TILEEND, PORT_MRW, 0, "TA Tile matrix end" )
1.55 + LONG_PORT( 0x130, TA_POLYEND, PORT_MRW, 0, "TA Polygon buffer end" )
1.56 + LONG_PORT( 0x134, TA_LISTPOS, PORT_R, 0, "TA Tile list position" )
1.57 + LONG_PORT( 0x138, TA_POLYPOS, PORT_R, 0, "TA Polygon buffer position" )
1.58 + LONG_PORT( 0x13C, TA_TILESIZE, PORT_MRW, 0, "TA Tile matrix size" )
1.59 + LONG_PORT( 0x140, TA_TILECFG, PORT_MRW, 0, "TA Tile matrix config" )
1.60 + LONG_PORT( 0x144, TA_INIT, PORT_W, 0, "TA Initialize" )
1.61 + LONG_PORT( 0x164, TA_LISTBASE, PORT_MRW, 0, "TA Tile list start" )
1.62 MMIO_REGION_END
1.63
1.64 MMIO_REGION_BEGIN( 0x005F9000, PVR2PAL, "Power VR/2 CLUT Palettes" )
.