From f62d5f6e4ebc7540a2bb9b0028b0ae495238ff80 Mon Sep 17 00:00:00 2001 From: Rudolf Cornelissen Date: Sun, 17 Jul 2005 16:06:45 +0000 Subject: [PATCH] updated register defines with info obtained from unichrome.sf.net. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13716 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/graphics/via/macros.h | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/headers/private/graphics/via/macros.h b/headers/private/graphics/via/macros.h index d397d8c1a8..eb019e9e06 100644 --- a/headers/private/graphics/via/macros.h +++ b/headers/private/graphics/via/macros.h @@ -1,5 +1,7 @@ /* registers definitions and macros for access to them */ +/* documentation can be found at http://unichrome.sourceforge.net/ */ + /* PCI_config_space */ #define ENCFG_DEVID 0x00 #define ENCFG_DEVCTRL 0x04 @@ -573,21 +575,12 @@ #define ENCRTCX_MODECTL 0x17 #define ENCRTCX_LINECOMP 0x18 /* VIA specific registers: */ -//testing: -#define ENCRTCX_0x19 0x19 -#define ENCRTCX_0x1a 0x1a -#define ENCRTCX_0x1b 0x1b -#define ENCRTCX_0x1c 0x1c -#define ENCRTCX_0x1d 0x1d -#define ENCRTCX_0x1e 0x1e -#define ENCRTCX_0x1f 0x1f -//end testing. #define ENCRTCX_0x32 0x32 -#define ENCRTCX_0x33 0x33 +#define ENCRTCX_HTIMEXT1 0x33 #define ENCRTCX_FBSTADDE 0x34 -#define ENCRTCX_PITCHH 0x35 -#define ENCRTCX_0x36 0x36 //b6,7 = DPMS, 00 = on, 11=off -#define ENCRTCX_0x3b 0x3b //TVtype jumper: b1=1 = PAL, else NTSC +#define ENCRTCX_VTIMEXT_PIT 0x35 +#define ENCRTCX_HTIMEXT2 0x36 //b6,7 = DPMS, 00 = on, 11=off (4H,5V?) +#define ENCRTCX_TVTYPE 0x3b //TVtype jumper: b1=1 = PAL, else NTSC //end via /* Nvidia specific registers: */ #define ENCRTCX_REPAINT0 0x19