pkgsrc/emulators/palmosemulator/patches/patch-am

51 lines
2.5 KiB
Text

$NetBSD: patch-am,v 1.1 2004/03/20 20:21:22 kristerw Exp $
--- SrcShared/Hardware/EmRegsVZ.cpp.orig Sat Mar 20 20:28:32 2004
+++ SrcShared/Hardware/EmRegsVZ.cpp Sat Mar 20 20:30:42 2004
@@ -270,7 +270,7 @@
{ 0 }, // UInt8 ___filler28a[0xA00-0x91E];
0x00000000, // UInt32 lcdStartAddr; // $A00: Screen Starting Address Register
- { 0 }, // UInt8 ___filler29;
+ 0, // UInt8 ___filler29;
0xFF, // UInt8 lcdPageWidth; // $A05: Virtual Page Width Register
{ 0 }, // UInt8 ___filler30[2];
0x03F0, // UInt16 lcdScreenWidth; // $A08: Screen Width Register
@@ -279,29 +279,29 @@
0x0000, // UInt16 lcdCursorXPos; // $A18: Cursor X Position
0x0000, // UInt16 lcdCursorYPos; // $A1A: Cursor Y Position
0x0101, // UInt16 lcdCursorWidthHeight; // $A1C: Cursor Width and Height
- { 0 }, // UInt8 ___filler32;
+ 0, // UInt8 ___filler32;
0x7F, // UInt8 lcdBlinkControl; // $A1F: Blink Control Register
0x00, // UInt8 lcdPanelControl; // $A20: Panel Interface Configuration Register
0x00, // UInt8 lcdPolarity; // $A21: Polarity Config Register
- { 0 }, // UInt8 ___filler33;
+ 0, // UInt8 ___filler33;
0x00, // UInt8 lcdACDRate; // $A23: ACD (M) Rate Control Register
- { 0 }, // UInt8 ___filler34;
+ 0, // UInt8 ___filler34;
0x00, // UInt8 lcdPixelClock; // $A25: Pixel Clock Divider Register
- { 0 }, // UInt8 ___filler35;
+ 0, // UInt8 ___filler35;
0x00, // UInt8 lcdClockControl; // $A27: Clocking Control Register
0x00FF, // UInt16 lcdRefreshRateAdj; // $A28: Refresh Rate Adjustment Register
- { 0 }, // UInt8 ___filler37;
+ 0, // UInt8 ___filler37;
0x00, // UInt8 lcdReserved1; // $A2B: Reserved
- { 0 }, // UInt8 ___filler38;
+ 0, // UInt8 ___filler38;
0x00, // UInt8 lcdPanningOffset; // $A2D: Panning Offset Register
{ 0 }, // UInt8 ___filler39[0xA31-0xA2E];
0x00, // UInt8 lcdFrameRate; // $A31: Frame Rate Control Modulation Register
- { 0 }, // UInt8 ___filler2004;
+ 0, // UInt8 ___filler2004;
0x84, // UInt8 lcdGrayPalette; // $A33: Gray Palette Mapping Register
0x00, // UInt8 lcdReserved2; // $A34: Reserved
- { 0 }, // UInt8 ___filler2005;
+ 0, // UInt8 ___filler2005;
0x0000, // UInt16 lcdContrastControlPWM; // $A36: Contrast Control
0x00, // UInt8 lcdRefreshModeControl; // $A38: Refresh Mode Control Register
0x62, // UInt8 lcdDMAControl; // $A39: DMA Control Register