// return 1;\r
\r
// HACK!!!\r
-// {\r
-// int w = 1980, h = 1080;\r
-// gpTegra2Vid_IOMem[DC_DISP_DISP_ACTIVE_0] = (h << 16) | w;\r
-// gpTegra2Vid_IOMem[DC_WIN_A_SIZE_0] = (h << 16) | w;\r
-// gpTegra2Vid_IOMem[DC_WIN_A_PRESCALED_SIZE_0] = (h << 16) | w;\r
-// }\r
+#if 0\r
+ {\r
+ int w = 1680, h = 1050;\r
+ gpTegra2Vid_IOMem[DC_DISP_DISP_ACTIVE_0] = (h << 16) | w;\r
+ gpTegra2Vid_IOMem[DC_WIN_A_SIZE_0] = (h << 16) | w;\r
+ gpTegra2Vid_IOMem[DC_WIN_A_PRESCALED_SIZE_0] = (h << 16) | w;\r
+ }\r
+#endif\r
\r
giTegra2Vid_FramebufferSize =\r
(gpTegra2Vid_IOMem[DC_WIN_A_SIZE_0]&0xFFFF)\r
);\r
memset(gpTegra2Vid_Framebuffer, 0xFF, 0x1000);\r
\r
- gpTegra2Vid_IOMem[DC_WIN_A_WIN_OPTIONS_0] &= ~0x40;\r
- gpTegra2Vid_IOMem[DC_WIN_A_COLOR_DEPTH_0] = 12; // Could be 13 (BGR/RGB)\r
+// gpTegra2Vid_IOMem[DC_WIN_A_WIN_OPTIONS_0] &= ~0x40;\r
+// gpTegra2Vid_IOMem[DC_WIN_A_COLOR_DEPTH_0] = 12; // Could be 13 (BGR/RGB)\r
gTegra2Vid_DrvUtil_BufInfo.Width = 1024;\r
gTegra2Vid_DrvUtil_BufInfo.Height = 768;\r
gTegra2Vid_DrvUtil_BufInfo.Pitch = 1024*4;\r