summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Carlson <absinthe@gentoo.org>2003-04-17 09:31:27 +0000
committerDylan Carlson <absinthe@gentoo.org>2003-04-17 09:31:27 +0000
commit6851378df743ec52944fe58bf03887bcfba6de32 (patch)
tree8104b476be41b4e8a2c820fc01c09c857c93ab2d /app-emulation/frodo
parentInitial import. x86 ppc sparc masked for testing. (diff)
downloadgentoo-2-6851378df743ec52944fe58bf03887bcfba6de32.tar.gz
gentoo-2-6851378df743ec52944fe58bf03887bcfba6de32.tar.bz2
gentoo-2-6851378df743ec52944fe58bf03887bcfba6de32.zip
Initial import. x86 ppc sparc masked for testing.
Diffstat (limited to 'app-emulation/frodo')
-rw-r--r--app-emulation/frodo/ChangeLog13
-rw-r--r--app-emulation/frodo/files/digest-frodo-4.12
-rw-r--r--app-emulation/frodo/files/frodo-4.1-gentoo.diff83
-rw-r--r--app-emulation/frodo/frodo-4.1.ebuild103
4 files changed, 200 insertions, 1 deletions
diff --git a/app-emulation/frodo/ChangeLog b/app-emulation/frodo/ChangeLog
new file mode 100644
index 000000000000..2faa61acb8d2
--- /dev/null
+++ b/app-emulation/frodo/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-emulation/frodo
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/frodo/ChangeLog,v 1.1 2003/04/17 09:31:22 absinthe Exp $
+
+*frodo-4.1 (17 Apr 2003)
+
+ 17 Apr 2003; Dylan Carlson <absinthe@gentoo.org> frodo-4.1.ebuild,
+ files/frodo-4.1-gentoo.diff:
+ Initial import. This build isn't the cleanest thing, but it's mostly
+ functional. I need some volunteers to help test and improve it. Please
+ send in bug reports and patches to http://bugs.gentoo.org.
+
+ x86 ppc and sparc masked for testing.
diff --git a/app-emulation/frodo/files/digest-frodo-4.1 b/app-emulation/frodo/files/digest-frodo-4.1
index 0ef9655b7951..43b02e20e0dd 100644
--- a/app-emulation/frodo/files/digest-frodo-4.1
+++ b/app-emulation/frodo/files/digest-frodo-4.1
@@ -1,3 +1,3 @@
MD5 628e1ba170ad4c5ef64e210f5782a5a5 /files/frodo-4.1-gentoo.diff 2486
-MD5 f0cbf25bb00e9df11af50e4999a1b66f /frodo-4.1.ebuild 4227
+MD5 e23340bcf452fe2ad1b320eeae85a16a /frodo-4.1.ebuild 4234
MD5 095b9f21c03204cc13f7f249e8866cd9 FrodoV4_1b.Src.tar.gz 377002
diff --git a/app-emulation/frodo/files/frodo-4.1-gentoo.diff b/app-emulation/frodo/files/frodo-4.1-gentoo.diff
new file mode 100644
index 000000000000..97591fd6e66f
--- /dev/null
+++ b/app-emulation/frodo/files/frodo-4.1-gentoo.diff
@@ -0,0 +1,83 @@
+--- configure.in.orig 2003-04-17 03:59:57.000000000 -0400
++++ configure.in 2003-04-17 04:00:28.000000000 -0400
+@@ -10,11 +10,6 @@
+ AC_PROG_CPP
+ AC_PROG_MAKE_SET
+
+-dnl Don't want the default "-O2 -g" that autoconf uses for gcc.
+-if [[ x"$GXX" = "xyes" ]]; then
+- CFLAGS="-O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format"
+-fi
+-
+ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
+ UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
+
+--- C64_x.i.orig 2003-04-17 04:20:41.000000000 -0400
++++ C64_x.i 2003-04-17 04:21:03.000000000 -0400
+@@ -100,7 +100,7 @@
+ gui = 0;
+ #else
+ // try to start up Tk gui.
+- gui = new CmdPipe("wish", "TkGui.tcl");
++ gui = new CmdPipe("wish", "/usr/bin/TkGui.tcl");
+ if (gui) {
+ if (gui->fail) {
+ delete gui; gui = 0;
+--- main.cpp.orig 2003-04-17 04:32:24.000000000 -0400
++++ main.cpp 2003-04-17 04:33:20.000000000 -0400
+@@ -24,10 +24,10 @@
+ #define CHAR_ROM_FILE "FrodoRsrc:Char_ROM"
+ #define FLOPPY_ROM_FILE "FrodoRsrc:1541_ROM"
+ #else
+-#define BASIC_ROM_FILE "Basic ROM"
+-#define KERNAL_ROM_FILE "Kernal ROM"
+-#define CHAR_ROM_FILE "Char ROM"
+-#define FLOPPY_ROM_FILE "1541 ROM"
++#define BASIC_ROM_FILE "/usr/share/frodo/Basic ROM"
++#define KERNAL_ROM_FILE "/usr/share/frodo/Kernal ROM"
++#define CHAR_ROM_FILE "/usr/share/frodo/Char ROM"
++#define FLOPPY_ROM_FILE "/usr/share/frodo/1541 ROM"
+ #endif
+
+
+--- Prefs.cpp.orig 2003-04-17 04:34:05.000000000 -0400
++++ Prefs.cpp 2003-04-17 04:38:07.000000000 -0400
+@@ -25,7 +25,7 @@
+
+ Prefs::Prefs()
+ {
+- NormalCycles = 63;
++ NormalCycles = 3;
+ BadLineCycles = 23;
+ CIACycles = 63;
+ FloppyCycles = 64;
+@@ -39,7 +39,7 @@
+ for (int i=0; i<4; i++)
+ DriveType[i] = DRVTYPE_DIR;
+
+- strcpy(DrivePath[0], "64prgs");
++ strcpy(DrivePath[0], "/usr/share/frodo/64prgs");
+ strcpy(DrivePath[1], "");
+ strcpy(DrivePath[2], "");
+ strcpy(DrivePath[3], "");
+--- TkGui.tcl.orig 2003-04-17 04:41:53.000000000 -0400
++++ TkGui.tcl 2003-04-17 04:42:45.000000000 -0400
+@@ -9,15 +9,15 @@
+
+ proc defaults {} {
+ global pref
+- set pref(NormalCycles) "63"
++ set pref(NormalCycles) "3"
+ set pref(BadLineCycles) "23"
+ set pref(CIACycles) "63"
+ set pref(FloppyCycles) "64"
+ set pref(SkipFrames) "4"
+ set pref(DriveType8) "DIR"
+- set pref(DrivePath8) "./64prgs"
++ set pref(DrivePath8) "~/64prgs"
+ set pref(DriveType9) "D64"
+- set pref(DrivePath9) "./disk1.d64"
++ set pref(DrivePath9) "~/disk1.d64"
+ set pref(DriveType10) "DIR"
+ set pref(DrivePath10) ""
+ set pref(DriveType11) "DIR"
diff --git a/app-emulation/frodo/frodo-4.1.ebuild b/app-emulation/frodo/frodo-4.1.ebuild
new file mode 100644
index 000000000000..16e4e1874da0
--- /dev/null
+++ b/app-emulation/frodo/frodo-4.1.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/frodo/frodo-4.1.ebuild,v 1.1 2003/04/17 09:31:22 absinthe Exp $
+
+
+S="${WORKDIR}/Frodo-4.1b"
+DESCRIPTION="An excellent Commodore 64 Emulator"
+SRC_URI="http://iphcip1.physik.uni-mainz.de/~cbauer/FrodoV4_1b.Src.tar.gz"
+HOMEPAGE="http://www.uni-mainz.de/~bauec002/FRMain.html"
+
+DEPEND=">=media-libs/libsdl-1.2
+ sys-devel/autoconf
+ dev-lang/tcl
+ dev-lang/tk"
+IUSE=""
+SLOT="0"
+LICENSE="Frodo"
+KEYWORDS="~x86 ~sparc ~ppc"
+
+src_compile() {
+ cd ${S}
+ export CFLAGS="${CFLAGS} -DX_USE_SHM"
+ mv TkGui.tcl ${S}/Src
+ cd ${S}/Src
+ epatch ${FILESDIR}/${PN}-${PV}-gentoo.diff
+ rm configure
+ autoconf
+ econf || die
+ emake || die
+}
+
+src_install () {
+ cd ${S}/Src
+ dobin Frodo FrodoPC FrodoSC TkGui.tcl
+ cd ${S}
+ dodir /usr/share/${PN}
+ insinto /usr/share/${PN}
+ doins \
+ "1541 ROM" \
+ "Basic ROM" \
+ "Char ROM" \
+ "Kernal ROM"
+ dodir /usr/share/${PN}/64prgs
+ cd ${S}/64prgs
+ insinto /usr/share/${PN}/64prgs
+ doins \
+ 3fff \
+ colorbars \
+ d011h3 \
+ dadb \
+ de00all \
+ dycp \
+ fld \
+ lrborder \
+ sprsync \
+ stretch \
+ tech-tech \
+ text26
+ dohtml -r ${S}/Docs/*.html
+}
+
+pkg_postinst () {
+einfo " "
+einfo " READ THE DOCS! The documentation can be found at: "
+einfo " /usr/share/doc/${PN}-${PV}/html/ "
+einfo " "
+einfo " Getting this program to work requires some experimentation with the "
+einfo " settings. The three executables you can use are: "
+einfo " "
+einfo " Frodo (normal) "
+einfo " FrodoPC (faster) "
+einfo " FrodoSC (slower than the other two, but most compatible) "
+einfo " "
+einfo " We recommend that you run FrodoSC with the following settings: "
+einfo " "
+einfo " 1. Limit Speed = enabled "
+einfo " 2. Map / = enabled "
+einfo " 3. Emulate 1541 CPU (for copy-protected games) "
+einfo " 4. Sprites, Sprite Collisions = enabled "
+einfo " 5. SID Emulation = Digital "
+einfo " 6. SID Filters = enabled "
+einfo " "
+einfo " You will probably need to occasionally change these settings "
+einfo " depending upon which programs you try to run, or you may need to run"
+einfo " Frodo or FrodoPC if your machine is too slow. "
+einfo " "
+einfo " Most Commodore 64 applications load by first pointing to the D64 "
+einfo " file in preferences, then: "
+einfo " LOAD "*",8,1 "
+einfo " then: "
+einfo " RUN "
+einfo " "
+einfo " Remember that the keyboard is mapped to the C64 layout. So to type "
+einfo " the first command above you would use the following sequence: "
+einfo " LOAD [SHIFT-2][RIGHT-BRACKET][SHIFT-2],8,1 "
+einfo " "
+sleep 10
+einfo " "
+einfo " For a complete source of C64 programs, try visiting: "
+einfo " http://www.c64unlimited.net/ "
+einfo " "
+sleep 5
+}