2005-04-15 21:04:20 +02:00
|
|
|
# $NetBSD: Makefile,v 1.16 2005/04/15 19:04:20 kristerw 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
|
2005-03-27 17:43:32 +02:00
|
|
|
PKGREVISION= 1
|
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/
|
|
|
|
|
2003-07-17 23:31:04 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2005-04-15 21:04:20 +02:00
|
|
|
HOMEPAGE= http://www.squish.net/generator/
|
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
|
|
|
|
|
2005-02-01 00:58:33 +01:00
|
|
|
USE_X11= yes
|
|
|
|
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"
|