Remove palm/pose. Only works on i386, upstream is dead, and it requires a

substantial amount of changes to work with the upcoming x11/fltk update.

ok landry@ aja@, no objection from naddy@
This commit is contained in:
pascal 2012-08-04 18:05:20 +00:00
parent 9012a96d3d
commit f27a2f91ad
22 changed files with 1 additions and 1168 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.16 2010/04/15 17:33:10 giovanni Exp $
# $OpenBSD: Makefile,v 1.17 2012/08/04 18:05:20 pascal Exp $
SUBDIR =
SUBDIR += bibelot
@ -9,6 +9,5 @@
SUBDIR += palm2ical
SUBDIR += palmpower
SUBDIR += pilrc
SUBDIR += pose
.include <bsd.port.subdir.mk>

View File

@ -1,31 +0,0 @@
# $OpenBSD: Makefile,v 1.9 2010/11/20 09:48:38 espie Exp $
ONLY_FOR_ARCHS= i386
COMMENT= Palm OS Emulator
VERSION= 3.5
DISTNAME= Emulator_Src_${VERSION}
PKGNAME= pose-${VERSION}
REVISION= 2
CATEGORIES= palm emulators
HOMEPAGE= http://www.palmos.com/
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
BUILD_DEPENDS= x11/fltk
MASTER_SITES= http://www.palmos.com/dev/tools/emulator/sources/
DISTFILES= ${DISTNAME:L}.tar.gz
WRKSRC= ${WRKDIST}/BuildUnix
CONFIGURE_STYLE= autoconf no-autoheader
AUTOCONF_VERSION= 2.13
CONFIGURE_ARGS= --with-fltk=${LOCALBASE} --enable-static-link --with-x
AUTOMAKE_VERSION= 1.4
USE_GMAKE= Yes
.include <bsd.port.mk>

View File

@ -1,5 +0,0 @@
MD5 (emulator_src_3.5.tar.gz) = xpsQeY5SS5mXOb8ZUBJWVQ==
RMD160 (emulator_src_3.5.tar.gz) = +7Z2HkxD7Mn7INkNKuDsbM8cPyc=
SHA1 (emulator_src_3.5.tar.gz) = LevXaQc2OX0K9B97LUgt9lOR/GU=
SHA256 (emulator_src_3.5.tar.gz) = xeDSNCTohSW/ug7N8KQyqNk8iF0EdA3wap7u5E5fJeQ=
SIZE (emulator_src_3.5.tar.gz) = 3162363

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-BuildUnix_Makefile_in,v 1.3 2009/08/10 17:53:18 naddy Exp $
--- BuildUnix/Makefile.in.orig Fri Mar 29 06:11:21 2002
+++ BuildUnix/Makefile.in Mon Aug 10 11:45:50 2009
@@ -74,7 +74,7 @@ POSER_CFLAGS = @POSER_CFLAGS@
POSER_CXXFLAGS = @POSER_CXXFLAGS@
RANLIB = @RANLIB@
THREAD_FLAGS = @THREAD_FLAGS@
-THREAD_LIBS = @THREAD_LIBS@
+THREAD_LIBS = -pthread
THREAD_SRC = @THREAD_SRC@
VERSION = @VERSION@
@@ -115,7 +115,7 @@ SRC_PALM = Crc.c
@SOLARIS_FALSE@SRC_THREAD = posix.cpp
bin_PROGRAMS = pose
-pose_LDADD = $(srcdir)/Gzip/libposergzip.a $(srcdir)/jpeg/libposerjpeg.a $(srcdir)/espws-2.0/libposerespws.a -lfltk -L/usr/local/lib $(X_LIBS) -lXext -lX11 $(THREAD_LIBS) $(GLLIB) -lm
+pose_LDADD = $(srcdir)/Gzip/libposergzip.a $(srcdir)/jpeg/libposerjpeg.a $(srcdir)/espws-2.0/libposerespws.a -lfltk -L/usr/local/lib $(X_LIBS) -lXext -lX11 -lxcb -lpthread-stubs -lXdmcp -lXau $(THREAD_LIBS) $(GLLIB) -lm
pose_SOURCES = $(SRC_UNIX) $(SRC_UNIX_GEN) $(SRC_SHARED) $(SRC_SHARED_HARDWARE) $(SRC_PATCHES) $(SRC_TRG) $(SRC_UAE) $(SRC_PALM) $(SRC_THREAD)
CLEANFILES = ResStrings.cpp EmDlgFltkFactory.h EmDlgFltkFactory.cpp config.cache config.log
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4

View File

