pkgsrc/emulators/palmosemulator/patches/patch-ak

85 lines
3.8 KiB
Text

$NetBSD: patch-ak,v 1.1 2004/03/20 20:21:22 kristerw Exp $
--- SrcShared/Hardware/EmRegs328.cpp.orig Sat Mar 20 17:48:57 2004
+++ SrcShared/Hardware/EmRegs328.cpp Sat Mar 20 18:11:46 2004
@@ -141,13 +141,13 @@
0x2400, // Word pllControl; // $200: PLL Control Register
0x0123, // Word pllFreqSel; // $202: PLL Frequency Select Register
0x0000, // Word pllTest; // $204: PLL Test Register
- { 0 }, // Byte __filler44;
+ 0, // Byte __filler44;
0x1F, // Byte pwrControl; // $207: Power Control Register
{ 0 }, // Byte ___filler3[0x300-0x208];
0x00, // Byte intVector; // $300: Interrupt Vector Register
- { 0 }, // Byte ___filler4;
+ 0, // Byte ___filler4;
0x0000, // Word intControl; // $302: Interrupt Control Register
0x00FF, // Word intMaskHi; // $304: Interrupt Mask Register/HIGH word
0xFFFF, // Word intMaskLo; // $306: Interrupt Mask Register/LOW word
@@ -162,21 +162,21 @@
0x00, // Byte portADir; // $400: Port A Direction Register
0x00, // Byte portAData; // $401: Port A Data Register
- { 0 }, // Byte ___filler5;
+ 0, // Byte ___filler5;
0x00, // Byte portASelect; // $403: Port A Select Register
{ 0 }, // Byte ___filler6[4];
0x00, // Byte portBDir; // $408: Port B Direction Register
0x00, // Byte portBData; // $409: Port B Data Register
- { 0 }, // Byte ___filler7;
+ 0, // Byte ___filler7;
0x00, // Byte portBSelect; // $40B: Port B Select Register
{ 0 }, // Byte ___filler8[4];
0x00, // Byte portCDir; // $410: Port C Direction Register
0x00, // Byte portCData; // $411: Port C Data Register
- { 0 }, // Byte ___filler9;
+ 0, // Byte ___filler9;
0x00, // Byte portCSelect; // $413: Port C Select Register
{ 0 }, // Byte ___filler10[4];
@@ -184,10 +184,10 @@
0x00, // Byte portDDir; // $418: Port D Direction Register
0x00, // Byte portDData; // $419: Port D Data Register
0xFF, // Byte portDPullupEn; // $41A: Port D Pull-up Enable
- { 0 }, // Byte ___filler11;
+ 0, // Byte ___filler11;
0x00, // Byte portDPolarity; // $41C: Port D Polarity Register
0x00, // Byte portDIntReqEn; // $41D: Port D Interrupt Request Enable
- { 0 }, // Byte ___filler12;
+ 0, // Byte ___filler12;
0x00, // Byte portDIntEdge; // $41F: Port D IRQ Edge Register
0x00, // Byte portEDir; // $420: Port E Direction Register
@@ -213,7 +213,7 @@
0x00, // Byte portJDir; // $438: Port J Direction Register
0x00, // Byte portJData; // $439: Port J Data Register
- { 0 }, // Byte ___filler19;
+ 0, // Byte ___filler19;
0x00, // Byte portJSelect; // $43B: Port J Select Register
{ 0 }, // Byte ___filler19a[4];
@@ -279,7 +279,7 @@
{ 0 }, // Byte ___filler28[0xA00-0x90A];
0x00000000, // DWord lcdStartAddr; // $A00: Screen Starting Address Register
- { 0 }, // Byte ___filler29;
+ 0, // Byte ___filler29;
0xFF, // Byte lcdPageWidth; // $A05: Virtual Page Width Register
{ 0 }, // Byte ___filler30[2];
0x03FF, // Word lcdScreenWidth; // $A08: Screen Width Register
@@ -288,7 +288,7 @@
0x0000, // Word lcdCursorXPos; // $A18: Cursor X Position
0x0000, // Word lcdCursorYPos; // $A1A: Cursor Y Position
0x0101, // Word lcdCursorWidthHeight; // $A1C: Cursor Width and Height
- { 0 }, // Byte ___filler32;
+ 0, // Byte ___filler32;
0x7F, // Byte lcdBlinkControl; // $A1F: Blink Control Register
0x00, // Byte lcdPanelControl; // $A20: Panel Interface Control Register
0x00, // Byte lcdPolarity; // $A21: Polarity Config Register