summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-09-08 11:04:04 +0000
committernia <nia@pkgsrc.org>2019-09-08 11:04:04 +0000
commit6d090ea5646b5d6568b0d3c2eaca19259532408e (patch)
tree1108b09835b0243bc71a5e24e8641d2b0e94045c /emulators
parent90dcde6802ff7c610b3b856fbb4c4d4736995135 (diff)
downloadpkgsrc-6d090ea5646b5d6568b0d3c2eaca19259532408e.tar.gz
Remove emulators/generator.
Ancient, unmaintained, dead upstream, and not wanting to build, for some time. This version is from 2003 and only supports GTK1. Lots of alternatives in this category - blastem, mednafen, even the generator-cbiere fork, if you must.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/Makefile3
-rw-r--r--emulators/generator/DESCR22
-rw-r--r--emulators/generator/Makefile32
-rw-r--r--emulators/generator/PLIST2
-rw-r--r--emulators/generator/distinfo16
-rw-r--r--emulators/generator/patches/patch-aa13
-rw-r--r--emulators/generator/patches/patch-ab14
-rw-r--r--emulators/generator/patches/patch-ac20
-rw-r--r--emulators/generator/patches/patch-ae33
-rw-r--r--emulators/generator/patches/patch-af13
-rw-r--r--emulators/generator/patches/patch-ag13
-rw-r--r--emulators/generator/patches/patch-ah13
-rw-r--r--emulators/generator/patches/patch-main_event.c13
-rw-r--r--emulators/generator/patches/patch-main_vdp.c22
-rw-r--r--emulators/generator/patches/patch-ym2612_support.h13
15 files changed, 1 insertions, 241 deletions
diff --git a/emulators/Makefile b/emulators/Makefile
index b9ee8bc221f..90582ba1109 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.301 2019/09/07 00:38:00 tsutsui Exp $
+# $NetBSD: Makefile,v 1.302 2019/09/08 11:04:04 nia Exp $
#
COMMENT= Emulators for other operating systems
@@ -68,7 +68,6 @@ SUBDIR+= fuse-emulator
SUBDIR+= fuse-emulator-utils
SUBDIR+= gambatte
SUBDIR+= gcube
-SUBDIR+= generator
SUBDIR+= generator-cbiere
SUBDIR+= gens
SUBDIR+= gns3
diff --git a/emulators/generator/DESCR b/emulators/generator/DESCR
deleted file mode 100644
index 7d4dc2f6e2b..00000000000
--- a/emulators/generator/DESCR
+++ /dev/null
@@ -1,22 +0,0 @@
-Generator is an open source emulator designed to emulate the Sega
-Genesis / Mega Drive console, a popular games machine produced in the
-early 1990s. It is a portable program written in C and has been
-ported to the Amiga, Macintosh, Windows and even pocket PCs such as
-the iPAQ and Cassiopeia. Natively it compiles under unix for X
-Windows with either tcl/tk or gtk/SDL, for svgalib and even
-cross-compiles to DOS with djgpp/allegro.
-
-Generator uses its own custom 68000 processor emulation which is
-designed for dynamic recompilation, and uses techniques from this such
-as block-marking, flag calculation removal, operand pre-calculation,
-endian pre-conversion etc. There are approximately 1600 C routines
-generated by the first stage of compilation to cope with the 67
-instruction families. These routines are used as a 'backup' when
-dynamic recompilation isn't supported on your platform or the
-recompiler doesn't support a particular instruction. The CPU engine
-is by all accounts very fast, whatever the mode.
-
-There is a 'test' recompiler written for the ARM processor, but it is
-no longer supported. If someone with assembler knowledge wants to put
-the effort into writing a recompiling back-end for a processor (and it
-really is major effort), let me know - particularly if you know i386.
diff --git a/emulators/generator/Makefile b/emulators/generator/Makefile
deleted file mode 100644
index 1d37666d4c0..00000000000
--- a/emulators/generator/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-# $NetBSD: Makefile,v 1.26 2017/12/24 09:50:47 wiz Exp $
-
-DISTNAME= generator-0.35
-PKGREVISION= 6
-CATEGORIES= emulators
-MASTER_SITES= http://www.squish.net/generator/files/
-
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= https://segaretro.org/Generator_(emulator)
-COMMENT= Sega Mega drive genesis emulator
-
-MAKE_JOBS_SAFE= no
-
-GNU_CONFIGURE= yes
-
-.if (${MACHINE_ARCH} == "i386")
-BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
-CONFIGURE_ARGS+= --with-gtk --with-raze
-.else
-CONFIGURE_ARGS+= --with-gtk --with-cmz80
-.endif
-
-.include "../../mk/endian.mk"
-
-.if ${MACHINE_ENDIAN} == "big"
-CFLAGS+= -DBYTES_HIGHFIRST
-.endif
-
-.include "../../devel/SDL/buildlink3.mk"
-.include "../../x11/gtk/buildlink3.mk"
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/generator/PLIST b/emulators/generator/PLIST
deleted file mode 100644
index 2125ec7ad69..00000000000
--- a/emulators/generator/PLIST
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/09 19:08:39 agc Exp $
-bin/generator-gtk
diff --git a/emulators/generator/distinfo b/emulators/generator/distinfo
deleted file mode 100644
index 09507635c1a..00000000000
--- a/emulators/generator/distinfo
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: distinfo,v 1.11 2015/11/03 20:30:57 agc Exp $
-
-SHA1 (generator-0.35.tar.gz) = a61138579efd97028d3a69c54c3c6fcd0a3d74ab
-RMD160 (generator-0.35.tar.gz) = 6b448018b8ed0fd9755ddb850f48892304d12e78
-SHA512 (generator-0.35.tar.gz) = 0aa30a8c71a1eb5e2c5bbf01a39794818bbcedb572a6989c84b6f3cc5f69eb316425928a1e514412c11142951cdec75be3f3d6845b94490776c417407ada44bf
-Size (generator-0.35.tar.gz) = 469541 bytes
-SHA1 (patch-aa) = 5b971a07345bbd8e3d86284127829df5f4f5a541
-SHA1 (patch-ab) = 487620ee83fc17119ad6b8ab3e9a19a1401a5c02
-SHA1 (patch-ac) = 7467437c39f7df56a261a330d8f021c0d9c0381b
-SHA1 (patch-ae) = 4e689421fe66aa7f635191e9f0100cd98daf8a76
-SHA1 (patch-af) = ef1c72b6da1ae93209a13b6836d5a85f66ffa51c
-SHA1 (patch-ag) = 2837e5f931326b1ac4fb7b045c05a81d809693e4
-SHA1 (patch-ah) = 4e76b9cd2fd377dee83273bafe930bec77b9bef1
-SHA1 (patch-main_event.c) = 6016e3c5de1b0c027f637962f740238f0a1e4573
-SHA1 (patch-main_vdp.c) = 0d5ef7815c8c4e03b2df8692af31739c9a1f773c
-SHA1 (patch-ym2612_support.h) = 1bf38d55f289881468cb2e7eb0fa02c7ec08dd1c
diff --git a/emulators/generator/patches/patch-aa b/emulators/generator/patches/patch-aa
deleted file mode 100644
index 50d9b2de140..00000000000
--- a/emulators/generator/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2005/04/02 22:23:53 kristerw Exp $
-
---- hdr/registers.h.orig Sat Apr 2 23:59:51 2005
-+++ hdr/registers.h Sun Apr 3 00:05:50 2005
-@@ -13,7 +13,7 @@
- register uint32 *reg68k_regs asm ("6");
- register t_sr reg68k_sr asm ("7");
- # else
--# ifdef PROCESSOR_INTEL
-+# if defined (PROCESSOR_INTEL) && (__GNUC__ > 2)
- register uint32 reg68k_pc asm ("%ebx");
- register uint32 *reg68k_regs asm ("%edi");
- register t_sr reg68k_sr asm ("%esi");
diff --git a/emulators/generator/patches/patch-ab b/emulators/generator/patches/patch-ab
deleted file mode 100644
index fdb745646bd..00000000000
--- a/emulators/generator/patches/patch-ab
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2005/04/02 22:23:53 kristerw Exp $
-
---- main/reg68k.c.orig Sun Apr 3 00:02:45 2005
-+++ main/reg68k.c Sun Apr 3 00:04:24 2005
-@@ -21,7 +21,8 @@
- /*** global variables ***/
-
- #if (!(defined(PROCESSOR_ARM) || defined(PROCESSOR_SPARC) \
-- || defined(PROCESSOR_INTEL)))
-+ || defined(PROCESSOR_INTEL))) \
-+ || (defined(PROCESSOR_INTEL) && (__GNUC__ <= 2))
- uint32 reg68k_pc;
- uint32 *reg68k_regs;
- t_sr reg68k_sr;
diff --git a/emulators/generator/patches/patch-ac b/emulators/generator/patches/patch-ac
deleted file mode 100644
index fe74976e436..00000000000
--- a/emulators/generator/patches/patch-ac
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2005/01/31 23:58:33 xtraeme Exp $
-
---- configure.orig 2005-02-01 00:40:15.000000000 +0100
-+++ configure 2005-02-01 00:40:29.000000000 +0100
-@@ -1919,15 +1919,6 @@
- echo "${ECHO_T}Turning on gcc 3 optimisations" >&6
- CFLAGS="$CFLAGS -minline-all-stringops -fno-math-errno"
- fi
-- case $target_cpu in
-- i?86) echo "$as_me:$LINENO: result: Turning on pentium optimisations" >&5
--echo "${ECHO_T}Turning on pentium optimisations" >&6
-- # cannot do malign-double as we link to other libraries and it
-- # would break binary compatibility
-- CFLAGS="$CFLAGS -march=pentium -malign-loops=5"
-- CFLAGS="$CFLAGS -malign-jumps=5 -malign-functions=5"
-- ;;
-- esac
- else
- { echo "$as_me:$LINENO: WARNING: You did not opt for gcc optimisations!" >&5
- echo "$as_me: WARNING: You did not opt for gcc optimisations!" >&2;}
diff --git a/emulators/generator/patches/patch-ae b/emulators/generator/patches/patch-ae
deleted file mode 100644
index 16573fb052a..00000000000
--- a/emulators/generator/patches/patch-ae
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD: patch-ae,v 1.2 2005/01/31 23:58:33 xtraeme Exp $
-
---- hdr/generator.h.orig 2003-05-04 20:50:43.000000000 +0200
-+++ hdr/generator.h 2005-02-01 00:46:44.000000000 +0100
-@@ -21,6 +21,11 @@
- #include <machine/endian.h>
- #define SWAP16(x) bswap_16((x))
- #define SWAP32(x) bswap_32((x))
-+#elif defined(__NetBSD__)
-+ #include <sys/types.h>
-+ #include <machine/endian.h>
-+ #define SWAP16(x) bswap16((x))
-+ #define SWAP32(x) bswap32((x))
- #else
- #define SWAP16(y) (( ((y)>>8) & 0x00ff) | (( ((y)<<8) & 0xff00)))
- #define SWAP32(y) (( ((y)>>24) & 0x000000ff) | \
-@@ -221,11 +226,11 @@
- # define LOG_DEBUG3(x) /* ui_log_debug3 ## x */
- # define LOG_DEBUG2(x) /* ui_log_debug2 ## x */
- # define LOG_DEBUG1(x) /* ui_log_debug1 ## x */
--# define LOG_USER(x) ui_log_user ## x
--# define LOG_VERBOSE(x) ui_log_verbose ## x
--# define LOG_NORMAL(x) ui_log_normal ## x
--# define LOG_CRITICAL(x) ui_log_critical ## x
--# define LOG_REQUEST(x) ui_log_request ## x
-+# define LOG_USER(x) ui_log_user x
-+# define LOG_VERBOSE(x) ui_log_verbose x
-+# define LOG_NORMAL(x) ui_log_normal x
-+# define LOG_CRITICAL(x) ui_log_critical x
-+# define LOG_REQUEST(x) ui_log_request x
- #endif
-
- typedef struct {
diff --git a/emulators/generator/patches/patch-af b/emulators/generator/patches/patch-af
deleted file mode 100644
index 44176e03bff..00000000000
--- a/emulators/generator/patches/patch-af
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-af,v 1.1 2004/02/13 23:41:28 kristerw Exp $
-
---- main/ui-gtk.c.orig 2004-02-14 00:30:00.000000000 +0100
-+++ main/ui-gtk.c 2004-02-14 00:30:20.000000000 +0100
-@@ -626,7 +626,7 @@
- /* logging is done this way because this was the best I could come up with
- whilst battling with macros that can only take fixed numbers of arguments */
-
--#define LOG_FUNC(name,level,txt) void ui_log_ ## name ## (const char *text, ...) \
-+#define LOG_FUNC(name,level,txt) void ui_log_ ## name (const char *text, ...) \
- { \
- va_list ap; \
- if (gen_loglevel >= level) { \
diff --git a/emulators/generator/patches/patch-ag b/emulators/generator/patches/patch-ag
deleted file mode 100644
index 010de9a9802..00000000000
--- a/emulators/generator/patches/patch-ag
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ag,v 1.1 2007/10/10 22:09:48 rillig Exp $
-
---- cpu68k/def68k.c.orig 2003-05-05 02:58:27.000000000 +0200
-+++ cpu68k/def68k.c 2007-10-11 00:04:48.000000000 +0200
-@@ -1318,7 +1318,7 @@ void procline(char *line, int lineno, FI
- } /* block */
- }
-
--int clocks_movetable[] = {
-+static int clocks_movetable[] = {
- 4, 4, 8, 8, 8, 12, 14, 12, 16,
- 4, 4, 8, 8, 8, 12, 14, 12, 16,
- 8, 8, 12, 12, 12, 16, 18, 16, 20,
diff --git a/emulators/generator/patches/patch-ah b/emulators/generator/patches/patch-ah
deleted file mode 100644
index 81b17799169..00000000000
--- a/emulators/generator/patches/patch-ah
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ah,v 1.1 2009/10/29 17:58:50 joerg Exp $
-
---- cmz80/z80stb.h.orig 2009-10-29 18:37:09.000000000 +0100
-+++ cmz80/z80stb.h
-@@ -128,8 +128,6 @@ void CallbackMemWriteWord(WORD wAddr, WO
- /* inline */ BYTE Srl(BYTE b);
- /* inline */ BYTE Sla(BYTE b);
- /* inline */ BYTE Sra(BYTE b);
--/* inline */ BYTE Inc(BYTE b);
--/* inline */ BYTE Dec(BYTE b);
-
- /* inline */ WORD Add_2(WORD wArg1, WORD wArg2);
- /* inline */ WORD Adc_2(WORD wArg1, WORD wArg2);
diff --git a/emulators/generator/patches/patch-main_event.c b/emulators/generator/patches/patch-main_event.c
deleted file mode 100644
index e7212d8dafc..00000000000
--- a/emulators/generator/patches/patch-main_event.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-main_event.c,v 1.1 2012/12/20 21:59:21 joerg Exp $
-
---- main/event.c.orig 2012-12-20 19:12:33.000000000 +0000
-+++ main/event.c
-@@ -16,7 +16,7 @@
-
- /* time for next event - update vdp_event - return when to call again */
-
--inline void event_nextevent(void)
-+static inline void event_nextevent(void)
- {
- /* call this when it *is* time for the next event as dictated by vdp_event,
- so we switch on it and update vdp_event at the same time */
diff --git a/emulators/generator/patches/patch-main_vdp.c b/emulators/generator/patches/patch-main_vdp.c
deleted file mode 100644
index 70db58c1f02..00000000000
--- a/emulators/generator/patches/patch-main_vdp.c
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-main_vdp.c,v 1.1 2012/12/20 21:59:21 joerg Exp $
-
---- main/vdp.c.orig 2012-12-20 19:12:50.000000000 +0000
-+++ main/vdp.c
-@@ -90,7 +90,7 @@ void vdp_describe(void);
- void vdp_eventinit(void);
- void vdp_layer_simple(unsigned int layer, unsigned int priority,
- uint8 *fielddata, unsigned int lineoffset);
--inline void vdp_plotcell(uint8 *patloc, uint8 palette, uint8 flags,
-+static inline void vdp_plotcell(uint8 *patloc, uint8 palette, uint8 flags,
- uint8 *cellloc, unsigned int lineoffset);
- void vdp_sprites(unsigned int line, uint8 *pridata, uint8 *outdata);
- int vdp_sprite_simple(unsigned int priority, uint8 *framedata,
-@@ -1705,7 +1705,7 @@ void vdp_endfield(void)
- vdp_event_endline); */
- }
-
--inline void vdp_plotcell(uint8 *patloc, uint8 palette, uint8 flags,
-+static inline void vdp_plotcell(uint8 *patloc, uint8 palette, uint8 flags,
- uint8 *cellloc, unsigned int lineoffset)
- {
- int y, x;
diff --git a/emulators/generator/patches/patch-ym2612_support.h b/emulators/generator/patches/patch-ym2612_support.h
deleted file mode 100644
index 4e1370182c4..00000000000
--- a/emulators/generator/patches/patch-ym2612_support.h
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ym2612_support.h,v 1.1 2012/12/20 21:59:21 joerg Exp $
-
---- ym2612/support.h.orig 2012-12-20 19:09:12.000000000 +0000
-+++ ym2612/support.h
-@@ -3,7 +3,7 @@
- #include "config.h"
-
- #define errorlog 0
--#define INLINE inline
-+#define INLINE static inline
- #define HAS_YM2612 1
- #define YM2612UpdateRequest(x)
- #define AY8910_set_clock(chip,clock) /* */