2017-12-24 10:50:47 +01:00
|
|
|
# $NetBSD: Makefile,v 1.26 2017/12/24 09:50:47 wiz Exp $
|
Initial import of Generator-0.34 into the NetBSD Packages collection.
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.
2002-05-09 21:08:39 +02:00
|
|
|
|
2005-02-01 00:58:33 +01:00
|
|
|
DISTNAME= generator-0.35
|
2015-04-25 16:20:17 +02:00
|
|
|
PKGREVISION= 6
|
Initial import of Generator-0.34 into the NetBSD Packages collection.
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.
2002-05-09 21:08:39 +02:00
|
|
|
CATEGORIES= emulators
|
|
|
|
MASTER_SITES= http://www.squish.net/generator/files/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2017-12-24 10:50:47 +01:00
|
|
|
HOMEPAGE= https://segaretro.org/Generator_(emulator)
|
Initial import of Generator-0.34 into the NetBSD Packages collection.
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.
2002-05-09 21:08:39 +02:00
|
|
|
COMMENT= Sega Mega drive genesis emulator
|
|
|
|
|
2009-10-29 18:58:50 +01:00
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
2005-02-01 00:58:33 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2003-03-07 09:47:06 +01:00
|
|
|
|
|
|
|
.if (${MACHINE_ARCH} == "i386")
|
2005-02-01 00:58:33 +01:00
|
|
|
BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
|
Initial import of Generator-0.34 into the NetBSD Packages collection.
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.
2002-05-09 21:08:39 +02:00
|
|
|
CONFIGURE_ARGS+= --with-gtk --with-raze
|
2003-03-07 09:47:06 +01:00
|
|
|
.else
|
2003-03-07 09:59:48 +01:00
|
|
|
CONFIGURE_ARGS+= --with-gtk --with-cmz80
|
2003-03-07 09:47:06 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../mk/endian.mk"
|
|
|
|
|
|
|
|
.if ${MACHINE_ENDIAN} == "big"
|
|
|
|
CFLAGS+= -DBYTES_HIGHFIRST
|
|
|
|
.endif
|
|
|
|
|
2004-04-12 04:08:40 +02:00
|
|
|
.include "../../devel/SDL/buildlink3.mk"
|
|
|
|
.include "../../x11/gtk/buildlink3.mk"
|
2002-08-27 20:29:35 +02:00
|
|
|
|
Initial import of Generator-0.34 into the NetBSD Packages collection.
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.
2002-05-09 21:08:39 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|