summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-09 16:28:07 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-09 16:28:07 +0000
commitae044aeba549da343d278a26bb72bac844e5a5e4 (patch)
treeb16ea879113ef2bd09bb78bb00e8338b088d3afb /games-emulation/atari800
parentNew package - rename. (diff)
downloadgentoo-2-ae044aeba549da343d278a26bb72bac844e5a5e4.tar.gz
gentoo-2-ae044aeba549da343d278a26bb72bac844e5a5e4.tar.bz2
gentoo-2-ae044aeba549da343d278a26bb72bac844e5a5e4.zip
welcome to games-emulation
Diffstat (limited to 'games-emulation/atari800')
-rw-r--r--games-emulation/atari800/ChangeLog45
-rw-r--r--games-emulation/atari800/Manifest17
-rw-r--r--games-emulation/atari800/atari800-1.2.2.ebuild98
-rw-r--r--games-emulation/atari800/atari800-1.2.5.ebuild97
-rw-r--r--games-emulation/atari800/atari800-1.3.0-r1.ebuild91
-rw-r--r--games-emulation/atari800/atari800-1.3.0.ebuild86
-rw-r--r--games-emulation/atari800/files/1.2.2/atari800.1661
-rw-r--r--games-emulation/atari800/files/1.2.2/atari800.cfg24
-rw-r--r--games-emulation/atari800/files/1.2.5/atari800.1661
-rw-r--r--games-emulation/atari800/files/1.2.5/atari800.cfg24
-rw-r--r--games-emulation/atari800/files/1.3.0/atari800.cfg24
-rw-r--r--games-emulation/atari800/files/atari800-1.2.2-gentoo.diff12
-rw-r--r--games-emulation/atari800/files/atari800-1.2.5-gentoo.diff46
-rw-r--r--games-emulation/atari800/files/atari800-1.3.0-security.patch73
-rw-r--r--games-emulation/atari800/files/digest-atari800-1.2.22
-rw-r--r--games-emulation/atari800/files/digest-atari800-1.2.52
-rw-r--r--games-emulation/atari800/files/digest-atari800-1.3.02
-rw-r--r--games-emulation/atari800/files/digest-atari800-1.3.0-r12
18 files changed, 1967 insertions, 0 deletions
diff --git a/games-emulation/atari800/ChangeLog b/games-emulation/atari800/ChangeLog
new file mode 100644
index 000000000000..c603614dd3f8
--- /dev/null
+++ b/games-emulation/atari800/ChangeLog
@@ -0,0 +1,45 @@
+# ChangeLog for app-emulation/atari800
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/ChangeLog,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+*atari800-1.3.0-r1 (02 Sep 2003)
+
+ 02 Sep 2003; Daniel Ahlberg <aliz@gentoo.org> atari800-1.3.0-r1.ebuild :
+ Security update.
+
+ 10 Jul 2003; Michael Sterrett <msterret@gentoo.org> atari800-1.3.0.ebuild,
+ files/1.3.0/atari800.cfg:
+ marked stable on everything; cleaned up the pkg_postinst(); error checking;
+ tidy
+
+ 26 Jun 2003; <msterret@gentoo.org> atari800-1.3.0.ebuild:
+ removed invalid KEYWORD sparc64
+
+*atari800-1.3.0 (24 Jun 2003)
+
+ 24 Jun 2003; Ryan Phillips <rphillips@gentoo.org> atari800-1.3.0.ebuild:
+ New version. Fixes #16619
+
+*atari800-1.2.5 (31 Jan 2003)
+
+ 03 Mar 2003; <vladimir@gentoo.org> atari800-1.2.5.ebuild:
+ Automated removal of remaining sparc64 KEYWORDS
+
+ 31 Jan 2003; Ryan Phillips <rphillips@gentoo.org> :
+ new version. Fixes #11605
+
+*atari800-1.2.2 (21 Jul 2002)
+
+ 23 Sep 2002; Mike Frysinger <vapier@gentoo.org> :
+ Updated SRC_URI to use mirror: and LICENSE to GPL-2
+
+ 21 Jul 2002; Stuart Bouyer <stubear@gentoo.org> atari800-1.2.2.ebuild:
+
+ Added KEYWORDS and SLOT to meet lintool and repoman QA.
+
+ 24 Feb 2002; Rob McMullen <robm@flipturn.org> atari800-1.2.2.ebuild:
+
+ Atari 8-bit emulator (400/800/1200/XL/XE etc.) that will be compiled
+ with SDL if 'sdl' appears in your USE statement, otherwise as an X11
+ app. SDL switches to fullscreen mode by default, so a 400x300 entry
+ into your XF86Config-4 file is recommended.
diff --git a/games-emulation/atari800/Manifest b/games-emulation/atari800/Manifest
new file mode 100644
index 000000000000..77700231d2f7
--- /dev/null
+++ b/games-emulation/atari800/Manifest
@@ -0,0 +1,17 @@
+MD5 46037dfe0663878ef107638761a375ee ChangeLog 1602
+MD5 c5bf64554932c20c82274ffa4da1e657 atari800-1.2.2.ebuild 3346
+MD5 80bb20c830cf67df6a06665facf5bda0 atari800-1.2.5.ebuild 3151
+MD5 7dc897613126ef739ca7335e3fa037b1 atari800-1.3.0.ebuild 2760
+MD5 d68b2f5be9ee4a4a8c0b2e8e03caa5e6 atari800-1.3.0-r1.ebuild 2847
+MD5 eb8a8b62973cd8789aad8dee8a839842 files/atari800-1.2.2-gentoo.diff 378
+MD5 51143eeb7bd76c8cca8a80bbf5ab7e88 files/atari800-1.2.5-gentoo.diff 1876
+MD5 39a9ab82d0c6639ee234c9d422aa6fb2 files/digest-atari800-1.2.2 119
+MD5 a6366b321577c3ea381f387be52f4212 files/digest-atari800-1.2.5 119
+MD5 f85f4f8f75bb8202fb9d720a73b99365 files/digest-atari800-1.3.0 119
+MD5 72addfdd20ffd541c060e56e25e1268f files/atari800-1.3.0-security.patch 2512
+MD5 f85f4f8f75bb8202fb9d720a73b99365 files/digest-atari800-1.3.0-r1 119
+MD5 1d6cdbf0913428f3ace81314e78fb9e5 files/1.2.2/atari800.1 11812
+MD5 888bd3ecb979f2095569f1dd8c95a2f8 files/1.2.2/atari800.cfg 449
+MD5 1d6cdbf0913428f3ace81314e78fb9e5 files/1.2.5/atari800.1 11812
+MD5 888bd3ecb979f2095569f1dd8c95a2f8 files/1.2.5/atari800.cfg 449
+MD5 888bd3ecb979f2095569f1dd8c95a2f8 files/1.3.0/atari800.cfg 449
diff --git a/games-emulation/atari800/atari800-1.2.2.ebuild b/games-emulation/atari800/atari800-1.2.2.ebuild
new file mode 100644
index 000000000000..03b961dc3a62
--- /dev/null
+++ b/games-emulation/atari800/atari800-1.2.2.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/atari800-1.2.2.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+DESCRIPTION="Atari 800 emulator"
+HOMEPAGE="http://atari800.sourceforge.net/"
+SRC_URI="mirror://sourceforge/atari800/${P}.tar.gz
+ mirror://sourceforge/atari800/xf25.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="sdl"
+
+DEPEND="virtual/x11
+ app-arch/unzip
+ sdl? ( >=media-libs/libsdl-1.2.0 )"
+RDEPEND="virtual/x11
+ sdl? ( >=media-libs/libsdl-1.2.0 )"
+
+# The atari800-1.2.2-gentoo.diff includes a fix for configure such
+# that configure will recognize linux as spit out by config.guess
+src_unpack() {
+ unpack ${A}
+ cd ${WORKDIR}
+ patch -p0 < ${FILESDIR}/${PF}-gentoo.diff || die
+}
+
+# The commands here in compile are taken almost verbatim from the
+# atari800.spec file included in the archive. We build the X11
+# version unless SDL is specified in make.conf
+src_compile() {
+ local target
+ target="x11"
+ use sdl && target="sdl"
+ cd src
+ ./configure --prefix=/usr --target=$target --disable-VERY_SLOW \
+ --disable-NO_CYCLE_EXACT \
+ --enable-CRASH_MENU --enable-MONITOR_BREAK \
+ --enable-MONITOR_HINTS --enable-MONITOR_ASSEMBLER \
+ --enable-COMPILED_PALETTE --enable-SNAILMETER \
+ --enable-USE_CURSORBLOCK --enable-LINUX_JOYSTICK \
+ --enable-SOUND --disable-NO_VOL_ONLY --disable-NO_CONSOL_SOUND \
+ --disable-SERIO_SOUND --disable-NOSNDINTER --enable-CLIP \
+ --disable-STEREO --enable-BUFFERED_LOG --enable-SET_LED \
+ --disable-NO_LED_ON_SCREEN --disable-SVGA_SPEEDUP --disable-JOYMOUSE
+ emake
+}
+
+# The makefile doesn't supply an install routine, so we have to do it
+# ourselves.
+src_install () {
+ into /usr
+ dodir /usr/bin /usr/share/man/man1 /usr/share/atari800
+ dobin src/atari800
+ doman ${FILESDIR}/${PVR}/atari800.1
+ dodoc COPYING README.1ST DOC/USAGE DOC/README DOC/NEWS DOC/FAQ DOC/CREDITS DOC/BUGS DOC/LPTjoy.txt DOC/cart.txt DOC/pokeysnd.txt
+ insinto /usr/share/atari800
+ doins ${WORKDIR}/*.ROM
+
+ # Basic config file for /etc directory. An atari800.cfg file
+ # in the current directory will be loaded instead of the
+ # global file, if it exists. Run "atari800 -configure" to
+ # have the emulator prompt for new values
+ insinto /etc
+ doins ${FILESDIR}/${PVR}/atari800.cfg
+}
+
+pkg_postinst() {
+ if [ "`use sdl`" ]
+ then
+ echo ' '
+ echo ' '
+ echo 'The emulator has been compiled using the SDL libraries. By default,'
+ echo 'atari800 switches to fullscreen mode, so a 400x300 entry in your'
+ echo 'XF86Config-4 file is recommended. Otherwise, the emulated Atari'
+ echo 'screen is postage-stamp sized in the middle of your display.'
+ echo ' '
+ echo 'For example, in the "Screen" section of your /etc/XF86Config-4 file,'
+ echo 'add the entry "400x300" to the end of the list of modes:'
+ echo ' '
+ echo ' Section "Screen"'
+ echo ' [...]'
+ echo ' '
+ echo ' Subsection "Display"'
+ echo ' Depth 16'
+ echo ' Modes "1600x1200" "1024x768" "400x300"'
+ echo ' ViewPort 0 0'
+ echo ' EndSubsection'
+ echo ' EndSection'
+ echo ' '
+ echo 'You should not need to specify a modeline for this mode, since in most'
+ echo 'cases it is a standard mode calculated by the X server.'
+ echo ' '
+ echo ' '
+ echo ' '
+ fi
+}
diff --git a/games-emulation/atari800/atari800-1.2.5.ebuild b/games-emulation/atari800/atari800-1.2.5.ebuild
new file mode 100644
index 000000000000..4bb75bb31d3f
--- /dev/null
+++ b/games-emulation/atari800/atari800-1.2.5.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/atari800-1.2.5.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+DESCRIPTION="Atari 800 emulator"
+HOMEPAGE="http://atari800.sourceforge.net/"
+SRC_URI="mirror://sourceforge/atari800/${P}.tar.gz
+ mirror://sourceforge/atari800/xf25.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ~ppc ~sparc ~alpha"
+IUSE="sdl"
+
+DEPEND="virtual/x11
+ app-arch/unzip
+ sdl? ( >=media-libs/libsdl-1.2.0 )"
+RDEPEND="virtual/x11
+ sdl? ( >=media-libs/libsdl-1.2.0 )"
+
+# The atari800-1.2.5-gentoo.diff backs out a "fix" in 1.2.5 over 1.2.4
+# that was supposed to improve sound quality. However, in my testing on
+# two different machines and even ALSA vs. normal sound support, the 1.2.5
+# version was far worse.
+src_unpack() {
+ unpack ${A}
+ cd ${WORKDIR}
+ patch -p0 < ${FILESDIR}/${PF}-gentoo.diff || die
+}
+
+# The configure script in 1.2.5 changed syntax, but the change wasn't
+# updated in the atari800.spec file as in the previous versions.
+src_compile() {
+ local target
+ target="x11"
+ use sdl && target="sdl"
+
+ local myconf
+ myconf="--enable-crashmenu --enable-break --enable-hints \
+ --enable-asm --enable-cursorblk --enable-led --enable-displayled \
+ --enable-sndclip --enable-linuxjoy --enable-sound"
+
+ cd src
+ ./configure --prefix=/usr --target=$target ${myconf}
+ emake
+ mv atari800.man atari800.1
+}
+
+# The makefile doesn't supply an install routine, so we have to do it
+# ourselves.
+src_install () {
+ into /usr
+ dodir /usr/bin /usr/share/man/man1 /usr/share/atari800
+ dobin src/atari800
+ doman src/atari800.1
+ dodoc COPYING README.1ST DOC/USAGE DOC/README DOC/NEWS DOC/FAQ DOC/CREDITS DOC/BUGS DOC/LPTjoy.txt DOC/cart.txt DOC/pokeysnd.txt
+ insinto /usr/share/atari800
+ doins ${WORKDIR}/*.ROM
+
+ # Basic config file for /etc directory. An atari800.cfg file
+ # in the current directory will be loaded instead of the
+ # global file, if it exists. Run "atari800 -configure" to
+ # have the emulator prompt for new values
+ insinto /etc
+ doins ${FILESDIR}/${PVR}/atari800.cfg
+}
+
+pkg_postinst() {
+ if [ "`use sdl`" ]
+ then
+ echo ' '
+ echo ' '
+ echo 'The emulator has been compiled using the SDL libraries. By default,'
+ echo 'atari800 switches to fullscreen mode, so a 400x300 entry in your'
+ echo 'XF86Config-4 file is recommended. Otherwise, the emulated Atari'
+ echo 'screen is postage-stamp sized in the middle of your display.'
+ echo ' '
+ echo 'For example, in the "Screen" section of your /etc/XF86Config-4 file,'
+ echo 'add the entry "400x300" to the end of the list of modes:'
+ echo ' '
+ echo ' Section "Screen"'
+ echo ' [...]'
+ echo ' '
+ echo ' Subsection "Display"'
+ echo ' Depth 16'
+ echo ' Modes "1600x1200" "1024x768" "400x300"'
+ echo ' ViewPort 0 0'
+ echo ' EndSubsection'
+ echo ' EndSection'
+ echo ' '
+ echo 'You should not need to specify a modeline for this mode, since in most'
+ echo 'cases it is a standard mode calculated by the X server.'
+ echo ' '
+ echo ' '
+ echo ' '
+ fi
+}
diff --git a/games-emulation/atari800/atari800-1.3.0-r1.ebuild b/games-emulation/atari800/atari800-1.3.0-r1.ebuild
new file mode 100644
index 000000000000..e28a1820b058
--- /dev/null
+++ b/games-emulation/atari800/atari800-1.3.0-r1.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/atari800-1.3.0-r1.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+DESCRIPTION="Atari 800 emulator"
+HOMEPAGE="http://atari800.sourceforge.net/"
+SRC_URI="mirror://sourceforge/atari800/${P}.tar.gz
+ mirror://sourceforge/atari800/xf25.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc sparc alpha"
+IUSE="sdl"
+
+RDEPEND="virtual/x11
+ sdl? ( >=media-libs/libsdl-1.2.0 )"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+src_unpack() {
+ unpack ${A} ; cd ${S}/src
+ epatch ${FILESDIR}/${P}-security.patch
+}
+
+# The configure script in 1.2.5 changed syntax, but the change wasn't
+# updated in the atari800.spec file as in the previous versions.
+src_compile() {
+ local target
+ target="x11"
+ use sdl && target="sdl"
+
+ local myconf
+ myconf="--enable-crashmenu --enable-break --enable-hints \
+ --enable-asm --enable-cursorblk --enable-led --enable-displayled \
+ --enable-sndclip --enable-linuxjoy --enable-sound"
+
+ cd src
+ ./configure --prefix=/usr --target=$target ${myconf}
+ emake || die "emake failed"
+ mv atari800.man atari800.1
+}
+
+# The makefile doesn't supply an install routine, so we have to do it
+# ourselves.
+src_install () {
+ into /usr
+ dodir /usr/bin /usr/share/man/man1 /usr/share/atari800
+ dobin src/atari800
+ doman src/atari800.1
+ dodoc COPYING README.1ST DOC/USAGE DOC/README DOC/NEWS DOC/FAQ DOC/CREDITS DOC/BUGS DOC/LPTjoy.txt DOC/cart.txt DOC/pokeysnd.txt
+ insinto /usr/share/atari800
+ doins ${WORKDIR}/*.ROM
+
+ # Basic config file for /etc directory. An atari800.cfg file
+ # in the current directory will be loaded instead of the
+ # global file, if it exists. Run "atari800 -configure" to
+ # have the emulator prompt for new values
+ insinto /etc
+ doins ${FILESDIR}/${PV}/atari800.cfg
+}
+
+pkg_postinst() {
+ if [ "`use sdl`" ] ; then
+ echo
+ echo
+ einfo 'The emulator has been compiled using the SDL libraries. By default,'
+ einfo 'atari800 switches to fullscreen mode, so a 400x300 entry in your'
+ einfo 'XF86Config-4 file is recommended. Otherwise, the emulated Atari'
+ einfo 'screen is postage-stamp sized in the middle of your display.'
+ echo
+ einfo 'For example, in the "Screen" section of your /etc/XF86Config-4 file,'
+ einfo 'add the entry "400x300" to the end of the list of modes:'
+ echo
+ einfo ' Section "Screen"'
+ einfo ' [...]'
+ einfo
+ einfo ' Subsection "Display"'
+ einfo ' Depth 16'
+ einfo ' Modes "1600x1200" "1024x768" "400x300"'
+ einfo ' ViewPort 0 0'
+ einfo ' EndSubsection'
+ einfo ' EndSection'
+ echo
+ einfo 'You should not need to specify a modeline for this mode,'
+ einfo 'since in most cases it is a standard mode calculated by'
+ einfo 'the X server.'
+ echo
+ echo
+ echo
+ fi
+}
diff --git a/games-emulation/atari800/atari800-1.3.0.ebuild b/games-emulation/atari800/atari800-1.3.0.ebuild
new file mode 100644
index 000000000000..c2d79061ee17
--- /dev/null
+++ b/games-emulation/atari800/atari800-1.3.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/atari800-1.3.0.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+DESCRIPTION="Atari 800 emulator"
+HOMEPAGE="http://atari800.sourceforge.net/"
+SRC_URI="mirror://sourceforge/atari800/${P}.tar.gz
+ mirror://sourceforge/atari800/xf25.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc sparc alpha"
+IUSE="sdl"
+
+RDEPEND="virtual/x11
+ sdl? ( >=media-libs/libsdl-1.2.0 )"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+# The configure script in 1.2.5 changed syntax, but the change wasn't
+# updated in the atari800.spec file as in the previous versions.
+src_compile() {
+ local target
+ target="x11"
+ use sdl && target="sdl"
+
+ local myconf
+ myconf="--enable-crashmenu --enable-break --enable-hints \
+ --enable-asm --enable-cursorblk --enable-led --enable-displayled \
+ --enable-sndclip --enable-linuxjoy --enable-sound"
+
+ cd src
+ ./configure --prefix=/usr --target=$target ${myconf}
+ emake || die "emake failed"
+ mv atari800.man atari800.1
+}
+
+# The makefile doesn't supply an install routine, so we have to do it
+# ourselves.
+src_install () {
+ into /usr
+ dodir /usr/bin /usr/share/man/man1 /usr/share/atari800
+ dobin src/atari800
+ doman src/atari800.1
+ dodoc COPYING README.1ST DOC/USAGE DOC/README DOC/NEWS DOC/FAQ DOC/CREDITS DOC/BUGS DOC/LPTjoy.txt DOC/cart.txt DOC/pokeysnd.txt
+ insinto /usr/share/atari800
+ doins ${WORKDIR}/*.ROM
+
+ # Basic config file for /etc directory. An atari800.cfg file
+ # in the current directory will be loaded instead of the
+ # global file, if it exists. Run "atari800 -configure" to
+ # have the emulator prompt for new values
+ insinto /etc
+ doins ${FILESDIR}/${PVR}/atari800.cfg
+}
+
+pkg_postinst() {
+ if [ "`use sdl`" ] ; then
+ echo
+ echo
+ einfo 'The emulator has been compiled using the SDL libraries. By default,'
+ einfo 'atari800 switches to fullscreen mode, so a 400x300 entry in your'
+ einfo 'XF86Config-4 file is recommended. Otherwise, the emulated Atari'
+ einfo 'screen is postage-stamp sized in the middle of your display.'
+ echo
+ einfo 'For example, in the "Screen" section of your /etc/XF86Config-4 file,'
+ einfo 'add the entry "400x300" to the end of the list of modes:'
+ echo
+ einfo ' Section "Screen"'
+ einfo ' [...]'
+ einfo
+ einfo ' Subsection "Display"'
+ einfo ' Depth 16'
+ einfo ' Modes "1600x1200" "1024x768" "400x300"'
+ einfo ' ViewPort 0 0'
+ einfo ' EndSubsection'
+ einfo ' EndSection'
+ echo
+ einfo 'You should not need to specify a modeline for this mode,'
+ einfo 'since in most cases it is a standard mode calculated by'
+ einfo 'the X server.'
+ echo
+ echo
+ echo
+ fi
+}
diff --git a/games-emulation/atari800/files/1.2.2/atari800.1 b/games-emulation/atari800/files/1.2.2/atari800.1
new file mode 100644
index 000000000000..3484b327e6f2
--- /dev/null
+++ b/games-emulation/atari800/files/1.2.2/atari800.1
@@ -0,0 +1,661 @@
+.TH ATARI800 1 "26 February 2002"
+.SH NAME
+atari800 \- Atari 800 Emulator, Version 1.2.2
+.SH SYNOPSIS
+\fBatari800\fP [options] [diskfiles...]
+.SH DESCRIPTION
+\fIatari800\fP emulates the Atari 800, Atari 800 XL, Atari 130 XE and
+Atari 5200 Games System.
+.SS Options
+.TP
+\fB-help
+Print emulator version.
+.TP
+\fB-v
+Print emulator version.
+.TP
+\fB-verbose
+Display framerate when exiting
+.TP
+\fB-configure
+Starts emulator in run-time configuration mode.
+.TP
+\fB-config filename
+Specify an alternative configuration filename.
+
+.TP
+\fB-osa_rom filename
+Path to file containing Atari Rev.A Operating System.
+Used to override paths defined at compile time.
+.TP
+\fB-osb_rom filename
+Path to file containing Atari Rev.B Operating System.
+Used to override paths defined at compile time.
+.TP
+\fB-xlxe_rom filename
+Path to file containing Atari XL/XE Operating System.
+Used to override paths defined at compile time.
+.TP
+\fB-5200_rom filename
+Path to file containing Atari 5200 Games System ROM.
+Used to override paths defined at compile time.
+.TP
+\fB-basic_rom filename
+Path to file containing Atari BASIC ROM.
+Used to override paths defined at compile time.
+
+.TP
+\fB-xl
+Emulate Atari 800 XL.
+.TP
+\fB-xe
+Emulate Atari 130 XE - but Antic accesses the same bank the CPU is using.
+.TP
+\fB-320xe
+Emulate Atari 320 XE (Compy Shop)
+.TP
+\fB-rambo
+Emulate Atari 320 XE (Rambo)
+.TP
+\fB-5200
+Emulate Atari 5200 - Games controller emulation has not been implemented yet!
+.TP
+\fB-emuos
+Use EmuOS
+
+.TP
+\fB-a
+Use Atari OS/A.
+.TP
+\fB-b
+Use Atari OS/B.
+.TP
+\fB-c
+Enable RAM between $c000 and $d000.
+
+.TP
+\fB-pal
+Emulate PAL TV mode
+.TP
+\fB-ntsc
+Emulate NTSC TV mode
+
+.TP
+\fB-nobasic
+Used to disable Basic when starting the emulator in XL/XE mode.
+Simulates the Option key being held down during system boot.
+.TP
+\fB-basic
+Turn on Atari BASIC ROM
+
+.TP
+\fB-cart <filename>
+Insert cartridge (CART or raw format)
+.TP
+\fB-run <filename>
+Run Atari executable file (EXE, COM, XEX)
+.TP
+\fB-tape <filename>
+Attach cassette image (CAS format or raw file)
+.TP
+\fB-boottape <filename>
+Attach cassette image and boot it
+
+.TP
+\fB-nopatch
+Normally the OS is patched giving very fast I/O. This options prevents
+the patch from being applied so that the OS accesses the serial port
+hardware directly. This option will probably never be needed since
+programs that access the serial hardware should work even if the OS
+has been patched.
+.TP
+\fB-nopatchall
+Don't patch OS at all, H: and P: devices won't work
+
+.TP
+\fB-H1 <path>
+Set path for H1: device
+.TP
+\fB-H2 <path>
+Set path for H2: device
+.TP
+\fB-H3 <path>
+Set path for H3: device
+.TP
+\fB-H4 <path>
+Set path for H4: device
+.TP
+\fB-hdreadonly <onoff>
+Enable (1) or disable (0) read-only mode for H: device
+.TP
+\fB-devbug
+Put debugging messages for H: and P: devices in log file
+
+.TP
+\fB-rtime <onoff>
+Enable (1) or disable (0) R-Time 8 emulation
+
+.TP
+\fB-mouse off
+Do not use mouse
+.TP
+\fB-mouse pad
+Emulate paddles
+.TP
+\fB-mouse touch
+Emulate Atari Touch Tablet
+.TP
+\fB-mouse koala
+Emulate Koala Pad
+.TP
+\fB-mouse pen
+Emulate Light Pen
+.TP
+\fB-mouse gun
+Emulate Light Gun
+.TP
+\fB-mouse amiga
+Emulate Amiga mouse
+.TP
+\fB-mouse st
+Emulate Atari ST mouse
+.TP
+\fB-mouse trak
+Emulate Atari Trak-Ball
+.TP
+\fB-mouse joy
+Emulate joystick using mouse
+.TP
+\fB-mouseport <num>
+Set mouse port 1-4 (default 1)
+.TP
+\fB-mousespeed <num>
+Set mouse speed 1-9 (default 3)
+
+.TP
+\fB-refresh
+Controls screen refresh rate. A numerical value follows this option
+which specifies how many emulated screen updates are required before
+the actual screen is updated. This value effects the speed of the
+emulation: A higher value results in faster CPU emulation but a
+less frequently updated screen.
+
+.TP
+\fB-artif <mode>
+Set artifacting mode 0-4 (0 = disable)
+.TP
+\fB-palette <filename>
+Read Atari colors from ACT file
+.TP
+\fB-black <num>
+Set black level 0-255
+.TP
+\fB-while <num>
+Set white level 0-255
+.TP
+\fB-colors <num>
+Set color intensity
+.TP
+\fB-colshift <num>
+Set color shift
+.TP
+\fB-realpal
+Use palette created by Zdenek Eisenhammer
+.TP
+\fB-oldpal
+Use old Atari800 palette
+.TP
+\fB-foxpal
+Use palette created by Piotr Fusik
+
+.TP
+\fB-sound
+Enable sound
+.TP
+\fB-nosound
+Disable sound
+.TP
+\fB-dsprate <freq>
+Set mixing frequency (Hz)
+.TP
+\fB-snddelay <time>
+Set sound delay (milliseconds)
+
+
+.SS Curses Options
+.TP
+\fB-left
+Use columns 0 to 39.
+.TP
+\fB-central
+Use columns 20 to 59.
+.TP
+\fB-right
+Use columns 40 to 79.
+.TP
+\fB-wide1
+Use columns 0 to 79. In this mode only the even character positions
+are used. The odd locations are filled with spaces.
+.TP
+\fB-wide2
+Use columns 0 to 79. This mode is similar to \fB-wide1\fP except that
+the spaces are in reverse video if the previous character was also
+in reverse video.
+
+
+.SS Falcon Options
+.TP
+\fB-interlace <x>
+Generate Falcon screen only every x frame
+.TP
+\fB-videl
+Direct VIDEL programming (Falcon/VGA only)
+.TP
+\fB-double
+Double the screen size on NOVA
+.TP
+\fB-delta
+Delta screen output (differences only)
+
+.SS SVGALIB Options
+.TP
+\fB-interlace
+Enable screen interlace option
+
+
+.SS DOS/VGA Options
+.TP
+\fB-interlace
+Generate screen with interlace
+.TP
+\fB-video <mode>
+0=320x200, 1=320x240, 2=320x480 interlaced with black lines, 3=320x480 interlaced with darker lines
+.TP
+\fB-novesa
+Do not use VESA 2 video modes
+.TP
+\fB-vretrace
+Use vertical retrace control
+
+.TP
+\fB-LPTjoy1
+Read joystick connected to LPT1
+.TP
+\fB-LPTjoy2
+Read joystick connected to LPT2
+.TP
+\fB-LPTjoy3
+Read joystick connected to LPT3
+.TP
+\fB-joyswap
+Swap joysticks
+
+.TP
+\fB-keyboard 0
+PC keyboard layout
+.TP
+\fB-keyboard 1
+Atari keyboard layout
+
+
+.SS X11 Options
+.TP
+\fB-small
+Runs the emulator in a small window where each Atari 800 pixel is
+represented by one X Window pixel.
+.TP
+\fB-large
+Runs the emulator in a large window where each Atari 800 pixel is
+represented by a 2x2 X Window rectange. This mode is selected by
+default.
+.TP
+\fB-huge
+Runs the emulator in a huge window where each Atari 800 pixel is
+represented by a 3x3 X Window rectange.
+.TP
+\fB-clip_x number-of-pixels
+Sets left offset for clipping.
+.TP
+\fB-clip_width number-of-pixels
+Sets the width of the clipping-area.
+.TP
+\fB-clip_y number-of-pixels
+Sets top offset for clipping.
+.TP
+\fB-clip_height number-of-pixels
+Sets the height of the clipping-area.
+.TP
+\fB-private_cmap
+Tells the Emulator to use its own private colormap.
+.TP
+\fB-fps
+Show framerate
+.TP
+\fB-sio
+Show SIO monitor
+.TP
+\fB-x11bug
+Enable debug code in atari_x11.c
+
+.TP
+\fB-keypad
+Keypad mode
+
+.SS SDL Options
+.PP
+No SDL-specific options at this time
+
+.PD 0
+
+.SH KEYBOARD, JOYSTICK & PADDLE CONTROLS
+
+.SS Curses
+.TP
+\fBF1
+Built in User Interface
+.TP
+\fBF2
+Option
+.TP
+\fBF3
+Select
+.TP
+\fBF4
+Start
+.TP
+\fBF5
+Warm Reset
+.TP
+\fBF6
+Toggle RAM/ROM between 0x8000 and 0xbfff (PIL Mode)
+.TP
+\fBF7
+Break Key
+.TP
+\fBF8
+Cold Reset
+.TP
+\fBF9
+Exit Emulator
+.TP
+\fBF10
+---
+.TP
+\fBF11
+---
+.TP
+\fBF12
+---
+
+.PP
+Some control have special meaning within curses and should not be used.
+
+ Avoid Control + C, J, M, Q, S and Z
+
+The remaining control characters can be typed. Control characters are
+displayed on the screen with the associated upper case character in bold.
+
+No Joystick or Paddle support in this version.
+
+.SS Falcon
+.TP
+\fBF1
+Built in User Interface
+.TP
+\fBF2
+Option
+.TP
+\fBF3
+Select
+.TP
+\fBF4
+Start
+.TP
+\fBF5
+Warm Reset
+.TP
+\fBShft+F5
+Cold Reset
+.TP
+\fBF6
+Toggle RAM/ROM between 0x8000 and 0xbfff (PIL Mode)
+.TP
+\fBF7
+Break Key
+.TP
+\fBF8
+Enter monitor
+.TP
+\fBF9
+EXIT Emulator
+.TP
+\fBHelp
+HELP key (800XL/130XE)
+
+.PP
+Joystick 0 is operated by the numeric keypad (make sure that the numeric
+keypad has been enabled).
+
+ 7 8 9
+ \\|/
+ 4 5 6
+ /|\\
+ 1 2 3
+
+ And 0 is the fire key.
+
+At the moment it is not possible to use a Paddle with this version.
+
+.SS SVGALIB
+.TP
+\fBF1
+Built in User Interface
+.TP
+\fBF2
+Option
+.TP
+\fBF3
+Select
+.TP
+\fBF4
+Start
+.TP
+\fBF5
+Warm Reset
+.TP
+\fBShft+F5
+Cold Reset
+.TP
+\fBF6
+Toggle RAM/ROM between 0x8000 and 0xbfff (PIL Mode)
+.TP
+\fBF7
+Break Key
+.TP
+\fBF8
+Enter monitor
+.TP
+\fBF9
+Exit Emulator
+.TP
+\fBF10
+Save Screenshot (+Shift=interlaced screenshot)
+.TP
+\fBF11
+Joystick Autofire On/Off
+.TP
+\fBF12
+---
+.TP
+\fB`
+This character replaces the CAPS lock key because I have not found a
+way of detecting it. A future solution maybe to automatically issue a
+CAPS lock key when a transition is made between lower and upper case
+keys. i.e. If svgalib return 'a' followed by 'A' it could send 'a'
+'CAPS' 'A' to the Atari.
+
+.PP
+The CTRL+SHIFT keyboard combinations are implemented using the left
+ALT key.
+
+Joystick 0 is operated by the numeric keypad (make sure that the numeric
+keypad has been enabled).
+
+ 7 8 9
+ \\|/
+ 4 5 6
+ /|\\
+ 1 2 3
+
+ And 0 is the fire key.
+
+At the moment it is not possible to use a Paddle with the SVGALIB
+version.
+
+.SS DOS/VGA
+.TP
+\fBF1
+Built in User Interface
+.TP
+\fBF2
+Option Key
+.TP
+\fBF3
+Select Key
+.TP
+\fBF4
+Start Key
+.TP
+\fBF5
+Warm Reset
+.TP
+\fBShft+F5
+Cold Reset
+.TP
+\fBF6
+PIL Mode (Atari800) / Help Key (XL/XE)
+.TP
+\fBF7
+Switch between Emulated joysticks mode and Normal keyboard
+.TP
+\fBF8
+Enter monitor
+.TP
+\fBF9
+EXIT Emulator
+.TP
+\fBF10
+Save Screenshot (+Shift=interlaced screenshot)
+
+.PP
+Control-C terminates the program; to type Control-c, type ALT-c instead.
+` is used as the Atari-Invers key
+
+Joysticks can be either real one connected to game port, or old 8-bit
+digital CX-40 joysticks connected to parallel port or keyboard joysticks
+(try out JOYCFG.EXE).
+
+At the moment it is not possible to use a Paddle with this version.
+
+.SS X11
+.TP
+\fBF1
+Built in User Interface
+.TP
+\fBF2
+Option
+.TP
+\fBF3
+Select
+.TP
+\fBF4
+Start
+.TP
+\fBF5
+Warm Reset
+.TP
+\fBShft+F5
+Cold Reset
+.TP
+\fBF6
+Toggle RAM/ROM between 0x8000 and 0xbfff (PIL Mode)
+.TP
+\fBF7
+Break Key
+.TP
+\fBF8
+---
+.TP
+\fBF9
+Exit Emulator
+.TP
+\fBF10
+---
+.TP
+\fBF11
+Vertical Positioning: Scroll Screen Downwards
+.TP
+\fBF12
+Vertical Positioning: Scroll Screen Upwards
+.TP
+\fBALT
+Atari Key (Either ALT Key will work)
+
+.PP
+Joystick 0 is operated by the mouse position relative to the center of
+the screen. The mouse button acts as the trigger. On Linux, standard
+joysticks are also supported.
+
+Paddle 0 is operated by moving the mouse pointer across the window.
+
+.SS SDL
+.TP
+\fBLALT+f
+switching FULLSCREEN (probably doesn't work in Windows)
+.TP
+\fBLALT+g
+switching WIDTH_MODE (so you can set 320x240)
+.TP
+\fBLALT+b
+switching BLACK-AND-WHITE (feel to power of BW monitor!)
+.TP
+\fBLALT+j
+swapping _keyboard_emulated_ joysticks
+.TP
+\fBLALT+e
+switching bpp (for debug only, will be removed soon)
+
+.PP
+To redefine keys for joystick emulation you must modify SDL_TRIG_* and
+SDL_JOY_* in atari_sdl.c, then recompile Atari800. In source you can
+also turn off sound or change defaults (FULLSCREEN, BW,
+SWAP_JOYSTICKS, WIDTH_MODE).
+
+On Linux, standard joysticks are supported.
+
+
+.PD 1
+
+.SH FILES
+.TP
+\fI/usr/share/atari800/ATARIOSA.ROM\fR
+Atari O/S A
+.TP
+\fI/usr/share/atari800/ATARIOSB.ROM\fR
+Atari O/S B
+.TP
+\fI/usr/share/atari800/ATARIXL.ROM\fR
+Atari 800 XL O/S
+.TP
+\fI/usr/share/atari800/ATARI5200.ROM\fR
+Atari 5200 O/S
+.TP
+\fI/usr/share/atari800/ATARIBAS.ROM\fR
+Atari Basic
+.SH BUGS
+A few programs cause the emulator to enter its built in debugger. The
+reason for this is unknown at the moment.
+
+The SDL port doesn't seem to recognize the
+.B -help
+option. \ No newline at end of file
diff --git a/games-emulation/atari800/files/1.2.2/atari800.cfg b/games-emulation/atari800/files/1.2.2/atari800.cfg
new file mode 100644
index 000000000000..aae3f9b51fa2
--- /dev/null
+++ b/games-emulation/atari800/files/1.2.2/atari800.cfg
@@ -0,0 +1,24 @@
+Atari 800 Emulator, Version 1.2.2
+OS/A_ROM=atariosa.rom
+OS/B_ROM=/usr/share/atari800/ATARIOSB.ROM
+XL/XE_ROM=/usr/share/atari800/ATARIXL.ROM
+BASIC_ROM=/usr/share/atari800/ATARIBAS.ROM
+5200_ROM=
+DISK_DIR=
+ROM_DIR=
+H1_DIR=
+H2_DIR=
+H3_DIR=
+H4_DIR=
+HD_READ_ONLY=1
+EXE_DIR=
+STATE_DIR=
+PRINT_COMMAND=lpr %s
+SCREEN_REFRESH_RATIO=1
+MACHINE_TYPE=Atari OS/B
+RAM_SIZE=48
+DEFAULT_TV_MODE=NTSC
+DISABLE_BASIC=1
+ENABLE_SIO_PATCH=1
+ENABLE_H_PATCH=1
+ENABLE_P_PATCH=1
diff --git a/games-emulation/atari800/files/1.2.5/atari800.1 b/games-emulation/atari800/files/1.2.5/atari800.1
new file mode 100644
index 000000000000..3484b327e6f2
--- /dev/null
+++ b/games-emulation/atari800/files/1.2.5/atari800.1
@@ -0,0 +1,661 @@
+.TH ATARI800 1 "26 February 2002"
+.SH NAME
+atari800 \- Atari 800 Emulator, Version 1.2.2
+.SH SYNOPSIS
+\fBatari800\fP [options] [diskfiles...]
+.SH DESCRIPTION
+\fIatari800\fP emulates the Atari 800, Atari 800 XL, Atari 130 XE and
+Atari 5200 Games System.
+.SS Options
+.TP
+\fB-help
+Print emulator version.
+.TP
+\fB-v
+Print emulator version.
+.TP
+\fB-verbose
+Display framerate when exiting
+.TP
+\fB-configure
+Starts emulator in run-time configuration mode.
+.TP
+\fB-config filename
+Specify an alternative configuration filename.
+
+.TP
+\fB-osa_rom filename
+Path to file containing Atari Rev.A Operating System.
+Used to override paths defined at compile time.
+.TP
+\fB-osb_rom filename
+Path to file containing Atari Rev.B Operating System.
+Used to override paths defined at compile time.
+.TP
+\fB-xlxe_rom filename
+Path to file containing Atari XL/XE Operating System.
+Used to override paths defined at compile time.
+.TP
+\fB-5200_rom filename
+Path to file containing Atari 5200 Games System ROM.
+Used to override paths defined at compile time.
+.TP
+\fB-basic_rom filename
+Path to file containing Atari BASIC ROM.
+Used to override paths defined at compile time.
+
+.TP
+\fB-xl
+Emulate Atari 800 XL.
+.TP
+\fB-xe
+Emulate Atari 130 XE - but Antic accesses the same bank the CPU is using.
+.TP
+\fB-320xe
+Emulate Atari 320 XE (Compy Shop)
+.TP
+\fB-rambo
+Emulate Atari 320 XE (Rambo)
+.TP
+\fB-5200
+Emulate Atari 5200 - Games controller emulation has not been implemented yet!
+.TP
+\fB-emuos
+Use EmuOS
+
+.TP
+\fB-a
+Use Atari OS/A.
+.TP
+\fB-b
+Use Atari OS/B.
+.TP
+\fB-c
+Enable RAM between $c000 and $d000.
+
+.TP
+\fB-pal
+Emulate PAL TV mode
+.TP
+\fB-ntsc
+Emulate NTSC TV mode
+
+.TP
+\fB-nobasic
+Used to disable Basic when starting the emulator in XL/XE mode.
+Simulates the Option key being held down during system boot.
+.TP
+\fB-basic
+Turn on Atari BASIC ROM
+
+.TP
+\fB-cart <filename>
+Insert cartridge (CART or raw format)
+.TP
+\fB-run <filename>
+Run Atari executable file (EXE, COM, XEX)
+.TP
+\fB-tape <filename>
+Attach cassette image (CAS format or raw file)
+.TP
+\fB-boottape <filename>
+Attach cassette image and boot it
+
+.TP
+\fB-nopatch
+Normally the OS is patched giving very fast I/O. This options prevents
+the patch from being applied so that the OS accesses the serial port
+hardware directly. This option will probably never be needed since
+programs that access the serial hardware should work even if the OS
+has been patched.
+.TP
+\fB-nopatchall
+Don't patch OS at all, H: and P: devices won't work
+
+.TP
+\fB-H1 <path>
+Set path for H1: device
+.TP
+\fB-H2 <path>
+Set path for H2: device
+.TP
+\fB-H3 <path>
+Set path for H3: device
+.TP
+\fB-H4 <path>
+Set path for H4: device
+.TP
+\fB-hdreadonly <onoff>
+Enable (1) or disable (0) read-only mode for H: device
+.TP
+\fB-devbug
+Put debugging messages for H: and P: devices in log file
+
+.TP
+\fB-rtime <onoff>
+Enable (1) or disable (0) R-Time 8 emulation
+
+.TP
+\fB-mouse off
+Do not use mouse
+.TP
+\fB-mouse pad
+Emulate paddles
+.TP
+\fB-mouse touch
+Emulate Atari Touch Tablet
+.TP
+\fB-mouse koala
+Emulate Koala Pad
+.TP
+\fB-mouse pen
+Emulate Light Pen
+.TP
+\fB-mouse gun
+Emulate Light Gun
+.TP
+\fB-mouse amiga
+Emulate Amiga mouse
+.TP
+\fB-mouse st
+Emulate Atari ST mouse
+.TP
+\fB-mouse trak
+Emulate Atari Trak-Ball
+.TP
+\fB-mouse joy
+Emulate joystick using mouse
+.TP
+\fB-mouseport <num>
+Set mouse port 1-4 (default 1)
+.TP
+\fB-mousespeed <num>
+Set mouse speed 1-9 (default 3)
+
+.TP
+\fB-refresh
+Controls screen refresh rate. A numerical value follows this option
+which specifies how many emulated screen updates are required before
+the actual screen is updated. This value effects the speed of the
+emulation: A higher value results in faster CPU emulation but a
+less frequently updated screen.
+
+.TP
+\fB-artif <mode>
+Set artifacting mode 0-4 (0 = disable)
+.TP
+\fB-palette <filename>
+Read Atari colors from ACT file
+.TP
+\fB-black <num>
+Set black level 0-255
+.TP
+\fB-while <num>
+Set white level 0-255
+.TP
+\fB-colors <num>
+Set color intensity
+.TP
+\fB-colshift <num>
+Set color shift
+.TP
+\fB-realpal
+Use palette created by Zdenek Eisenhammer
+.TP
+\fB-oldpal
+Use old Atari800 palette
+.TP
+\fB-foxpal
+Use palette created by Piotr Fusik
+
+.TP
+\fB-sound
+Enable sound
+.TP
+\fB-nosound
+Disable sound
+.TP
+\fB-dsprate <freq>
+Set mixing frequency (Hz)
+.TP
+\fB-snddelay <time>
+Set sound delay (milliseconds)
+
+
+.SS Curses Options
+.TP
+\fB-left
+Use columns 0 to 39.
+.TP
+\fB-central
+Use columns 20 to 59.
+.TP
+\fB-right
+Use columns 40 to 79.
+.TP
+\fB-wide1
+Use columns 0 to 79. In this mode only the even character positions
+are used. The odd locations are filled with spaces.
+.TP
+\fB-wide2
+Use columns 0 to 79. This mode is similar to \fB-wide1\fP except that
+the spaces are in reverse video if the previous character was also
+in reverse video.
+
+
+.SS Falcon Options
+.TP
+\fB-interlace <x>
+Generate Falcon screen only every x frame
+.TP
+\fB-videl
+Direct VIDEL programming (Falcon/VGA only)
+.TP
+\fB-double
+Double the screen size on NOVA
+.TP
+\fB-delta
+Delta screen output (differences only)
+
+.SS SVGALIB Options
+.TP
+\fB-interlace
+Enable screen interlace option
+
+
+.SS DOS/VGA Options
+.TP
+\fB-interlace
+Generate screen with interlace
+.TP
+\fB-video <mode>
+0=320x200, 1=320x240, 2=320x480 interlaced with black lines, 3=320x480 interlaced with darker lines
+.TP
+\fB-novesa
+Do not use VESA 2 video modes
+.TP
+\fB-vretrace
+Use vertical retrace control
+
+.TP
+\fB-LPTjoy1
+Read joystick connected to LPT1
+.TP
+\fB-LPTjoy2
+Read joystick connected to LPT2
+.TP
+\fB-LPTjoy3
+Read joystick connected to LPT3
+.TP
+\fB-joyswap
+Swap joysticks
+
+.TP
+\fB-keyboard 0
+PC keyboard layout
+.TP
+\fB-keyboard 1
+Atari keyboard layout
+
+
+.SS X11 Options
+.TP
+\fB-small
+Runs the emulator in a small window where each Atari 800 pixel is
+represented by one X Window pixel.
+.TP
+\fB-large
+Runs the emulator in a large window where each Atari 800 pixel is
+represented by a 2x2 X Window rectange. This mode is selected by
+default.
+.TP
+\fB-huge
+Runs the emulator in a huge window where each Atari 800 pixel is
+represented by a 3x3 X Window rectange.
+.TP
+\fB-clip_x number-of-pixels
+Sets left offset for clipping.
+.TP
+\fB-clip_width number-of-pixels
+Sets the width of the clipping-area.
+.TP
+\fB-clip_y number-of-pixels
+Sets top offset for clipping.
+.TP
+\fB-clip_height number-of-pixels
+Sets the height of the clipping-area.
+.TP
+\fB-private_cmap
+Tells the Emulator to use its own private colormap.
+.TP
+\fB-fps
+Show framerate
+.TP
+\fB-sio
+Show SIO monitor
+.TP
+\fB-x11bug
+Enable debug code in atari_x11.c
+
+.TP
+\fB-keypad
+Keypad mode
+
+.SS SDL Options
+.PP
+No SDL-specific options at this time
+
+.PD 0
+
+.SH KEYBOARD, JOYSTICK & PADDLE CONTROLS
+
+.SS Curses
+.TP
+\fBF1
+Built in User Interface
+.TP
+\fBF2
+Option
+.TP
+\fBF3
+Select
+.TP
+\fBF4
+Start
+.TP
+\fBF5
+Warm Reset
+.TP
+\fBF6
+Toggle RAM/ROM between 0x8000 and 0xbfff (PIL Mode)
+.TP
+\fBF7
+Break Key
+.TP
+\fBF8
+Cold Reset
+.TP
+\fBF9
+Exit Emulator
+.TP
+\fBF10
+---
+.TP
+\fBF11
+---
+.TP
+\fBF12
+---
+
+.PP
+Some control have special meaning within curses and should not be used.
+
+ Avoid Control + C, J, M, Q, S and Z
+
+The remaining control characters can be typed. Control characters are
+displayed on the screen with the associated upper case character in bold.
+
+No Joystick or Paddle support in this version.
+
+.SS Falcon
+.TP
+\fBF1
+Built in User Interface
+.TP
+\fBF2
+Option
+.TP
+\fBF3
+Select
+.TP
+\fBF4
+Start
+.TP
+\fBF5
+Warm Reset
+.TP
+\fBShft+F5
+Cold Reset
+.TP
+\fBF6
+Toggle RAM/ROM between 0x8000 and 0xbfff (PIL Mode)
+.TP
+\fBF7
+Break Key
+.TP
+\fBF8
+Enter monitor
+.TP
+\fBF9
+EXIT Emulator
+.TP
+\fBHelp
+HELP key (800XL/130XE)
+
+.PP
+Joystick 0 is operated by the numeric keypad (make sure that the numeric
+keypad has been enabled).
+
+ 7 8 9
+ \\|/
+ 4 5 6
+ /|\\
+ 1 2 3
+
+ And 0 is the fire key.
+
+At the moment it is not possible to use a Paddle with this version.
+
+.SS SVGALIB
+.TP
+\fBF1
+Built in User Interface
+.TP
+\fBF2
+Option
+.TP
+\fBF3
+Select
+.TP
+\fBF4
+Start
+.TP
+\fBF5
+Warm Reset
+.TP
+\fBShft+F5
+Cold Reset
+.TP
+\fBF6
+Toggle RAM/ROM between 0x8000 and 0xbfff (PIL Mode)
+.TP
+\fBF7
+Break Key
+.TP
+\fBF8
+Enter monitor
+.TP
+\fBF9
+Exit Emulator
+.TP
+\fBF10
+Save Screenshot (+Shift=interlaced screenshot)
+.TP
+\fBF11
+Joystick Autofire On/Off
+.TP
+\fBF12
+---
+.TP
+\fB`
+This character replaces the CAPS lock key because I have not found a
+way of detecting it. A future solution maybe to automatically issue a
+CAPS lock key when a transition is made between lower and upper case
+keys. i.e. If svgalib return 'a' followed by 'A' it could send 'a'
+'CAPS' 'A' to the Atari.
+
+.PP
+The CTRL+SHIFT keyboard combinations are implemented using the left
+ALT key.
+
+Joystick 0 is operated by the numeric keypad (make sure that the numeric
+keypad has been enabled).
+
+ 7 8 9
+ \\|/
+ 4 5 6
+ /|\\
+ 1 2 3
+
+ And 0 is the fire key.
+
+At the moment it is not possible to use a Paddle with the SVGALIB
+version.
+
+.SS DOS/VGA
+.TP
+\fBF1
+Built in User Interface
+.TP
+\fBF2
+Option Key
+.TP
+\fBF3
+Select Key
+.TP
+\fBF4
+Start Key
+.TP
+\fBF5
+Warm Reset
+.TP
+\fBShft+F5
+Cold Reset
+.TP
+\fBF6
+PIL Mode (Atari800) / Help Key (XL/XE)
+.TP
+\fBF7
+Switch between Emulated joysticks mode and Normal keyboard
+.TP
+\fBF8
+Enter monitor
+.TP
+\fBF9
+EXIT Emulator
+.TP
+\fBF10
+Save Screenshot (+Shift=interlaced screenshot)
+
+.PP
+Control-C terminates the program; to type Control-c, type ALT-c instead.
+` is used as the Atari-Invers key
+
+Joysticks can be either real one connected to game port, or old 8-bit
+digital CX-40 joysticks connected to parallel port or keyboard joysticks
+(try out JOYCFG.EXE).
+
+At the moment it is not possible to use a Paddle with this version.
+
+.SS X11
+.TP
+\fBF1
+Built in User Interface
+.TP
+\fBF2
+Option
+.TP
+\fBF3
+Select
+.TP
+\fBF4
+Start
+.TP
+\fBF5
+Warm Reset
+.TP
+\fBShft+F5
+Cold Reset
+.TP
+\fBF6
+Toggle RAM/ROM between 0x8000 and 0xbfff (PIL Mode)
+.TP
+\fBF7
+Break Key
+.TP
+\fBF8
+---
+.TP
+\fBF9
+Exit Emulator
+.TP
+\fBF10
+---
+.TP
+\fBF11
+Vertical Positioning: Scroll Screen Downwards
+.TP
+\fBF12
+Vertical Positioning: Scroll Screen Upwards
+.TP
+\fBALT
+Atari Key (Either ALT Key will work)
+
+.PP
+Joystick 0 is operated by the mouse position relative to the center of
+the screen. The mouse button acts as the trigger. On Linux, standard
+joysticks are also supported.
+
+Paddle 0 is operated by moving the mouse pointer across the window.
+
+.SS SDL
+.TP
+\fBLALT+f
+switching FULLSCREEN (probably doesn't work in Windows)
+.TP
+\fBLALT+g
+switching WIDTH_MODE (so you can set 320x240)
+.TP
+\fBLALT+b
+switching BLACK-AND-WHITE (feel to power of BW monitor!)
+.TP
+\fBLALT+j
+swapping _keyboard_emulated_ joysticks
+.TP
+\fBLALT+e
+switching bpp (for debug only, will be removed soon)
+
+.PP
+To redefine keys for joystick emulation you must modify SDL_TRIG_* and
+SDL_JOY_* in atari_sdl.c, then recompile Atari800. In source you can
+also turn off sound or change defaults (FULLSCREEN, BW,
+SWAP_JOYSTICKS, WIDTH_MODE).
+
+On Linux, standard joysticks are supported.
+
+
+.PD 1
+
+.SH FILES
+.TP
+\fI/usr/share/atari800/ATARIOSA.ROM\fR
+Atari O/S A
+.TP
+\fI/usr/share/atari800/ATARIOSB.ROM\fR
+Atari O/S B
+.TP
+\fI/usr/share/atari800/ATARIXL.ROM\fR
+Atari 800 XL O/S
+.TP
+\fI/usr/share/atari800/ATARI5200.ROM\fR
+Atari 5200 O/S
+.TP
+\fI/usr/share/atari800/ATARIBAS.ROM\fR
+Atari Basic
+.SH BUGS
+A few programs cause the emulator to enter its built in debugger. The
+reason for this is unknown at the moment.
+
+The SDL port doesn't seem to recognize the
+.B -help
+option. \ No newline at end of file
diff --git a/games-emulation/atari800/files/1.2.5/atari800.cfg b/games-emulation/atari800/files/1.2.5/atari800.cfg
new file mode 100644
index 000000000000..aae3f9b51fa2
--- /dev/null
+++ b/games-emulation/atari800/files/1.2.5/atari800.cfg
@@ -0,0 +1,24 @@
+Atari 800 Emulator, Version 1.2.2
+OS/A_ROM=atariosa.rom
+OS/B_ROM=/usr/share/atari800/ATARIOSB.ROM
+XL/XE_ROM=/usr/share/atari800/ATARIXL.ROM
+BASIC_ROM=/usr/share/atari800/ATARIBAS.ROM
+5200_ROM=
+DISK_DIR=
+ROM_DIR=
+H1_DIR=
+H2_DIR=
+H3_DIR=
+H4_DIR=
+HD_READ_ONLY=1
+EXE_DIR=
+STATE_DIR=
+PRINT_COMMAND=lpr %s
+SCREEN_REFRESH_RATIO=1
+MACHINE_TYPE=Atari OS/B
+RAM_SIZE=48
+DEFAULT_TV_MODE=NTSC
+DISABLE_BASIC=1
+ENABLE_SIO_PATCH=1
+ENABLE_H_PATCH=1
+ENABLE_P_PATCH=1
diff --git a/games-emulation/atari800/files/1.3.0/atari800.cfg b/games-emulation/atari800/files/1.3.0/atari800.cfg
new file mode 100644
index 000000000000..aae3f9b51fa2
--- /dev/null
+++ b/games-emulation/atari800/files/1.3.0/atari800.cfg
@@ -0,0 +1,24 @@
+Atari 800 Emulator, Version 1.2.2
+OS/A_ROM=atariosa.rom
+OS/B_ROM=/usr/share/atari800/ATARIOSB.ROM
+XL/XE_ROM=/usr/share/atari800/ATARIXL.ROM
+BASIC_ROM=/usr/share/atari800/ATARIBAS.ROM
+5200_ROM=
+DISK_DIR=
+ROM_DIR=
+H1_DIR=
+H2_DIR=
+H3_DIR=
+H4_DIR=
+HD_READ_ONLY=1
+EXE_DIR=
+STATE_DIR=
+PRINT_COMMAND=lpr %s
+SCREEN_REFRESH_RATIO=1
+MACHINE_TYPE=Atari OS/B
+RAM_SIZE=48
+DEFAULT_TV_MODE=NTSC
+DISABLE_BASIC=1
+ENABLE_SIO_PATCH=1
+ENABLE_H_PATCH=1
+ENABLE_P_PATCH=1
diff --git a/games-emulation/atari800/files/atari800-1.2.2-gentoo.diff b/games-emulation/atari800/files/atari800-1.2.2-gentoo.diff
new file mode 100644
index 000000000000..a9df9fdc32ce
--- /dev/null
+++ b/games-emulation/atari800/files/atari800-1.2.2-gentoo.diff
@@ -0,0 +1,12 @@
+diff -u -r atari800-1.2.2-ORIG/src/configure atari800-1.2.2/src/configure
+--- atari800-1.2.2-ORIG/src/configure Mon Dec 31 06:16:27 2001
++++ atari800-1.2.2/src/configure Mon Feb 25 10:15:47 2002
+@@ -883,7 +883,7 @@
+ ;;
+ mingw32 ) a800_host=win;;
+ msdosdjgpp ) a800_host=dos;;
+- linux ) a800_host=linux;;
++ *linux* ) a800_host=linux;;
+ mint ) a800_host=falcon;;
+ esac
+
diff --git a/games-emulation/atari800/files/atari800-1.2.5-gentoo.diff b/games-emulation/atari800/files/atari800-1.2.5-gentoo.diff
new file mode 100644
index 000000000000..9af2474f97e0
--- /dev/null
+++ b/games-emulation/atari800/files/atari800-1.2.5-gentoo.diff
@@ -0,0 +1,46 @@
+--- atari800-1.2.5/src/pokeysnd.c 2002-12-04 22:21:39.000000000 -0500
++++ atari800-1.2.4/src/pokeysnd.c 2001-07-22 04:24:47.000000000 -0400
+@@ -1,4 +1,4 @@
+-/* $Id: atari800-1.2.5-gentoo.diff,v 1.1 2003/09/09 16:26:49 vapier Exp $ */
++/* $Id: atari800-1.2.5-gentoo.diff,v 1.1 2003/09/09 16:26:49 vapier Exp $ */
+ /*****************************************************************************/
+ /* */
+ /* Module: POKEY Chip Emulator, V2.4 */
+@@ -533,8 +533,8 @@
+ /* or the channel is off (volume == 0) */
+ /* or the channel freq is greater than the playback freq */
+ if ( (AUDC[chan + chip_offs] & VOL_ONLY) ||
+- ((AUDC[chan + chip_offs] & VOLUME_MASK) == 0)
+- /* || (Div_n_max[chan + chip_offs] < (Samp_n_max >> 8))*/) {
++ ((AUDC[chan + chip_offs] & VOLUME_MASK) == 0) ||
++ (Div_n_max[chan + chip_offs] < (Samp_n_max >> 8))) {
+ /* indicate the channel is 'on' */
+ Outvol[chan + chip_offs] = 1;
+
+@@ -542,8 +542,8 @@
+ if ((chan == CHAN3 && !(AUDCTL[chip] & CH1_FILTER)) ||
+ (chan == CHAN4 && !(AUDCTL[chip] & CH2_FILTER)) ||
+ (chan == CHAN1) ||
+- (chan == CHAN2)
+- /* || (Div_n_max[chan + chip_offs] < (Samp_n_max >> 8))*/) {
++ (chan == CHAN2) ||
++ (Div_n_max[chan + chip_offs] < (Samp_n_max >> 8))) {
+ /* and set channel freq to max to reduce processing */
+ Div_n_max[chan + chip_offs] = 0x7fffffffL;
+ Div_n_cnt[chan + chip_offs] = 0x7fffffffL;
+@@ -1068,9 +1068,6 @@
+
+ /*
+ $Log: atari800-1.2.5-gentoo.diff,v $
+ Revision 1.1 2003/09/09 16:26:49 vapier
+ welcome to games-emulation
+
+ Revision 1.1 2003/01/31 22:01:10 rphillips
+ new version. masked. fixes #11605
+
+-Revision 1.9 2002/08/26 05:44:22 pfusik
+-Adam Bienias's fix for better sound quality
+-
+ Revision 1.8 2001/07/22 08:24:47 knik
+ PURE -> PURETONE to avoid windows headers interference
+
diff --git a/games-emulation/atari800/files/atari800-1.3.0-security.patch b/games-emulation/atari800/files/atari800-1.3.0-security.patch
new file mode 100644
index 000000000000..4f25ab684a6f
--- /dev/null
+++ b/games-emulation/atari800/files/atari800-1.3.0-security.patch
@@ -0,0 +1,73 @@
+--- atari.c-orig 2003-02-10 11:22:32.000000000 +0000
++++ atari.c 2003-07-31 23:58:35.000000000 +0100
+@@ -389,16 +389,57 @@
+ tv_mode = TV_PAL;
+ else if (strcmp(argv[i], "-ntsc") == 0)
+ tv_mode = TV_NTSC;
+- else if (strcmp(argv[i], "-osa_rom") == 0)
+- strcpy(atari_osa_filename, argv[++i]);
+- else if (strcmp(argv[i], "-osb_rom") == 0)
+- strcpy(atari_osb_filename, argv[++i]);
+- else if (strcmp(argv[i], "-xlxe_rom") == 0)
+- strcpy(atari_xlxe_filename, argv[++i]);
+- else if (strcmp(argv[i], "-5200_rom") == 0)
+- strcpy(atari_5200_filename, argv[++i]);
+- else if (strcmp(argv[i], "-basic_rom") == 0)
+- strcpy(atari_basic_filename, argv[++i]);
++ else if (strcmp(argv[i], "-osa_rom") == 0) {
++ if ( (i+1) < *argc ) {
++ memset(atari_osa_filename,'\0',sizeof(atari_osa_filename));
++ strncpy(atari_osa_filename, argv[++i], sizeof(atari_osa_filename)-1);
++ }
++ else {
++ printf("Missing argument for '-osa_rom'\n");
++ return( 1 );
++ }
++
++ }
++ else if (strcmp(argv[i], "-osb_rom") == 0) {
++ if ( (i+1) < *argc ) {
++ memset(atari_osb_filename,'\0',sizeof(atari_osb_filename));
++ strncpy(atari_osb_filename, argv[++i],sizeof(atari_osb_filename)-1);
++ }
++ else {
++ printf("Missing argument for '-osb_rom'\n");
++ return( 1 );
++ }
++ }
++ else if (strcmp(argv[i], "-xlxe_rom") == 0) {
++ if ( (i+1) < *argc ) {
++ memset(atari_xlxe_filename,'\0',sizeof(atari_xlxe_filename));
++ strncpy(atari_xlxe_filename, argv[++i], sizeof(atari_xlxe_filename)-1);
++ }
++ else {
++ printf("Missing argument for '-xlxe_rom'\n");
++ return( 1 );
++ }
++ }
++ else if (strcmp(argv[i], "-5200_rom") == 0) {
++ if ( (i+1) < *argc ) {
++ memset(atari_5200_filename,'\0',sizeof(atari_5200_filename));
++ strncpy(atari_5200_filename, argv[++i], sizeof(atari_5200_filename)-1);
++ }
++ else {
++ printf("Missing argument for '-5200_rom'\n");
++ return( 1 );
++ }
++ }
++ else if (strcmp(argv[i], "-basic_rom") == 0) {
++ if ( (i+1) < *argc ) {
++ memset(atari_basic_filename,'\0',sizeof(atari_basic_filename));
++ strncpy(atari_basic_filename, argv[++i], sizeof(atari_basic_filename)-1);
++ }
++ else {
++ printf("Missing argument for '-basic_rom'\n");
++ return( 1 );
++ }
++ }
+ else if (strcmp(argv[i], "-cart") == 0) {
+ rom_filename = argv[++i];
+ }
+
+
+
diff --git a/games-emulation/atari800/files/digest-atari800-1.2.2 b/games-emulation/atari800/files/digest-atari800-1.2.2
new file mode 100644
index 000000000000..94e7a21c1990
--- /dev/null
+++ b/games-emulation/atari800/files/digest-atari800-1.2.2
@@ -0,0 +1,2 @@
+MD5 8e44b40722b4711af7affb135a13960f atari800-1.2.2.tar.gz 462135
+MD5 4dc3b6b4313e9596c4d474785a37b94d xf25.zip 188942
diff --git a/games-emulation/atari800/files/digest-atari800-1.2.5 b/games-emulation/atari800/files/digest-atari800-1.2.5
new file mode 100644
index 000000000000..6e2564a845d6
--- /dev/null
+++ b/games-emulation/atari800/files/digest-atari800-1.2.5
@@ -0,0 +1,2 @@
+MD5 9f4e90498414c307170b62ae3b8ade18 atari800-1.2.5.tar.gz 482781
+MD5 4dc3b6b4313e9596c4d474785a37b94d xf25.zip 188942
diff --git a/games-emulation/atari800/files/digest-atari800-1.3.0 b/games-emulation/atari800/files/digest-atari800-1.3.0
new file mode 100644
index 000000000000..3a9b403feff4
--- /dev/null
+++ b/games-emulation/atari800/files/digest-atari800-1.3.0
@@ -0,0 +1,2 @@
+MD5 2998586f3c69f8a7e50439722e30ffc6 atari800-1.3.0.tar.gz 671467
+MD5 4dc3b6b4313e9596c4d474785a37b94d xf25.zip 188942
diff --git a/games-emulation/atari800/files/digest-atari800-1.3.0-r1 b/games-emulation/atari800/files/digest-atari800-1.3.0-r1
new file mode 100644
index 000000000000..3a9b403feff4
--- /dev/null
+++ b/games-emulation/atari800/files/digest-atari800-1.3.0-r1
@@ -0,0 +1,2 @@
+MD5 2998586f3c69f8a7e50439722e30ffc6 atari800-1.3.0.tar.gz 671467
+MD5 4dc3b6b4313e9596c4d474785a37b94d xf25.zip 188942