diff options
Diffstat (limited to 'emulators/arcem/patches')
-rw-r--r-- | emulators/arcem/patches/patch-aa | 45 | ||||
-rw-r--r-- | emulators/arcem/patches/patch-ab | 29 | ||||
-rw-r--r-- | emulators/arcem/patches/patch-ac | 35 | ||||
-rw-r--r-- | emulators/arcem/patches/patch-ad | 35 |
4 files changed, 0 insertions, 144 deletions
diff --git a/emulators/arcem/patches/patch-aa b/emulators/arcem/patches/patch-aa deleted file mode 100644 index a81a7846cd4..00000000000 --- a/emulators/arcem/patches/patch-aa +++ /dev/null @@ -1,45 +0,0 @@ -$NetBSD: patch-aa,v 1.2 2004/12/03 15:15:23 skrll Exp $ - ---- Makefile.orig 2002-05-05 23:09:39.000000000 +0100 -+++ Makefile -@@ -36,15 +36,14 @@ WARN = -Wall -Wno-return-type -Wno-unkno - - - # add -DHOST_BIGENDIAN for big endian hosts, e.g. Sun, SGI, HP --CFLAGS = -O3 -D$(ENDIAN) $(CFL) -DNOOS -DNOFPE $(WARN) \ -- -I$(SYSTEM) -Iarch -funroll-loops -fexpensive-optimizations -ffast-math \ -- -fomit-frame-pointer -frerun-cse-after-loop -+#CFLAGS = -O3 -D$(ENDIAN) $(CFL) -DNOOS -DNOFPE $(WARN) \ -+# -I$(SYSTEM) -Iarch -funroll-loops -fexpensive-optimizations -ffast-math \ -+# -fomit-frame-pointer -frerun-cse-after-loop -+CFLAGS = -g -D$(ENDIAN) $(CFL) -DNOOS -DNOFPE $(WARN) -I$(SYSTEM) -Iarch - - - --prefix=/usr/local -- --INSTALL_DIR = $(prefix)/bin -+INSTALL_DIR = $(PREFIX)/bin - INSTALL=cp - - -@@ -82,8 +81,8 @@ TARGET=!ArcEm/arcem - endif - - ifeq (${SYSTEM},X) --CFLAGS += -DSYSTEM_X -I/usr/X11R6/include --LIBS += -L/usr/X11R6/lib -lXext -lX11 -+CFLAGS += -DSYSTEM_X -I${X11BASE}/include -+LIBS += -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -lXext -lX11 - endif - - ifeq (${SYSTEM},win) -@@ -110,7 +109,7 @@ VER=1.0 - all: $(TARGET) - - install: all -- $(INSTALL) armul $(INSTALL_DIR) -+ $(INSTALL) arcem $(INSTALL_DIR) - - $(TARGET): $(OBJS) $(MODEL).o - $(CC) $(OBJS) $(LIBS) $(MODEL).o -o $@ diff --git a/emulators/arcem/patches/patch-ab b/emulators/arcem/patches/patch-ab deleted file mode 100644 index 5bac55b5ee8..00000000000 --- a/emulators/arcem/patches/patch-ab +++ /dev/null @@ -1,29 +0,0 @@ -$NetBSD: patch-ab,v 1.2 2004/12/03 15:15:23 skrll Exp $ - ---- X/DispKbd.c.orig 2002-05-05 23:09:39.000000000 +0100 -+++ X/DispKbd.c -@@ -45,7 +45,9 @@ - #define HD HOSTDISPLAY - #define DC DISPLAYCONTROL - -+#if 0 - static unsigned AutoKey(ARMul_State *state); -+#endif - - static struct EventNode enodes[4]; - //static int autokeyenode=0; /* Flips between 0 and 1 */ -@@ -87,12 +89,14 @@ static unsigned long get_pixelval(unsign - } /* get_pixval */ - - /*----------------------------------------------------------------------------*/ -+#if 0 - static unsigned AutoKey(ARMul_State *state) { - /*fprintf(stderr,"AutoKey!\n"); */ - KBD.TimerIntHasHappened+=2; - - return 0; - }; -+#endif - /*-----------------------------------------------------------------------------*/ - /* I'm not confident that this is completely correct - if it's wrong all hell - is bound to break loose! If it works however it should speed things up diff --git a/emulators/arcem/patches/patch-ac b/emulators/arcem/patches/patch-ac deleted file mode 100644 index 1e4868c096c..00000000000 --- a/emulators/arcem/patches/patch-ac +++ /dev/null @@ -1,35 +0,0 @@ -$NetBSD: patch-ac,v 1.1 2004/12/03 15:15:23 skrll Exp $ - ---- armrdi.c.orig 2004-06-04 09:21:14.000000000 +0100 -+++ armrdi.c -@@ -114,11 +114,13 @@ void ARMul_ConsolePrint(ARMul_State *sta - } - } - -+#if 0 - static void ARMul_DebugPause(ARMul_State *state) - { - if(!(rdi_log & 8)) - state->hostif->dbgpause(state->hostif->dbgarg); - } -+#endif - - /***************************************************************************\ - * RDI_open * -@@ -278,6 +280,7 @@ static int RDI_CPUwrite(unsigned mode, u - * Internal functions for breakpoint table manipulation * - \***************************************************************************/ - -+#if 0 - static void deletewatchnode(WatchNode **prevp) - { WatchNode *p = *prevp; - *prevp = p->next; -@@ -305,7 +308,7 @@ static WatchNode *installwatch(ARMword a - p->bound = bound; - return p; - } -- -+#endif - /***************************************************************************\ - * RDI_execute * - \***************************************************************************/ diff --git a/emulators/arcem/patches/patch-ad b/emulators/arcem/patches/patch-ad deleted file mode 100644 index 79678af0f3a..00000000000 --- a/emulators/arcem/patches/patch-ad +++ /dev/null @@ -1,35 +0,0 @@ -$NetBSD: patch-ad,v 1.1 2004/12/03 15:15:23 skrll Exp $ - ---- arch/armarc.c.orig 2002-05-06 09:52:53.000000000 +0100 -+++ arch/armarc.c -@@ -355,7 +355,7 @@ unsigned ARMul_MemoryInit(ARMul_State *s - FILE *ROMFile; - unsigned int ROMWordNum,ROMWord; - int PresPage; -- unsigned int index; -+ unsigned int idx; - - PrivDPtr = (PrivateDataType *)malloc(sizeof(PrivateDataType)); - if (PrivDPtr == NULL) { -@@ -392,8 +392,8 @@ unsigned ARMul_MemoryInit(ARMul_State *s - exit(3); - }; -
-- for (index = 0; index < (MEMC.RAMSize / 4); index++) -- MEMC.PhysRamfuncs[index]=ARMul_Emulate_DecodeInstr; -+ for (idx = 0; idx < (MEMC.RAMSize / 4); idx++) -+ MEMC.PhysRamfuncs[idx]=ARMul_Emulate_DecodeInstr; - - MEMC.ROMMapFlag=1; /* Map ROM to address 0 */ - MEMC.ControlReg=0; /* Defaults */ -@@ -461,8 +461,8 @@ unsigned ARMul_MemoryInit(ARMul_State *s - PRIVD->irqflags = 0; - PRIVD->fiqflags = 0; - -- for(index = 0;index < (512 * 1024) / UPDATEBLOCKSIZE; index++) { -- MEMC.UpdateFlags[index] = 1; -+ for(idx = 0;idx < (512 * 1024) / UPDATEBLOCKSIZE; idx++) { -+ MEMC.UpdateFlags[idx] = 1; - } - - MEMC.OldAddress1 = -1; |