@ -1,32 +0,0 @@
$OpenBSD: patch-BuildUnix_configure_in,v 1.3 2009/08/10 17:53:18 naddy Exp $
--- BuildUnix/configure.in.orig Fri Mar 29 06:11:13 2002
+++ BuildUnix/configure.in Mon Aug 10 11:47:27 2009
@@ -136,7 +136,7 @@ dnl ==================================================
dnl Define the standard OMNITHREAD options
dnl ========================================================
-THREAD_FLAGS="-D_REENTRANT -DNoNanoSleep -DPthreadDraftVersion=10"
+THREAD_FLAGS="-D_REENTRANT -DPthreadDraftVersion=10"
THREAD_LIBS="-lpthread"
USE_SOLARIS_CPP="false"
@@ -321,8 +321,8 @@ GLLIB=
AC_CHECK_HEADER(GL/gl.h,
AC_CHECK_LIB(GL, glXMakeCurrent, AC_DEFINE(HAVE_GL) GLLIB="-lGL", \
AC_CHECK_LIB(MesaGL, glXMakeCurrent, AC_DEFINE(HAVE_GL) GLLIB=" -lMesaGL",,\
- -L${ac_x_libraries} -lX11 -lXext $X_EXTRA_LIBS -lm), \
- -L${ac_x_libraries} -lX11 -lXext $X_EXTRA_LIBS -lm)
+ -L${ac_x_libraries} -lXext -lX11 -lxcb -lpthread-stubs -lXdmcp -lXau $X_EXTRA_LIBS -lm), \
+ -L${ac_x_libraries} -lXext -lX11 -lxcb -lpthread-stubs -lXdmcp -lXau $X_EXTRA_LIBS -lm)
)
AC_CHECK_HEADER(GL/glu.h,
@@ -347,7 +347,7 @@ AC_CACHE_SAVE
dnl Temporarily add -lfltk and OTHER-LIBRARIES (cf AC_CHECK_LIB) to $LIBS
save_LIBS="$LIBS"
-LIBS="-lfltk ${GLLIB} -L${ac_x_libraries} -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
+LIBS="-lfltk ${GLLIB} -L${ac_x_libraries} -lXext -lX11 -lxcb -lpthread-stubs -lXdmcp -lXau -lm $X_EXTRA_LIBS $LIBS"
AC_LANG_CPLUSPLUS
AC_CACHE_CHECK([for 'int fl_height (void)' in -lfltk], pose_cv_lib_fltk_found,

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-SrcShared_EmCommon_h,v 1.1.1.1 2006/10/19 16:24:52 mbalmer Exp $
--- SrcShared/EmCommon.h.orig Fri Mar 29 14:11:14 2002
+++ SrcShared/EmCommon.h Thu Oct 19 17:59:13 2006
@@ -25,6 +25,10 @@
// EmTypes.h could pull in some system headers before we have a chance to include
// EmCommonMac.h.
+#if defined(__OpenBSD__)
+#define BROKEN_VIRTUAL_DEFAULT_ARGUMENTS
+#endif
+
#define PP_Suppress_Notes_20 1
#define PP_Suppress_Notes_21 1
#define PP_Suppress_Notes_22 1

View File

@ -1,29 +0,0 @@
$OpenBSD: patch-SrcShared_EmPalmStructs_h,v 1.1 2010/08/03 20:01:40 naddy Exp $
--- SrcShared/EmPalmStructs.h.orig Tue Aug 3 13:44:15 2010
+++ SrcShared/EmPalmStructs.h Tue Aug 3 13:46:21 2010
@@ -577,9 +577,9 @@ class PAS
template <class A> \
INLINE_ EmAlias##type<A>& EmAlias##type<A>::operator= (rhs_type val) \
{ \
- if (sizeof (asType) == 1) A::PutByte (this->GetPtr (), (unsigned char) (asType) val); \
- else if (sizeof (asType) == 2) A::PutWord (this->GetPtr (), (unsigned short) (asType) val); \
- else if (sizeof (asType) == 4) A::PutLong (this->GetPtr (), (unsigned long) (asType) val); \
+ if (sizeof (asType) == 1) A::PutByte (this->GetPtr (), (unsigned char) (asType) (long) val); \
+ else if (sizeof (asType) == 2) A::PutWord (this->GetPtr (), (unsigned short) (asType) (long) val); \
+ else if (sizeof (asType) == 4) A::PutLong (this->GetPtr (), (unsigned long) (asType) (long) val); \
else BadSetter (); \
\
return *this; \
@@ -589,9 +589,9 @@ class PAS
\
INLINE_ EmProxy##type& EmProxy##type::operator= (rhs_type val) \
{ \
- if (sizeof (asType) == 1) LAS::PutByte (this->GetPtr (), (unsigned char) (asType) val); \
- else if (sizeof (asType) == 2) LAS::PutWord (this->GetPtr (), (unsigned short) (asType) val); \
- else if (sizeof (asType) == 4) LAS::PutLong (this->GetPtr (), (unsigned long) (asType) val); \
+ if (sizeof (asType) == 1) LAS::PutByte (this->GetPtr (), (unsigned char) (asType) (long) val); \
+ else if (sizeof (asType) == 2) LAS::PutWord (this->GetPtr (), (unsigned short) (asType) (long) val); \
+ else if (sizeof (asType) == 4) LAS::PutLong (this->GetPtr (), (unsigned long) (asType) (long) val); \
else BadSetter (); \
\
return *this; \

View File

@ -1,84 +0,0 @@
$OpenBSD: patch-SrcShared_EmStream_h,v 1.1 2010/08/03 20:01:40 naddy Exp $
--- SrcShared/EmStream.h.orig Tue Aug 3 13:35:49 2010
+++ SrcShared/EmStream.h Tue Aug 3 13:39:15 2010
@@ -90,7 +90,7 @@ class EmStream
container.resize (numElements);
- deque<T>::iterator iter = container.begin ();
+ typename deque<T>::iterator iter = container.begin ();
while (iter != container.end ())
{
*this >> *iter;
@@ -108,7 +108,7 @@ class EmStream
container.resize (numElements);
- list<T>::iterator iter = container.begin ();
+ typename list<T>::iterator iter = container.begin ();
while (iter != container.end ())
{
*this >> *iter;
@@ -126,7 +126,7 @@ class EmStream
container.resize (numElements);
- vector<T>::iterator iter = container.begin ();
+ typename vector<T>::iterator iter = container.begin ();
while (iter != container.end ())
{
*this >> *iter;
@@ -143,7 +143,7 @@ class EmStream
*this << numElements;
- deque<T>::const_iterator iter = container.begin ();
+ typename deque<T>::const_iterator iter = container.begin ();
while (iter != container.end ())
{
*this << *iter;
@@ -160,7 +160,7 @@ class EmStream
*this << numElements;
- list<T>::const_iterator iter = container.begin ();
+ typename list<T>::const_iterator iter = container.begin ();
while (iter != container.end ())
{
*this << *iter;
@@ -177,7 +177,7 @@ class EmStream
*this << numElements;
- vector<T>::const_iterator iter = container.begin ();
+ typename vector<T>::const_iterator iter = container.begin ();
while (iter != container.end ())
{
*this << *iter;
@@ -321,7 +321,7 @@ EmStream& EmStream::operator<T> << (const deque<T>& co
*this << numElements;
- const deque<T>::const_iterator iter = container.begin ();
+ typename const deque<T>::const_iterator iter = container.begin ();
while (iter != container.end ())
{
*this << *iter;
@@ -338,7 +338,7 @@ EmStream& EmStream::operator<T> << (const list<T>& con
*this << numElements;
- const list<T>::const_iterator iter = container.begin ();
+ typename const list<T>::const_iterator iter = container.begin ();
while (iter != container.end ())
{
*this << *iter;
@@ -355,7 +355,7 @@ EmStream& EmStream::operator<T> << (const vector<T>& c
*this << numElements;
- const vector<T>::const_iterator iter = container.begin ();
+ typename const vector<T>::const_iterator iter = container.begin ();
while (iter != container.end ())
{
*this << *iter;

View File

@ -1,209 +0,0 @@
$OpenBSD: patch-SrcShared_Hardware_EmRegs328_cpp,v 1.2 2007/04/01 17:50:25 martynas Exp $
--- SrcShared/Hardware/EmRegs328.cpp.orig Fri Mar 29 15:11:18 2002
+++ SrcShared/Hardware/EmRegs328.cpp Sun Apr 1 17:53:43 2007
@@ -97,13 +97,13 @@ static const uint32 ADDRESS_MASK = 0x0000FFF0;
const HwrM68328Type kInitial68328RegisterValues =
{
0x0C, // Byte scr; // $000: System Control Register
- { 0 }, // Byte ___filler0[0x004-0x001];
+ 0, // Byte ___filler0[0x004-0x001];
// The following ID stuff is not present on earlier chips (before ??)
hwr328chipID328, // Byte chipID; // $004: Chip ID Register
hwr328maskID1H58B, // Byte maskID; // $005: Mask ID Register
0x00, // Word swID; // $006: Software ID Register
- { 0 }, // Byte ___filler1[0x100-0x008];
+ 0, // Byte ___filler1[0x100-0x008];
0x0000, // Word csAGroupBase; // $100: Chip Select Group A Base Register
0x0000, // Word csBGroupBase; // $102: Chip Select Group B Base Register
@@ -136,18 +136,18 @@ const HwrM68328Type kInitial68328RegisterValues =
0x00000000, // DWord csDSelect3; // $14C: Group D Chip Select 3 Register
0x0000, // Word csDebug; // $150: Chip Select debug register
- { 0 }, // Byte ___filler2[0x200-0x152];
+ 0, // Byte ___filler2[0x200-0x152];
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];
+ 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
@@ -158,36 +158,36 @@ const HwrM68328Type kInitial68328RegisterValues =
0x0000, // Word intPendingHi; // $310: Interrupt Pending Register
0x0000, // Word intPendingLo; // $312: Interrupt Pending Register
- { 0 }, // Byte ___filler4a[0x400-0x314];
+ 0, // Byte ___filler4a[0x400-0x314];
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];
+ 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];
+ 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];
+ 0, // Byte ___filler10[4];
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
@@ -195,51 +195,51 @@ const HwrM68328Type kInitial68328RegisterValues =
0x80, // Byte portEPullupEn; // $422: Port E Pull-up Enable
0x80, // Byte portESelect; // $423: Port E Select Register
- { 0 }, // Byte ___filler14[4];
+ 0, // Byte ___filler14[4];
0x00, // Byte portFDir; // $428: Port F Direction Register
0x00, // Byte portFData; // $429: Port F Data Register
0xFF, // Byte portFPullupEn; // $42A: Port F Pull-up Enable
0xFF, // Byte portFSelect; // $42B: Port F Select Register
- { 0 }, // Byte ___filler16[4];
+ 0, // Byte ___filler16[4];
0x00, // Byte portGDir; // $430: Port G Direction Register
0x00, // Byte portGData; // $431: Port G Data Register
0xFF, // Byte portGPullupEn; // $432: Port G Pull-up Enable
0xFF, // Byte portGSelect; // $433: Port G Select Register
- { 0 }, // Byte ___filler18[4];
+ 0, // Byte ___filler18[4];
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];
+ 0, // Byte ___filler19a[4];
0x00, // Byte portKDir; // $440: Port K Direction Register
0x00, // Byte portKData; // $441: Port K Data Register
0x3F, // Byte portKPullupEn; // $442: Port K Pull-up Enable
0x3F, // Byte portKSelect; // $443: Port K Select Register
- { 0 }, // Byte ___filler21[4];
+ 0, // Byte ___filler21[4];
0x00, // Byte portMDir; // $448: Port M Direction Register
0x00, // Byte portMData; // $449: Port M Data Register
0xFF, // Byte portMPullupEn; // $44A: Port M Pull-up Enable Register
0x02, // Byte portMSelect; // $44B: Port M Select Register
- { 0 }, // Byte ___filler22[4];
+ 0, // Byte ___filler22[4];
- { 0 }, // Byte ___filler23[0x500-0x450];
+ 0, // Byte ___filler23[0x500-0x450];
0x0000, // Word pwmControl; // $500: PWM Control Register
0x0000, // Word pwmPeriod; // $502: PWM Period Register
0x0000, // Word pwmWidth; // $504: PWM Width Register
0x0000, // Word pwmCounter; // $506: PWM Counter
- { 0 }, // Byte ___filler24[0x600-0x508];
+ 0, // Byte ___filler24[0x600-0x508];
0x0000, // Word tmr1Control; // $600: Timer 1 Control Register
0x0000, // Word tmr1Prescaler; // $602: Timer 1 Prescaler Register
@@ -259,16 +259,16 @@ const HwrM68328Type kInitial68328RegisterValues =
0x0000, // Word wdReference; // $61A: Watchdog Reference Register
0x0000, // Word wdCounter; // $61C: Watchdog Counter
- { 0 }, // Byte ___filler25[0x700-0x61E];
+ 0, // Byte ___filler25[0x700-0x61E];
0x0000, // Word spiSlave; // $700: SPI Slave Register
- { 0 }, // Byte ___filler26[0x800-0x702];
+ 0, // Byte ___filler26[0x800-0x702];
0x0000, // Word spiMasterData; // $800: SPI Master Data Register
0x0000, // Word spiMasterControl; // $802: SPI Master Control Register
- { 0 }, // Byte ___filler27[0x900-0x804];
+ 0, // Byte ___filler27[0x900-0x804];
0x0000, // Word uControl; // $900: Uart Control Register
0x003F, // Word uBaud; // $902: Uart Baud Control Register
@@ -276,19 +276,19 @@ const HwrM68328Type kInitial68328RegisterValues =
0x0000, // Word uTransmit; // $906: Uart Transmit Register
0x0000, // Word uMisc; // $908: Uart Miscellaneous Register
- { 0 }, // Byte ___filler28[0xA00-0x90A];
+ 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];
+ 0, // Byte ___filler30[2];
0x03FF, // Word lcdScreenWidth; // $A08: Screen Width Register
0x01FF, // Word lcdScreenHeight; // $A0A: Screen Height Register
- { 0 }, // Byte ___filler31[0xA18-0xA0C];
+ 0, // Byte ___filler31[0xA18-0xA0C];
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
@@ -304,12 +304,12 @@ const HwrM68328Type kInitial68328RegisterValues =
0x3F, // Byte lcdOctetTermCount; // $A2B: Octet Terminal Count Register
0x00, // Byte ___filler38;
0x00, // Byte lcdPanningOffset; // $A2D: Panning Offset Register
- { 0 }, // Byte ___filler39[3];
+ 0, // Byte ___filler39[3];
0xB9, // Byte lcdFrameRate; // $A31: Frame Rate Control Modulation Register
0x1073, // Word lcdGrayPalette; // $A32: Gray Palette Mapping Register
0x00, // Byte lcdReserved; // $A34: Reserved
- { 0 }, // Byte ___filler40[0xB00-0xA35];
+ 0, // Byte ___filler40[0xB00-0xA35];
0x00000000, // DWord rtcHourMinSec; // $B00: RTC Hours, Minutes, Seconds Register
0x00000000, // DWord rtcAlarm; // $B04: RTC Alarm Register

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-SrcShared_Hardware_EmRegsEZTRGpro_cpp,v 1.1 2010/08/03 20:01:40 naddy Exp $
--- SrcShared/Hardware/EmRegsEZTRGpro.cpp.orig Tue Aug 3 13:49:41 2010
+++ SrcShared/Hardware/EmRegsEZTRGpro.cpp Tue Aug 3 13:50:32 2010
@@ -229,7 +229,7 @@ void EmRegsEZTRGpro::spiWrite(emuptr address, int size
void EmRegsEZTRGpro::SetSubBankHandlers(void)
{
EmRegsEZ::SetSubBankHandlers();
- this->SetHandler((ReadFunction)&EmRegs::StdRead,
+ this->SetHandler((ReadFunction)&EmRegsEZTRGpro::StdRead,
(WriteFunction)&EmRegsEZTRGpro::spiWrite,
addressof(spiMasterData),
sizeof(f68EZ328Regs.spiMasterData));

View File

@ -1,212 +0,0 @@
$OpenBSD: patch-SrcShared_Hardware_EmRegsEZ_cpp,v 1.2 2007/04/01 17:50:25 martynas Exp $
--- SrcShared/Hardware/EmRegsEZ.cpp.orig Fri Mar 29 15:11:18 2002
+++ SrcShared/Hardware/EmRegsEZ.cpp Sun Apr 1 17:53:43 2007
@@ -59,18 +59,18 @@ static const uint16 gBaseAddressShift = 13; // Shift t
static const HwrM68EZ328Type kInitial68EZ328RegisterValues =
{
0x1C, // Byte scr; // $000: System Control Register
- { 0 }, // Byte ___filler0[0x004-0x001];
+ 0, // Byte ___filler0[0x004-0x001];
hwrEZ328chipIDEZ, // Byte chipID; // $004: Chip ID Register
hwrEZ328maskID1J83G, // Byte maskID; // $005: Mask ID Register
0x00, // Word swID; // $006: Software ID Register
- { 0 }, // Byte ___filler1[0x100-0x008];
+ 0, // Byte ___filler1[0x100-0x008];
0x0000, // Word csAGroupBase; // $100: Chip Select Group A Base Register
0x0000, // Word csBGroupBase; // $102: Chip Select Group B Base Register
0x0000, // Word csCGroupBase; // $104: Chip Select Group C Base Register
0x0000, // Word csDGroupBase; // $106: Chip Select Group D Base Register
- { 0 }, // Byte ___filler6[0x110-0x108];
+ 0, // Byte ___filler6[0x110-0x108];
0x00E0, // Word csASelect; // $110: Group A Chip Select Register
0x0000, // Word csBSelect; // $112: Group B Chip Select Register
@@ -79,47 +79,47 @@ static const HwrM68EZ328Type kInitial68EZ328RegisterVa
0x0060, // Word emuCS; // $118: EMU Chip Select Register
- { 0 }, // Byte ___filler2[0x200-0x11A];
+ 0, // Byte ___filler2[0x200-0x11A];
0x2430, // Word pllControl; // $200: PLL Control Register
0x0123, // Word pllFreqSel; // $202: PLL Frequency Select Register
0, // !!! ---> Marked as reserved in 1.4 Word pllTest; // $204: PLL Test Register (do not access)
- { 0 }, // Byte ___filler44;
+ 0, // Byte ___filler44;
0x1F, // Byte pwrControl; // $207: Power Control Register
- { 0 }, // Byte ___filler3[0x300-0x208];
+ 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
- { 0 }, // Byte ___filler7[0x30c-0x308];
+ 0, // Byte ___filler7[0x30c-0x308];
0x0000, // Word intStatusHi; // $30C: Interrupt Status Register/HIGH word
0x0000, // Word intStatusLo; // $30E: Interrupt Status Register/LOW word
0x0000, // Word intPendingHi; // $310: Interrupt Pending Register
0x0000, // Word intPendingLo; // $312: Interrupt Pending Register
- { 0 }, // Byte ___filler4a[0x400-0x314];
+ 0, // Byte ___filler4a[0x400-0x314];
0x00, // Byte portADir; // $400: Port A Direction Register
0x00, // Byte portAData; // $401: Port A Data Register
0xFF, // Byte portAPullupEn; // $402: Port A Pullup Enable (similar to Select on DB)
- { 0 }, // Byte ___filler8[5];
+ 0, // Byte ___filler8[5];
0x00, // Byte portBDir; // $408: Port B Direction Register
0x00, // Byte portBData; // $409: Port B Data Register
0xFF, // Byte portBPullupEn; // $40A: Port B Pullup Enable
0xFF, // Byte portBSelect; // $40B: Port B Select Register
- { 0 }, // Byte ___filler9[4];
+ 0, // Byte ___filler9[4];
0x00, // Byte portCDir; // $410: Port C Direction Register
0x00, // Byte portCData; // $411: Port C Data Register
0xFF, // Byte portCPulldnEn; // $412: Port C Pulldown Enable
0xFF, // Byte portCSelect; // $413: Port C Select Register
- { 0 }, // Byte ___filler10[4];
+ 0, // Byte ___filler10[4];
0x00, // Byte portDDir; // $418: Port D Direction Register
0x00, // Byte portDData; // $419: Port D Data Register
@@ -135,21 +135,21 @@ static const HwrM68EZ328Type kInitial68EZ328RegisterVa
0xFF, // Byte portEPullupEn; // $422: Port E Pull-up Enable
0xFF, // Byte portESelect; // $423: Port E Select Register
- { 0 }, // Byte ___filler14[4];
+ 0, // Byte ___filler14[4];
0x00, // Byte portFDir; // $428: Port F Direction Register
0x00, // Byte portFData; // $429: Port F Data Register
0xFF, // Byte portFPullupdnEn; // $42A: Port F Pull-up/down Enable
0x00, // Byte portFSelect; // $42B: Port F Select Register
- { 0 }, // Byte ___filler16[4];
+ 0, // Byte ___filler16[4];
0x00, // Byte portGDir; // $430: Port G Direction Register
0x00, // Byte portGData; // $431: Port G Data Register
0x3D, // Byte portGPullupEn; // $432: Port G Pull-up Enable
0x08, // Byte portGSelect; // $433: Port G Select Register
- { 0 }, // Byte ___filler2000[0x500-0x434];
+ 0, // Byte ___filler2000[0x500-0x434];
0x0020, // Word pwmControl; // $500: PWM Control Register
0x00, // Byte pwmSampleHi; // $502: PWM Sample - high byte
@@ -157,7 +157,7 @@ static const HwrM68EZ328Type kInitial68EZ328RegisterVa
0xFE, // Byte pwmPeriod; // $504: PWM Period
0x00, // Byte pwmCounter; // $505: PWM Counter
- { 0 }, // Byte ___filler24[0x600-0x506];
+ 0, // Byte ___filler24[0x600-0x506];
0x0000, // Word tmr1Control; // $600: Timer 1 Control Register
0x0000, // Word tmr1Prescaler; // $602: Timer 1 Prescaler Register
@@ -166,12 +166,12 @@ static const HwrM68EZ328Type kInitial68EZ328RegisterVa
0x0000, // Word tmr1Counter; // $608: Timer 1 Counter Register
0x0000, // Word tmr1Status; // $60A: Timer 1 Status Register
- { 0 }, // Byte ___filler25[0x800-0x61E];
+ 0, // Byte ___filler25[0x800-0x61E];
0x0000, // Word spiMasterData; // $800: SPI Master Data Register
0x0000, // Word spiMasterControl; // $802: SPI Master Control Register
- { 0 }, // Byte ___filler27[0x900-0x804];
+ 0, // Byte ___filler27[0x900-0x804];
0x0000, // Word uControl; // $900: Uart Control Register
0x003F, // Word uBaud; // $902: Uart Baud Control Register
@@ -180,62 +180,62 @@ static const HwrM68EZ328Type kInitial68EZ328RegisterVa
0x0000, // Word uMisc; // $908: Uart Miscellaneous Register
0x0000, // Word uNonIntPresc; // $90A: Uart IRDA Non-Integer Prescaler
- { 0 }, // Byte ___filler28[0xA00-0x90C];
+ 0, // Byte ___filler28[0xA00-0x90C];
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];
+ 0, // Byte ___filler30[2];
0x03FF, // Word lcdScreenWidth; // $A08: Screen Width Register
0x01FF, // Word lcdScreenHeight; // $A0A: Screen Height Register
- { 0 }, // Byte ___filler31[0xA18-0xA0C];
+ 0, // Byte ___filler31[0xA18-0xA0C];
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
- { 0 }, // Byte ___filler33;
+ 0, // Byte ___filler33;
0x00, // Byte lcdACDRate; // $A23: ACD (M) Rate Control Register
- { 0 }, // Byte ___filler34;
+ 0, // Byte ___filler34;
0x00, // Byte lcdPixelClock; // $A25: Pixel Clock Divider Register
- { 0 }, // Byte ___filler35;
+ 0, // Byte ___filler35;
0x40, // Byte lcdClockControl; // $A27: Clocking Control Register
- { 0 }, // Byte ___filler36;
+ 0, // Byte ___filler36;
0xFF, // Byte lcdRefreshRateAdj; // $A29: Refresh Rate Adjustment Register
- { 0 }, // Byte ___filler2003[0xA2D-0xA2A];
+ 0, // Byte ___filler2003[0xA2D-0xA2A];
0x00, // Byte lcdPanningOffset; // $A2D: Panning Offset Register
- { 0 }, // Byte ___filler37[0xA31-0xA2E];
+ 0, // Byte ___filler37[0xA31-0xA2E];
0xB9, // Byte lcdFrameRate; // $A31: Frame Rate Control Modulation Register
- { 0 }, // Byte ___filler2004;
+ 0, // Byte ___filler2004;
0x84, // Byte lcdGrayPalette; // $A33: Gray Palette Mapping Register
0x00, // Byte lcdReserved; // $A34: Reserved
- { 0 }, // Byte ___filler2005;
+ 0, // Byte ___filler2005;
0x0000, // Word lcdContrastControlPWM; // $A36: Contrast Control
- { 0 }, // Byte ___filler40[0xB00-0xA38];
+ 0, // Byte ___filler40[0xB00-0xA38];
0x00000000, // DWord rtcHourMinSec; // $B00: RTC Hours, Minutes, Seconds Register
0x00000000, // DWord rtcAlarm; // $B04: RTC Alarm Register
- { 0 }, // Byte ___filler2001[0xB0A-0xB08];
+ 0, // Byte ___filler2001[0xB0A-0xB08];
0x0001, // Word rtcWatchDog; // $B0A: RTC Watchdog Timer
0x00, // Word rtcControl; // $B0C: RTC Control Register
0x00, // Word rtcIntStatus; // $B0E: RTC Interrupt Status Register
0x00, // Word rtcIntEnable; // $B10: RTC Interrupt Enable Register
0x00, // Word stopWatch; // $B12: Stopwatch Minutes
- { 0 }, // Byte ___filler2002[0xB1A-0xB14];
+ 0, // Byte ___filler2002[0xB1A-0xB14];
0x0000, // Word rtcDay; // $B1A: RTC Day
0x0000, // Word rtcDayAlarm; // $B1C: RTC Day Alarm
- { 0 }, // Byte ___filler41[0xC00-0xB1E];
+ 0, // Byte ___filler41[0xC00-0xB1E];
0x0000, // Word dramConfig; // $C00: DRAM Memory Config Register
0x0000, // Word dramControl; // $C02: DRAM Control Register
- { 0 }, // Byte ___filler42[0xD00-0xC04];
+ 0, // Byte ___filler42[0xD00-0xC04];
0x00000000, // DWord emuAddrCompare; // $D00: Emulation Address Compare Register
0x00000000, // DWord emuAddrMask; // $D04: Emulation Address Mask Register

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-SrcShared_Hardware_EmRegsVZHandEra330_cpp,v 1.1 2010/08/03 20:01:40 naddy Exp $
--- SrcShared/Hardware/EmRegsVZHandEra330.cpp.orig Tue Aug 3 13:51:06 2010
+++ SrcShared/Hardware/EmRegsVZHandEra330.cpp Tue Aug 3 13:52:22 2010
@@ -588,14 +588,14 @@ void EmRegsVZHandEra330::SetSubBankHandlers(void)
// SD support
this->SetHandler((ReadFunction)&EmRegsVZHandEra330::spiRxDRead,
- (WriteFunction)&EmRegsVZ::StdWrite,
+ (WriteFunction)&EmRegsVZHandEra330::StdWrite,
addressof(spiRxD),
sizeof(UInt16));
- this->SetHandler((ReadFunction)&EmRegsVZ::StdRead,
+ this->SetHandler((ReadFunction)&EmRegsVZHandEra330::StdRead,
(WriteFunction)&EmRegsVZHandEra330::spiTxDWrite,
addressof(spiTxD),
sizeof(UInt16));
- this->SetHandler((ReadFunction)&EmRegsVZ::StdRead,
+ this->SetHandler((ReadFunction)&EmRegsVZHandEra330::StdRead,
(WriteFunction)&EmRegsVZHandEra330::spiCont1Write,
addressof(spiCont1),
sizeof(UInt16));

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-SrcShared_Hardware_EmRegsVZPalmM505_cpp,v 1.1 2010/08/03 20:01:40 naddy Exp $
--- SrcShared/Hardware/EmRegsVZPalmM505.cpp.orig Tue Aug 3 13:53:17 2010
+++ SrcShared/Hardware/EmRegsVZPalmM505.cpp Tue Aug 3 13:53:56 2010
@@ -50,7 +50,7 @@ void EmRegsVZPalmM505::SetSubBankHandlers (void)
// Now add standard/specialized handers for the defined registers.
- this->SetHandler ((ReadFunction) &EmRegsVZ::StdRead,
+ this->SetHandler ((ReadFunction) &EmRegsVZPalmM505::StdRead,
(WriteFunction) &EmRegsVZPalmM505::portFSelectWrite,
addressof (portFSelect), sizeof (f68VZ328Regs.portFSelect));
}

View File

@ -1,288 +0,0 @@
$OpenBSD: patch-SrcShared_Hardware_EmRegsVZ_cpp,v 1.2 2007/04/01 17:50:25 martynas Exp $
--- SrcShared/Hardware/EmRegsVZ.cpp.orig Fri Mar 29 15:11:19 2002
+++ SrcShared/Hardware/EmRegsVZ.cpp Sun Apr 1 17:53:43 2007
@@ -74,7 +74,7 @@ static const HwrM68VZ328Type kInitial68VZ328RegisterVa
{
0x1C, // UInt8 scr; // $000: System Control Register
- { 0 }, // UInt8 ___filler0[0x003-0x001];
+ 0, // UInt8 ___filler0[0x003-0x001];
0x00, // UInt8 pcr; // $003: Peripheral Control Register
0x56, // UInt8 chipID; // $004: Chip ID Register
@@ -82,7 +82,7 @@ static const HwrM68VZ328Type kInitial68VZ328RegisterVa
0x0000, // UInt16 swID; // $006: Software ID Register
0x1FFF, // UInt16 ioDriveControl; // $008: I/O Drive Control Register
- { 0 }, // UInt8 ___filler1[0x100-0x00A];
+ 0, // UInt8 ___filler1[0x100-0x00A];
0x0000, // UInt16 csAGroupBase; // $100: Chip Select Group A Base Register
0x0000, // UInt16 csBGroupBase; // $102: Chip Select Group B Base Register
@@ -94,7 +94,7 @@ static const HwrM68VZ328Type kInitial68VZ328RegisterVa
0x0000, // UInt16 csControl1; // $10A: Chip Select Control Register
0x0000, // UInt16 csControl2; // $10C: Chip Select Control Register
- { 0 }, // UInt8 ___filler2[0x110-0x10c];
+ 0, // UInt8 ___filler2[0x110-0x10c];
0x00B0, // UInt16 csASelect; // $110: Group A Chip Select Register
0x0000, // UInt16 csBSelect; // $112: Group B Chip Select Register
@@ -103,54 +103,54 @@ static const HwrM68VZ328Type kInitial68VZ328RegisterVa
0x0060, // UInt16 emuCS; // $118: EMU Chip Select Register
- { 0 }, // UInt8 ___filler3[0x200-0x11A];
+ 0, // UInt8 ___filler3[0x200-0x11A];
0x0000, // UInt16 csControl3; // $150: Chip Select Control Register
- { 0 }, // UInt8 ___filler3[0x200-0x11A];
+ 0, // UInt8 ___filler3[0x200-0x11A];
0x24B3, // UInt16 pllControl; // $200: PLL Control Register
0x0123, // UInt16 pllFreqSel; // $202: CGM Frequency Select Register
- { 0 }, // UInt8 ___filler4[0x207-0x204];
+ 0, // UInt8 ___filler4[0x207-0x204];
0x1F, // UInt8 pwrControl; // $207: Power Control Register
- { 0 }, // UInt8 ___filler5[0x300-0x208];
+ 0, // UInt8 ___filler5[0x300-0x208];
0x00, // UInt8 intVector; // $300: Interrupt Vector Register
0x00, // UInt8 ___filler6;
0x0000, // UInt16 intControl; // $302: Interrupt Control Register
0x00FF, // UInt16 intMaskHi; // $304: Interrupt Mask Register/HIGH word
0xFFFF, // UInt16 intMaskLo; // $306: Interrupt Mask Register/LOW word
- { 0 }, // UInt8 ___filler7[0x30c-0x308];
+ 0, // UInt8 ___filler7[0x30c-0x308];
0x0000, // UInt16 intStatusHi; // $30C: Interrupt Status Register/HIGH word
0x0000, // UInt16 intStatusLo; // $30E: Interrupt Status Register/LOW word
0x0000, // UInt16 intPendingHi; // $310: Interrupt Pending Register/HIGH word
0x0000, // UInt16 intPendingLo; // $312: Interrupt Pending Register/LOW word
0x6533, // UInt16 intLevelControl; // $314: Interrupt Level Control Register
- { 0 }, // UInt8 ___filler4a[0x400-0x316];
+ 0, // UInt8 ___filler4a[0x400-0x316];
0x00, // UInt8 portADir; // $400: Port A Direction Register
0x00, // UInt8 portAData; // $401: Port A Data Register
0xFF, // UInt8 portAPullupEn; // $402: Port A Pullup Enable
- { 0 }, // UInt8 ___filler8[5];
+ 0, // UInt8 ___filler8[5];
0x00, // UInt8 portBDir; // $408: Port B Direction Register
0x00, // UInt8 portBData; // $409: Port B Data Register
0xFF, // UInt8 portBPullupEn; // $40A: Port B Pullup Enable
0xFF, // UInt8 portBSelect; // $40B: Port B Select Register
- { 0 }, // UInt8 ___filler9[4];
+ 0, // UInt8 ___filler9[4];
0x00, // UInt8 portCDir; // $410: Port C Direction Register
0x00, // UInt8 portCData; // $411: Port C Data Register
0xFF, // UInt8 portCPulldnEn; // $412: Port C Pulldown Enable
0xFF, // UInt8 portCSelect; // $413: Port C Select Register
- { 0 }, // UInt8 ___filler10[4];
+ 0, // UInt8 ___filler10[4];
0x00, // UInt8 portDDir; // $418: Port D Direction Register
0x00, // UInt8 portDData; // $419: Port D Data Register
@@ -166,42 +166,42 @@ static const HwrM68VZ328Type kInitial68VZ328RegisterVa
0xFF, // UInt8 portEPullupEn; // $422: Port E Pull-up Enable
0xFF, // UInt8 portESelect; // $423: Port E Select Register
- { 0 }, // UInt8 ___filler14[4];
+ 0, // UInt8 ___filler14[4];
0x00, // UInt8 portFDir; // $428: Port F Direction Register
0x00, // UInt8 portFData; // $429: Port F Data Register
0xFF, // UInt8 portFPullupdnEn; // $42A: Port F Pull-up/down Enable
0x8F, // UInt8 portFSelect; // $42B: Port F Select Register
- { 0 }, // UInt8 ___filler16[4];
+ 0, // UInt8 ___filler16[4];
0x00, // UInt8 portGDir; // $430: Port G Direction Register
0x00, // UInt8 portGData; // $431: Port G Data Register
0x3D, // UInt8 portGPullupEn; // $432: Port G Pull-up Enable
0x08, // UInt8 portGSelect; // $433: Port G Select Register
- { 0 }, // UInt8 ___filler17[0x438-0x434];
+ 0, // UInt8 ___filler17[0x438-0x434];
0x00, // UInt8 portJDir; // $438: Port J Direction Register
0x00, // UInt8 portJData; // $439: Port J Data Register
0xFF, // UInt8 portJPullupEn; // $43A: Port J Pull-up Enable
0xEF, // UInt8 portJSelect; // $43B: Port J Select Register
- { 0 }, // UInt8 ___filler18[0x440-0x43C];
+ 0, // UInt8 ___filler18[0x440-0x43C];
0x00, // UInt8 portKDir; // $440: Port K Direction Register
0x00, // UInt8 portKData; // $441: Port K Data Register
0xFF, // UInt8 portKPullupdnEn; // $442: Port K Pull-up/down Enable
0xFF, // UInt8 portKSelect; // $443: Port K Select Register
- { 0 }, // UInt8 ___filler19[0x448-0x444];
+ 0, // UInt8 ___filler19[0x448-0x444];
0x00, // UInt8 portMDir; // $448: Port M Direction Register
0x00, // UInt8 portMData; // $449: Port M Data Register
0x3F, // UInt8 portMPullupdnEn; // $44A: Port M Pull-up/down Enable
0x3F, // UInt8 portMSelect; // $44B: Port M Select Register
- { 0 }, // UInt8 ___filler20[0x500-0x44C];
+ 0, // UInt8 ___filler20[0x500-0x44C];
0x0020, // UInt16 pwmControl; // $500: PWM 1 Control Register (PWM 1 is the same as the single PWM in EZ)
0x00, // UInt8 pwmSampleHi; // $502: PWM 1 Sample - high byte
@@ -209,14 +209,14 @@ static const HwrM68VZ328Type kInitial68VZ328RegisterVa
0xFE, // UInt8 pwmPeriod; // $504: PWM 1 Period
0x00, // UInt8 pwmCounter; // $505: PWM 1 Counter
- { 0 }, // UInt8 ___filler22[0x510-0x506];
+ 0, // UInt8 ___filler22[0x510-0x506];
0x0000, // UInt16 pwm2Control; // $510: PWM 2 Control Register
0x0000, // UInt16 pwm2Period; // $512: PWM 2 Period
0x0000, // UInt16 pwm2Width; // $514: PWM 2 Width
0x0000, // UInt16 pwm2Counter; // $516: PWM 2 Counter
- { 0 }, // UInt8 ___filler23[0x600-0x518];
+ 0, // UInt8 ___filler23[0x600-0x518];
0x0000, // UInt16 tmr1Control; // $600: Timer 1 Control Register
0x0000, // UInt16 tmr1Prescaler; // $602: Timer 1 Prescaler Register
@@ -225,7 +225,7 @@ static const HwrM68VZ328Type kInitial68VZ328RegisterVa
0x0000, // UInt16 tmr1Counter; // $608: Timer 1 Counter Register
0x0000, // UInt16 tmr1Status; // $60A: Timer 1 Status Register
- { 0 }, // UInt8 ___filler24[0x610-0x60C];
+ 0, // UInt8 ___filler24[0x610-0x60C];
0x0000, // UInt16 tmr2Control; // $610: Timer 2 Control Register
0x0000, // UInt16 tmr2Prescaler; // $612: Timer 2 Prescaler Register
@@ -234,7 +234,7 @@ static const HwrM68VZ328Type kInitial68VZ328RegisterVa
0x0000, // UInt16 tmr2Counter; // $618: Timer 2 Counter Register
0x0000, // UInt16 tmr2Status; // $61A: Timer 2 Status Register
- { 0 }, // UInt8 ___filler25[0x700-0x61C];
+ 0, // UInt8 ___filler25[0x700-0x61C];
0x0000, // UInt16 spiRxD; // $700: SPI Unit 1 Receive Data Register
0x0000, // UInt16 spiTxD; // $702: SPI Unit 1 Transmit Data Register
@@ -243,12 +243,12 @@ static const HwrM68VZ328Type kInitial68VZ328RegisterVa
0x0000, // UInt16 spiTest; // $708: SPI Unit 1 Test Register
0x0000, // UInt16 spiSpc; // $70A: SPI Unit 1 Sample period counter register
- { 0 }, // UInt8 ___filler26[0x800-0x706];
+ 0, // UInt8 ___filler26[0x800-0x706];
0x0000, // UInt16 spiMasterData; // $800: SPI Unit 2 Data Register (SPI 2 is the same as the single SPI Master in EZ)
0x0000, // UInt16 spiMasterControl; // $802: SPI Unit 2 Control/Status Register
- { 0 }, // UInt8 ___filler27[0x900-0x804];
+ 0, // UInt8 ___filler27[0x900-0x804];
0x0000, // UInt16 uControl; // $900: Uart 1 Status/Control Register (Uart 1 is the same as the single Uart in EZ)
0x003F, // UInt16 uBaud; // $902: Uart 1 Baud Control Register
@@ -257,7 +257,7 @@ static const HwrM68VZ328Type kInitial68VZ328RegisterVa
0x0000, // UInt16 uMisc; // $908: Uart 1 Miscellaneous Register
0x0000, // UInt16 uNonIntPresc; // $90A: Uart 1 Non-Integer Prescaler
- { 0 }, // UInt8 ___filler28[0x910-0x90C];
+ 0, // UInt8 ___filler28[0x910-0x90C];
0x0000, // UInt16 u2Control; // $910: Uart 2 Status/Control Register
0x003F, // UInt16 u2Baud; // $912: Uart 2 Baud Control Register
@@ -267,67 +267,67 @@ static const HwrM68VZ328Type kInitial68VZ328RegisterVa
0x0000, // UInt16 u2NonIntPresc; // $91A: Uart 2 Non-Integer Prescaler
0x0000, // UInt16 u2FIFOHMark; // $91C: Uart 2 Half Mark FIFO Register
- { 0 }, // UInt8 ___filler28a[0xA00-0x91E];
+ 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];
+ 0, // UInt8 ___filler30[2];
0x03F0, // UInt16 lcdScreenWidth; // $A08: Screen Width Register
0x01FF, // UInt16 lcdScreenHeight; // $A0A: Screen Height Register
- { 0 }, // UInt8 ___filler31[0xA18-0xA0C];
+ 0, // UInt8 ___filler31[0xA18-0xA0C];
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];
+ 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
- { 0 }, // UInt8 ___filler40[0xB00-0xA3a];
+ 0, // UInt8 ___filler40[0xB00-0xA3a];
0x00000000, // UInt32 rtcHourMinSec; // $B00: RTC Hours, Minutes, Seconds Register
0x00000000, // UInt32 rtcAlarm; // $B04: RTC Alarm Register
- { 0 }, // UInt8 ___filler2001[0xB0A-0xB08];
+ 0, // UInt8 ___filler2001[0xB0A-0xB08];
0x0001, // UInt16 rtcWatchDog; // $B0A: RTC Watchdog Timer
0x0080, // UInt16 rtcControl; // $B0C: RTC Control Register
0x0000, // UInt16 rtcIntStatus; // $B0E: RTC Interrupt Status Register
0x0000, // UInt16 rtcIntEnable; // $B10: RTC Interrupt Enable Register
0x003F, // UInt16 stopWatch; // $B12: Stopwatch Minutes
- { 0 }, // UInt8 ___filler2002[0xB1A-0xB14];
+ 0, // UInt8 ___filler2002[0xB1A-0xB14];
0x0000, // UInt16 rtcDay; // $B1A: RTC Day
0x0000, // UInt16 rtcDayAlarm; // $B1C: RTC Day Alarm
- { 0 }, // UInt8 ___filler41[0xC00-0xB1E];
+ 0, // UInt8 ___filler41[0xC00-0xB1E];
0x0000, // UInt16 dramConfig; // $C00: DRAM Memory Config Register
0x003C, // UInt16 dramControl; // $C02: DRAM Control Register
0x0000, // UInt16 sdramControl; // $C04: SDRAM Control Register
0x0000, // UInt16 sdramPwDn; // $C06: SDRAM Power Down Register
- { 0 }, // UInt8 ___filler42[0xD00-0xC08];
+ 0, // UInt8 ___filler42[0xD00-0xC08];
0x00000000, // UInt32 emuAddrCompare; // $D00: Emulation Address Compare Register
0x00000000, // UInt32 emuAddrMask; // $D04: Emulation Address Mask Register

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-SrcShared_Switches_h,v 1.1.1.1 2006/10/19 16:24:52 mbalmer Exp $
--- SrcShared/Switches.h.orig Fri Mar 29 14:11:17 2002
+++ SrcShared/Switches.h Thu Oct 19 17:59:13 2006
@@ -14,6 +14,8 @@
#ifndef _SWITCHES_H_
#define _SWITCHES_H_
+#include <sys/types.h>
+
// Use convention: for the preprocessor symbols in this file used to
// turn features on and off, we follow the "if 0 or not 0" convention,
// not the "if defined or not defined" convention. Thus, to turn

View File

@ -1,13 +0,0 @@
$OpenBSD: patch-SrcShared_omnithread_omnithread_h,v 1.1.1.1 2006/10/19 16:24:52 mbalmer Exp $
--- SrcShared/omnithread/omnithread.h.orig Fri Mar 29 14:11:07 2002
+++ SrcShared/omnithread/omnithread.h Thu Oct 19 17:59:13 2006
@@ -157,6 +157,9 @@ class omni_thread;
#elif defined(__bsdi__)
#include <omnithread/posix.h>
+#elif defined(__OpenBSD__)
+#include <omnithread/posix.h>
+
#else
#error "No implementation header file"
#endif

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-SrcUnix_EmDocumentUnix_cpp,v 1.2 2007/04/01 17:50:25 martynas Exp $
--- SrcUnix/EmDocumentUnix.cpp.orig Fri Mar 29 15:11:19 2002
+++ SrcUnix/EmDocumentUnix.cpp Sun Apr 1 17:53:43 2007
@@ -95,7 +95,7 @@ void EmDocumentUnix::HostSaveScreen (const EmFileRef&
string fullPath = destRef.GetFullPath ();
char* fNameExt = (char*) malloc (fullPath.size () + 4);
strcpy (fNameExt, fullPath.c_str ());
- filename_setext (fNameExt, ".ppm");
+ fl_filename_setext (fNameExt, ".ppm");
FILE* f = fopen (fNameExt, "wb");
if (f)

View File

@ -1,23 +0,0 @@
$OpenBSD: patch-SrcUnix_espws-2_0_FileBrowser_cxx,v 1.2 2007/04/01 17:50:25 martynas Exp $
--- SrcUnix/espws-2.0/FileBrowser.cxx.orig Fri Mar 29 15:11:11 2002
+++ SrcUnix/espws-2.0/FileBrowser.cxx Sun Apr 1 17:53:43 2007
@@ -467,7 +467,7 @@ FileBrowser::load(const char *directory)// I - Directo
num_files = filename_list(filename, &files);
#else
- num_files = filename_list(directory_, &files);
+ num_files = fl_filename_list(directory_, &files);
#endif /* WIN32 || __EMX__ */
if (num_files <= 0)
@@ -480,8 +480,8 @@ FileBrowser::load(const char *directory)// I - Directo
{
sprintf(filename, "%s/%s", directory_, files[i]->d_name);
- if (filename_isdir(filename) ||
- filename_match(files[i]->d_name, pattern_))
+ if (fl_filename_isdir(filename) ||
+ fl_filename_match(files[i]->d_name, pattern_))
add(files[i]->d_name, FileIcon::find(filename));
}

View File

@ -1,84 +0,0 @@
$OpenBSD: patch-SrcUnix_espws-2_0_FileChooser2_cxx,v 1.2 2007/04/01 17:50:25 martynas Exp $
--- SrcUnix/espws-2.0/FileChooser2.cxx.orig Fri Mar 29 15:11:11 2002
+++ SrcUnix/espws-2.0/FileChooser2.cxx Sun Apr 1 17:53:43 2007
@@ -83,7 +83,7 @@ FileChooser::directory(const char *d) // I - Directory
#else
if (d[0] != '/' && d[0] != '\\')
#endif /* WIN32 || __EMX__ */
- filename_absolute(directory_, d);
+ fl_filename_absolute(directory_, d);
else
{
strncpy(directory_, d, sizeof(directory_) - 1);
@@ -170,7 +170,7 @@ FileChooser::count()
pathname[sizeof(pathname) - 1] = '\0';
}
- if (filename_isdir(pathname) && !directory_chooser_)
+ if (fl_filename_isdir(pathname) && !directory_chooser_)
return (0);
else
return (1);
@@ -189,7 +189,7 @@ FileChooser::count()
pathname[sizeof(pathname) - 1] = '\0';
}
- if (!filename_isdir(pathname) || directory_chooser_)
+ if (!fl_filename_isdir(pathname) || directory_chooser_)
count ++;
}
@@ -237,7 +237,7 @@ FileChooser::value(int f) // I - File number
name = fileList->text(i);
sprintf(pathname, "%s/%s", directory_, name);
- if (!filename_isdir(pathname) || directory_chooser_)
+ if (!fl_filename_isdir(pathname) || directory_chooser_)
{
// Nope, see if this this is "the one"...
count ++;
@@ -264,7 +264,7 @@ FileChooser::value(const char *filename) // I - Filena
// See if the filename is actually a directory...
- if (filename == NULL || filename_isdir(filename))
+ if (filename == NULL || fl_filename_isdir(filename))
{
// Yes, just change the current directory...
directory(filename);
@@ -424,7 +424,7 @@ FileChooser::fileListCB()
if ((strlen(pathname) == 2 && pathname[1] == ':') ||
filename_isdir(pathname))
#else
- if (filename_isdir(pathname))
+ if (fl_filename_isdir(pathname))
#endif /* WIN32 || __EMX__ */
{
directory(pathname);
@@ -437,7 +437,7 @@ FileChooser::fileListCB()
{
fileName->value(filename);
- if (!filename_isdir(pathname) || directory_chooser_)
+ if (!fl_filename_isdir(pathname) || directory_chooser_)
okButton->activate();
}
}
@@ -500,7 +500,7 @@ FileChooser::fileNameCB()
if (((strlen(pathname) == 2 && pathname[1] == ':') ||
filename_isdir(pathname)) && !directory_chooser_)
#else
- if (filename_isdir(pathname) && !directory_chooser_)
+ if (fl_filename_isdir(pathname) && !directory_chooser_)
#endif /* WIN32 || __EMX__ */
directory(pathname);
else if (type_ == CREATE || access(pathname, 0) == 0)
@@ -632,7 +632,7 @@ FileChooser::fileNameCB()
sprintf(pathname, "%s/%s", directory_, fileName->value());
if ((type_ == CREATE || access(pathname, 0) == 0) &&
- (!filename_isdir(pathname) || directory_chooser_))
+ (!fl_filename_isdir(pathname) || directory_chooser_))
okButton->activate();
else
okButton->deactivate();

View File

@ -1,39 +0,0 @@
$OpenBSD: patch-SrcUnix_espws-2_0_FileIcon_cxx,v 1.2 2007/04/01 17:50:25 martynas Exp $
--- SrcUnix/espws-2.0/FileIcon.cxx.orig Fri Mar 29 15:11:11 2002
+++ SrcUnix/espws-2.0/FileIcon.cxx Sun Apr 1 17:53:43 2007
@@ -230,7 +230,7 @@ FileIcon::find(const char *filename, // I - Name of fi
// is found...
for (current = first_; current != (FileIcon *)0; current = current->next_)
if ((current->type_ == filetype || current->type_ == ANY) &&
- filename_match(filename, current->pattern_))
+ fl_filename_match(filename, current->pattern_))
break;
// Return the match (if any)...
@@ -472,7 +472,7 @@ FileIcon::load(const char *f) // I - File to read from
const char *ext; // File extension
- if ((ext = filename_ext(f)) == NULL)
+ if ((ext = fl_filename_ext(f)) == NULL)
{
fprintf(stderr, "FileIcon::load(): Unknown file type for \"%s\".\n", f);
return;
@@ -1089,7 +1089,7 @@ load_kde_icons(const char *directory) // I - Directory
entries = (dirent **)0;
- n = filename_list(directory, &entries);
+ n = fl_filename_list(directory, &entries);
for (i = 0; i < n; i ++)
{
@@ -1099,7 +1099,7 @@ load_kde_icons(const char *directory) // I - Directory
strcat(full,"/");
strcat(full, entries[i]->d_name);
- if (filename_isdir(full))
+ if (fl_filename_isdir(full))
load_kde_icons(full);
else
load_kde_mimelnk(full);

View File

@ -1,11 +0,0 @@
Palm OS Emulator is an application that emulates the hardware for most
Palm Computing Platform Hardware devices (e.g., Pilot, PalmPilot, Palm
III, Palm V, Palm VII, etc.).
With the Palm OS Emulator, you can emulate the functions of a Palm
hardware device, including running the built-in application, as well as
installing and running 3rd party applications.
To use the Palm OS Emulator you will also need to download the Emulator
Skins from http://www.palmos.com/dev/tools/emulator/ and you need to
get hold of a Palm OS ROM Image.

View File

@ -1,2 +0,0 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/10/19 16:24:52 mbalmer Exp $
bin/pose