diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-08-25 19:27:25 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-08-25 19:27:25 +0000 |
commit | 8abc1867557b1c49c207e7c7b5d5f9213b2436d8 (patch) | |
tree | 87b15910f0eb51a6495fa10dbc03abfac78919da /emulators | |
parent | fa984a41697dd39e50ec44bb21cdf6345191ab0b (diff) | |
download | ports-8abc1867557b1c49c207e7c7b5d5f9213b2436d8.tar.gz ports-8abc1867557b1c49c207e7c7b5d5f9213b2436d8.zip |
Notes
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/Makefile | 1 | ||||
-rw-r--r-- | emulators/truereality/Makefile | 37 | ||||
-rw-r--r-- | emulators/truereality/distinfo | 1 | ||||
-rw-r--r-- | emulators/truereality/files/extra-patch-alpha | 23 | ||||
-rw-r--r-- | emulators/truereality/files/patch-aa | 101 | ||||
-rw-r--r-- | emulators/truereality/files/patch-ab | 12 | ||||
-rw-r--r-- | emulators/truereality/files/patch-ac | 12 | ||||
-rw-r--r-- | emulators/truereality/files/patch-ad | 108 | ||||
-rw-r--r-- | emulators/truereality/pkg-descr | 23 | ||||
-rw-r--r-- | emulators/truereality/pkg-plist | 2 |
10 files changed, 0 insertions, 320 deletions
diff --git a/emulators/Makefile b/emulators/Makefile index 7760cc43d773..b8eb4287ebf9 100644 --- a/emulators/Makefile +++ b/emulators/Makefile @@ -66,7 +66,6 @@ SUBDIR += stonx SUBDIR += svr4_base SUBDIR += tkhfs - SUBDIR += truereality SUBDIR += tuxnes SUBDIR += twin SUBDIR += uae diff --git a/emulators/truereality/Makefile b/emulators/truereality/Makefile deleted file mode 100644 index 6c8729f81867..000000000000 --- a/emulators/truereality/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# New ports collection makefile for: truereality -# Date Created: 28 November 1999 -# Whom: Mario S F Ferreira <lioux@linf.unb.br> et al. -# -# $FreeBSD$ -# - -PORTNAME= truereality -PORTVERSION= ${DATE} -CATEGORIES= emulators devel -MASTER_SITES= ftp://ftp.mayn.de/pub/unix/emulators/console/n64/ -DISTNAME= TrueReality-${PORTVERSION} - -MAINTAINER= lioux@FreeBSD.org -COMMENT= Nintendo N64(tm) emulator - -USE_GMAKE= yes -USE_XLIB= yes - -MAKE_ARGS= X11BASE=${X11BASE} - -WRKSRC= ${WRKDIR}/TrueReality/Source - -DATE= 1999121400 - -.include <bsd.port.pre.mk> - -.if ${ARCH} == "alpha" -post-patch: - @cd ${WRKSRC} ; ${PATCH} < ${PATCHDIR}/extra-patch-alpha -.endif - -do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/TrueReality ${PREFIX}/bin - @${LN} -sf ${PREFIX}/bin/TrueReality ${PREFIX}/bin/truereality - -.include <bsd.port.post.mk> diff --git a/emulators/truereality/distinfo b/emulators/truereality/distinfo deleted file mode 100644 index e9e207b60470..000000000000 --- a/emulators/truereality/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (TrueReality-1999121400.tar.gz) = ae7a1d245cec5bcbc94485aa18695fc2 diff --git a/emulators/truereality/files/extra-patch-alpha b/emulators/truereality/files/extra-patch-alpha deleted file mode 100644 index 1474b902a0ab..000000000000 --- a/emulators/truereality/files/extra-patch-alpha +++ /dev/null @@ -1,23 +0,0 @@ ---- Makefile.config.ORIG Sun May 21 21:24:16 2000 -+++ Makefile.config Sun May 21 21:24:45 2000 -@@ -168,7 +168,7 @@ - #CFLAGS := $(CFLAGS) -malign-loops=3 - - # for alpha --#CFLAGS := $(CFLAGS) -mcpu=ev4 -+CFLAGS := $(CFLAGS) -mcpu=ev4 - #CFLAGS := $(CFLAGS) -mcpu=ev5 - #CFLAGS := $(CFLAGS) -mcpu=ev6 - #CFLAGS := $(CFLAGS) -mcpu=ev7 -@@ -203,9 +203,9 @@ - #ASM := $(ASM) CPU - #ASM := $(ASM) MEMORY - --#CPU = alpha -+CPU = alpha - #CPU = arm --CPU = i386 -+#CPU = i386 - #CPU = m68k - #CPU = mips - #CPU = ppc diff --git a/emulators/truereality/files/patch-aa b/emulators/truereality/files/patch-aa deleted file mode 100644 index 0f02e130d6c5..000000000000 --- a/emulators/truereality/files/patch-aa +++ /dev/null @@ -1,101 +0,0 @@ ---- Makefile.config.orig Sat Dec 11 11:25:44 1999 -+++ Makefile.config Sat May 20 15:16:47 2000 -@@ -46,8 +46,8 @@ - ############################################################################### - - # it might be that you need gmake (in my distribution make is a link to gmake) --MAKE = make --#MAKE = gmake -+#MAKE = make -+MAKE = gmake - #MAKE = /usr/local/bin/gmake - - -@@ -60,8 +60,8 @@ - - - # various prgs --INSTALL = cp --#INSTALL = install -+#INSTALL = cp -+INSTALL = install - #INSTALL = copy - - RM = rm -f -@@ -83,17 +83,17 @@ - #TR_HOME = c:/truereality/source - - CINCL := $(CINCL) -I$(TR_HOME) --CINCL := $(CINCL) -I/usr/local/X11R6/default/include -+#CINCL := $(CINCL) -I/usr/local/X11R6/default/include - #CINCL := $(CINCL) -I/usr/local/mesa/default/include - #CINCL := $(CINCL) -I/usr/X11/include --#CINCL := $(CINCL) -I/usr/X11R6/include -+CINCL := $(CINCL) -I$(X11BASE)/include - #CINCL := $(CINCL) -I/usr/openwin/include - #CINCL := $(CINCL) -I GG:pcc-amigaos/os-include - --LDLIBS := $(LDLIBS) -L/usr/local/X11R6/default/lib -+#LDLIBS := $(LDLIBS) -L/usr/local/X11R6/default/lib - #LDLIBS := $(LDLIBS) -L/usr/local/mesa/default/lib - #LDLIBS := $(LDLIBS) -L/usr/X11/lib --#LDLIBS := $(LDLIBS) -L/usr/X11R6/lib -+LDLIBS := $(LDLIBS) -L$(X11BASE)/lib - #LDLIBS := $(LDLIBS) -L/usr/openwin/lib - - -@@ -148,7 +148,10 @@ - #CFLAGS := $(CFLAGS) -funroll-loops - #CFLAGS := $(CFLAGS) -g3 - #CFLAGS := $(CFLAGS) -ggdb3 --CFLAGS := $(CFLAGS) -ansi -pedantic -+#CFLAGS := $(CFLAGS) -ansi -pedantic -+CFLAGS := $(CFLAGS) -g -+CFLAGS := $(CFLAGS) $(CINCL) -+ - - - # for amiga -@@ -165,7 +168,7 @@ - #CFLAGS := $(CFLAGS) -malign-loops=3 - - # for alpha --CFLAGS := $(CFLAGS) -mcpu=ev4 -+#CFLAGS := $(CFLAGS) -mcpu=ev4 - #CFLAGS := $(CFLAGS) -mcpu=ev5 - #CFLAGS := $(CFLAGS) -mcpu=ev6 - #CFLAGS := $(CFLAGS) -mcpu=ev7 -@@ -200,9 +203,9 @@ - #ASM := $(ASM) CPU - #ASM := $(ASM) MEMORY - --CPU = alpha -+#CPU = alpha - #CPU = arm --#CPU = i386 -+CPU = i386 - #CPU = m68k - #CPU = mips - #CPU = ppc -@@ -228,10 +231,10 @@ - # # - ############################################################################### - --#ARCHITECTURE = bsd -+ARCHITECTURE = bsd - #ARCHITECTURE = hpux - #ARCHITECTURE = irix --ARCHITECTURE = linux -+#ARCHITECTURE = linux - #ARCHITECTURE = osf - #ARCHITECTURE = qnx - #ARCHITECTURE = sunos -@@ -556,7 +559,7 @@ - #ZLIB = -DWITH_ZLIB - - # dynamic # --#ZLIB_DYN = -L/usr/local/zlib/1.1.2/lib -lz -+ZLIB_DYN = -L/usr/local/lib -lz - - # static # - #ZLIB_STAT = /usr/local/zlib/1.1.2/lib/libz.a diff --git a/emulators/truereality/files/patch-ab b/emulators/truereality/files/patch-ab deleted file mode 100644 index 7e2c2741ae8d..000000000000 --- a/emulators/truereality/files/patch-ab +++ /dev/null @@ -1,12 +0,0 @@ ---- Makefile.vars.ORIG Sat May 20 13:55:28 2000 -+++ Makefile.vars Sat May 20 13:56:19 2000 -@@ -217,6 +217,9 @@ - endif - - ifeq "$(findstring OPENGL,$(EXPERIMENTAL))" "OPENGL" -+ifeq ($(ARCH),bsd) -+LDLIBS := $(LDLIBS) -lGL -lGLU -lglut -+endif - ifeq ($(ARCH),os2) - LDLIBS := $(LDLIBS) -lMesaGL -lMesaGLU -lglut - endif diff --git a/emulators/truereality/files/patch-ac b/emulators/truereality/files/patch-ac deleted file mode 100644 index 7e5069cf9a79..000000000000 --- a/emulators/truereality/files/patch-ac +++ /dev/null @@ -1,12 +0,0 @@ ---- N64/memory.c.orig Sat May 20 15:18:49 2000 -+++ N64/memory.c Sat May 20 15:20:56 2000 -@@ -312,7 +312,8 @@ - mem_shminfo[i].shmid = shmget(IPC_PRIVATE, mem_size[i], IPC_CREAT | 0777); - if(mem_shminfo[i].shmid < 0) - { -- printf("alloc_n64_mem: Couldn't get SHM ID [%d]\n\n", i); -+ printf("alloc_n64_mem: Couldn't get SHM ID [%d]\n", i); -+ printf("alloc_n64_mem: Try increasing the kernel limits SHMMAX and SHMALL\n\n"); - return(-1); - } - diff --git a/emulators/truereality/files/patch-ad b/emulators/truereality/files/patch-ad deleted file mode 100644 index f0e061bc9305..000000000000 --- a/emulators/truereality/files/patch-ad +++ /dev/null @@ -1,108 +0,0 @@ ---- os/bsd/signal.c.orig Tue Nov 16 15:02:45 1999 -+++ os/bsd/signal.c Sat May 20 13:36:15 2000 -@@ -39,51 +39,37 @@ - - #include <signal.h> - --#include <dispatch.h> -+#include "../../main.h" -+#include "../../N64/registers.h" - #include <parser_extern.h> - --#include "../os.h" --#include "signal.h" -+static void signal_handler(int signum); - - - - - --void CatchSignals() --{ -- signal(SIGINT, stop_signal); /* CTRL+C pressed -> cpu halt -> debugger */ -- signal(SIGQUIT, shutdown_signal); -- signal(SIGTERM, shutdown_signal); --#if DISPLAY_SUPPORT -- signal(SIGHUP, visualkilled_signal); /* should be sent if display killed */ -- signal(SIGPIPE, shutdown_signal); /* when pipe is broken */ --#endif -- --} /* void CatchSignals() */ - - - - - --void shutdown_signal() --{ -- dispatch(SHUTDOWN, 0); -- --} /* void shutdown_signal() */ - - - - - --void stop_signal() -+void tr_signals_catch() - { -- signal(SIGINT, SIG_IGN); -- -- dispatch(CPU_STOP, 0); -+ signal(SIGINT, signal_handler); /* CTRL+C pressed -> cpu halt -> -+debugger */ -+ signal(SIGQUIT, signal_handler); -+ signal(SIGTERM, signal_handler); -+#ifdef TR_DISPLAY -+ signal(SIGPIPE, signal_handler); /* when pipe is broken */ -+#endif - -- signal(SIGINT, stop_signal); /* CTRL+C pressed -> cpu halt -> debugger */ -- --} /* void shutdown_signal() */ -+} /* void tr_signals_catch() */ - - - -@@ -91,15 +77,36 @@ - - - --#if DISPLAY_SUPPORT --void visualkilled_signal() -+static void signal_handler(int signum) - { -- prefs.display = NO_DISPLAY; -- --} /* void visualkilled_signal() */ -+ signal(signum, SIG_IGN); -+ switch(signum) -+ { -+#ifdef TR_DEBUG -+ case SIGINT: -+ case SIGQUIT: -+ reg.halt = 1; /* stop cpu */ -+ break; -+#else -+ case SIGINT: -+ case SIGQUIT: - #endif -+ case SIGTERM: -+ /* ask for shutting down the emulation */ -+ tr_shutdown(); -+ break; -+ -+#ifdef TR_DISPLAY -+ case SIGPIPE: -+ prefs.display = NO_DISPLAY; -+ break; -+#endif -+ -+ } /* switch(signum) */ - -+ signal(signum, signal_handler); - -+} /* static void signal_handler(int signum) */ - - - diff --git a/emulators/truereality/pkg-descr b/emulators/truereality/pkg-descr deleted file mode 100644 index 963434343d4d..000000000000 --- a/emulators/truereality/pkg-descr +++ /dev/null @@ -1,23 +0,0 @@ -TrueReality (TR) is a Nintendo N64(tm) emulator developed by -Niki W. Waibel <niki.waibel@gmx.net> mainly for learning purposes. - -From TR.FAQ: - -Anyway - I think that TR does not run commercial ROMs - there is too much -stuff missing (I've not tested it - I just have heard nothing about that). - -What is TR for if it is not for playing commercial ROMs? -A: 1) TR should be a tool for demo writers. - 2) TR should be an open emu project where everyone can learn from it. - 3) TR should be an example (one time) for implementing/learning asm under - various machines. - If someones hacks out iP-MMX routines you can compare it with the C ones - and learn how things are done with MMX. - -Where can I get ROMs? -A: There are demos at http://www.dextrose.com. - -WWW: http://www.emuhq.com/truereality/ - -- Mario S F Ferreira -lioux@FreeBSD.org diff --git a/emulators/truereality/pkg-plist b/emulators/truereality/pkg-plist deleted file mode 100644 index 0c0c1e2aab14..000000000000 --- a/emulators/truereality/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -bin/TrueReality -bin/truereality |