--- zsnes-1.510.orig/debian/docs +++ zsnes-1.510/debian/docs @@ -0,0 +1,10 @@ +docs/authors.txt +docs/install.txt +docs/license.txt +docs/opengl.txt +docs/srcinfo.txt +docs/stdards.txt +docs/support.txt +docs/thanks.txt +docs/todo.txt +docs/readme.txt/*.txt --- zsnes-1.510.orig/debian/compat +++ zsnes-1.510/debian/compat @@ -0,0 +1 @@ +4 --- zsnes-1.510.orig/debian/rules +++ zsnes-1.510/debian/rules @@ -0,0 +1,112 @@ +#!/usr/bin/make -f +# debian/rules for zsnes +# 2001-2005 Aaron Lehmann +# 2006 Joshua Kwan +# 2007 William Pitcock + +# XXX: ugly hack to avoid FTBFS on amd64 with ia32-libs binary. +# XXX: bork bork bork! this at least allows it to build. this one is a bug in ia32-libs tho. +ifeq ($(DEB_HOST_ARCH),amd64) + CFLAGS = -m32 + ifneq ($(shell test -e /usr/lib32/libSDL.so && echo ok),ok) + MAKE_LINKS = mkdir -p lib \ + && ln -sf /usr/lib32/libao.so.2 lib/libao.so \ + && ln -sf /usr/lib32/libSDL-1.2.so.0 lib/libSDL.so \ + && ln -sf /usr/lib32/libGL.so.1 lib/libGL.so \ + && ln -sf /usr/lib32/libpng12.so.0 lib/libpng.so + LDFLAGS = -L../lib -L/usr/lib32 + endif +endif + + +patch-stamp: + dpatch apply-all + touch $@ + +unpatch: + dpatch deapply-all + rm -f patch-stamp + +build: patch-stamp build-stamp +build-stamp: + dh_testdir + + $(MAKE_LINKS) + cd src && CFLAGS="$(CFLAGS) -U_FORTIFY_SOURCE" LDFLAGS="$(LDFLAGS)" ./configure --enable-opengl --disable-cpucheck --enable-release --disable-debugger --enable-libao force_arch=i486 && $(MAKE) + + + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + +# 'make distclean' appears to be broken + # [ ! -f src/Makefile ] || cd src && $(MAKE) distclean + rm -f $$(find src/ -type f -name *.o) src/Makefile src/cfg.h src/config.h src/config.log src/config.status src/input.h src/makefile.dep src/md.h src/parsegen src/tools/depbuild src/zsnes + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + install -D src/zsnes debian/zsnes/usr/bin/zsnes + install -D src/linux/zsnes.1 debian/zsnes/usr/share/man/man1/zsnes.1 + +# I want to install docs here because I want to change their names +# NO LONGER AVAILABLE... +# install -D docs/README.LINUX debian/zsnes/usr/share/doc/zsnes/README.linux +# install docs/authors.txt debian/zsnes/usr/share/doc/zsnes/AUTHORS +# install docs/readme.txt debian/zsnes/usr/share/doc/zsnes/README +# install docs/srcinfo.txt debian/zsnes/usr/share/doc/zsnes/SRCINFO +# install docs/todo.txt debian/zsnes/usr/share/doc/zsnes/TODO + + mkdir -p debian/zsnes/usr/share/pixmaps + cp -f debian/zsnes.xpm debian/zsnes/usr/share/pixmaps/zsnes.xpm + + mkdir -p debian/zsnes/usr/share/doc/zsnes/examples/source + uudecode -o debian/zsnes/usr/share/doc/zsnes/examples/debian.smc.gz \ + debian/examples/debian.smc.gz.uu + uudecode -o debian/zsnes/usr/share/doc/zsnes/examples/source/deb.set \ + debian/examples/source/deb.set.uu + uudecode -o debian/zsnes/usr/share/doc/zsnes/examples/source/deb.map \ + debian/examples/source/deb.map.uu + uudecode -o debian/zsnes/usr/share/doc/zsnes/examples/source/col.map \ + debian/examples/source/deb.col.uu + install -m 644 debian/zsnes.desktop \ + debian/zsnes/usr/share/applications/zsnes.desktop + cp -f debian/examples/source/debian.asm \ + debian/zsnes/usr/share/doc/zsnes/examples/source/ + cp -f debian/examples/README \ + debian/zsnes/usr/share/doc/zsnes/examples/ + # Install HTML documentation + cp -a docs/readme.htm debian/zsnes/usr/share/doc/zsnes/html + +binary-indep: +# Ye olde no-op. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installmenu + dh_desktop + dh_installman + dh_installchangelogs + dh_link + dh_strip + dh_compress -Xexamples + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch +.PHONY: build clean binary-arch binary install --- zsnes-1.510.orig/debian/control +++ zsnes-1.510/debian/control @@ -0,0 +1,18 @@ +Source: zsnes +Section: otherosfs +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Joshua Kwan +Build-Depends: debhelper (>= 4), nasm, libsdl1.2-dev (>= 1.2.2-3.1), zlib1g-dev, sharutils, xutils, libpng12-dev | libpng-dev, xlibmesa-gl-dev, dpatch, libao-dev, ia32-libs [amd64], lib32z1-dev [amd64], lib32stdc++6 [amd64], gcc-multilib [amd64], g++-multilib [amd64] +Standards-Version: 3.7.3 + +Package: zsnes +Architecture: i386 amd64 +Depends: ${shlibs:Depends} +Description: Emulator of the Super Nintendo Entertainment System + ZSNES allows you to play classic games written for the Super Nintendo (SNES) + game console on a GNU/Linux system. It supports advanced features such as + multiplayer gameplay over a TCP/IP network. + . + Please note that many separately-available games playable under this emulator + are non-free. See /usr/share/doc/zsnes/README.Debian for more information. --- zsnes-1.510.orig/debian/dirs +++ zsnes-1.510/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/applications --- zsnes-1.510.orig/debian/copyright +++ zsnes-1.510/debian/copyright @@ -0,0 +1,13 @@ +This package was debianized by Aaron Lehmann on +Sat, 28 Apr 2001 22:51:31 -0700. + +It was downloaded from http://www.zsnes.com + +Copyright: + +The zsnes package is released under the terms of the GNU General +Public License version 2. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in /usr/share/common-licenses/GPL. + --- zsnes-1.510.orig/debian/menu +++ zsnes-1.510/debian/menu @@ -0,0 +1,6 @@ +?package(zsnes): \ + needs="X11" \ + section="Applications/Emulators" \ + title="ZSNES" \ + command="/usr/bin/zsnes" \ + icon="/usr/share/pixmaps/zsnes.xpm" --- zsnes-1.510.orig/debian/changelog +++ zsnes-1.510/debian/changelog @@ -0,0 +1,220 @@ +zsnes (1.510-2.2ubuntu3) karmic; urgency=low + + [ Asif Youssuff ] + * Added snes-rom mime types and file patterns (LP: #377409) + + [ Julien Lavergne ] + * debian/changelog: Update. + + -- Julien Lavergne Fri, 21 Aug 2009 16:58:28 +0200 + +zsnes (1.510-2.2ubuntu2) jaunty; urgency=low + + * Bring source code up to version 1.51b + * Removes the need for gcc-4.3-ftbfs and replace_crc32 patches. + * Fixes a threading issue which broke sound on multi-core systems. + * Remove -ad sdl from the .desktop file. It should not be forced on users. + + -- Joel Ebel Sat, 21 Feb 2009 23:16:35 -0800 + +zsnes (1.510-2.2ubuntu1) jaunty; urgency=low + + * Merge from Debian unstable. Remaining Ubuntu changes: + * Build amd64 package + * debian/control: Clean up descriptions + * debian/rules: + - Compile without _FORTIFY_SOURCE (LP: #250425). + - Add dh_desktop call + * zsnes.desktop: + - New .desktop file + - Run with "-ad sdl" flag for better sound quality + + -- David Futcher Fri, 06 Feb 2009 21:08:14 +0000 + +zsnes (1.510-2.2) unstable; urgency=medium + + * Non-maintainer upload. + * Fix the debian/rules clean problem, with a patch courtesy of + Gunnar Wolf (closes: #513205) + * Urgency medium to fix RC bug in testing + + -- Vincent Fourmond Tue, 03 Feb 2009 21:52:28 +0100 + +zsnes (1.510-2.1ubuntu2) jaunty; urgency=low + + * debian/rules: + - Compile without _FORTIFY_SOURCE (LP: #250425). + * zsnes.desktop: + - Use "-ad sdl", for better sound overall. + + -- Allisson Azevedo Tue, 06 Jan 2009 20:19:18 -0300 + +zsnes (1.510-2.1ubuntu1) intrepid; urgency=low + + * Merge from debian unstable, remaining changes (LP: #238671): + - Add dh_desktop call to debian/rules. + - Build amd64 package on Ubuntu + - New .desktop file. + - Fix some inaccuracies in debian/control file. + - Change maintainership to Ubuntu MOTU team due to local changes, + and follow DebianMaintainer spec. + + -- Nathan Handler Mon, 09 Jun 2008 14:55:26 -0500 + +zsnes (1.510-2.1) unstable; urgency=high + + * Non-maintainer upload. + * Fix gcc-4.3 FTBFS (Closes: #474804). + + -- Ian Beckwith Thu, 10 Apr 2008 22:20:59 +0100 + +zsnes (1.510-2ubuntu1) hardy; urgency=low + + [ Siegfried-Angel Gevatter Pujals (RainCT) ] + * Add dh_desktop call to debian/rules. + + [ Kirill Chunaev ] + * Build amd64 package on Ubuntu (thanks to William Pitcock). + * New .desktop file. + * Fix some inaccuracies in debian/control file. + * Change maintainership to Ubuntu MOTU team due to local changes, + and follow DebianMaintainer spec. + + -- Kirill Chunaev Wed, 13 Feb 2008 17:53:40 +0300 + +zsnes (1.510-2) unstable; urgency=low + + * Acknowledge NMU, closes: #447366 + * Fix build failure with g++ 4.2, closes: #459033 + * Bump Standards-Version to 3.7.3 + * Move menu file from Apps to Applications. I think this closes: #443789. + + -- Joshua Kwan Thu, 10 Jan 2008 20:49:18 -0800 + +zsnes (1.510-1.1) unstable; urgency=low + + * Non-maintainer upload to fix RC bug. + * Fix FTBFS, CRC32 is now a keyword in nasm, replace it by RomCRC32. + Patch by Javier Serrano Polo . (Closes: #447366) + + -- Ana Beatriz Guerrero Lopez Mon, 19 Nov 2007 03:26:31 +0100 + +zsnes (1.510-1) unstable; urgency=low + + * New upstream release - all patches merged. closes: #380734, #419270 + * Add a .desktop file, thanks Nicholas Wheeler. closes: #367942 + * Include a ton of documentation that ships with the tarball. + closes: #392143 + + -- Joshua Kwan Mon, 04 Jun 2007 21:46:47 -0700 + +zsnes (1.420-1) unstable; urgency=low + + * New maintainer, acknowledge NMU. (closes: #301611, #293061) + * Switch to dpatch. + * Add patch from upstream CVS to fix 100% CPU problem while in GUI. + (closes: #319299) + * Since we do provide at least one sample ROM, there is absolutely + no reason to leave this in contrib. Move to main (closes: #313137) + * Add the Debian changelog back. The upstream changelog is no longer + available, however. (closes: #320717) + + -- Joshua Kwan Mon, 9 Jan 2006 18:19:09 -0800 + +zsnes (1.420-0.1) unstable; urgency=low + + * Non-maintainer upload + * New upstream release (Closes: #293061) + * Compiled with g++-4.0 to comply to the C++ ABI transition + * Build-depend on `automake' to fix FTBFS (Closes: #301611) + + -- Philipp Kern Sun, 24 Jul 2005 15:58:59 +0000 + +zsnes (1.400-1) unstable; urgency=low + + * New upstream version (Closes: #287161, #287998) + * Fix manpage (Closes: #290463) + + -- Aaron Lehmann Mon, 17 Jan 2005 18:53:03 -0800 + +zsnes (1.360-2) unstable; urgency=low + + * Enable OpenGL (Closes: #240397) + * Apply save state patch (Closes: #199461, #164622) + * Apply enhanced joystick support patch (Closes: #220270) + * Add menu entry (Closes: #185024) + + -- Aaron Lehmann Mon, 06 Sep 2004 22:29:19 -0700 + +zsnes (1.360-1) unstable; urgency=low + + * New upstream version + + -- Aaron Lehmann Sun, 11 Aug 2002 00:48:10 -0700 + +zsnes (1.337-4.1) unstable; urgency=low + + * Non maintainer upload. + * stray '\' was breaking build (closes: #146802) + * fix spelling error in description (closes: #125584) + + -- David Kimdon Sun, 9 Jun 2002 21:25:42 -0700 + +zsnes (1.337-4) unstable; urgency=low + + * Fix build with new NASM + * Update build-depends (Closes: #123725) + + -- Aaron Lehmann Sun, 16 Dec 2001 14:31:19 -0800 + +zsnes (1.337-3) unstable; urgency=medium + + * Recompile against new libsdl1.2debian + * Update Build-Depends accordingly + * Bump standards-version + + -- Aaron Lehmann Sat, 20 Oct 2001 20:38:34 -0700 + +zsnes (1.337-2) unstable; urgency=medium + + * Don't let configure detect CPU-specific optimizations. Compile with + -mcpu=pentiumpro instead. (Closes: #114342) + + -- Aaron Lehmann Wed, 3 Oct 2001 11:35:26 -0700 + +zsnes (1.337-1) unstable; urgency=low + + * New upstream release + * Major binary size improvements. + * Build system was converted to autoconf :( + + -- Aaron Lehmann Sun, 30 Sep 2001 20:01:43 -0700 + +zsnes (1.30b-1) unstable; urgency=low + + * New upstram version + * Install more docs + * Include example cartridge in /usr/share/doc/zsnes/examples + + -- Aaron Lehmann Thu, 21 Jun 2001 16:57:42 -0700 + +zsnes (1.28-1) unstable; urgency=low + + * New upstream version. Optimization fix applied upstream. + + -- Aaron Lehmann Wed, 30 May 2001 14:37:40 -0700 + +zsnes (1.25-1) unstable; urgency=low + + * New upstream release. Fixes bugs and adds optimizations. Double-buffering + is now supported on Linux. + * Wrote a fix for a bug triggered with compiler optimizations. Sent upstream. + + -- Aaron Lehmann Tue, 15 May 2001 21:05:32 -0700 + +zsnes (1.20-1) unstable; urgency=low + + * Initial Release. + + -- Aaron Lehmann Tue, 1 May 2001 19:40:50 -0700 + --- zsnes-1.510.orig/debian/zsnes.doc-base +++ zsnes-1.510/debian/zsnes.doc-base @@ -0,0 +1,11 @@ +Document: zsnes +Title: ZSNES online documentation +Author: Various +Abstract: This set of documents provides help for using ZSNES. It contains + help for everything from changing the controls to playing games over the + Internet. +Section: Apps/Emulators + +Format: html +Index: /usr/share/doc/zsnes/html/index.htm +Files: /usr/share/doc/zsnes/html/*.htm --- zsnes-1.510.orig/debian/README.Debian +++ zsnes-1.510/debian/README.Debian @@ -0,0 +1,20 @@ +zsnes for Debian +---------------- + +The zsnes package is not portable to non-i386 architectures because of +the fact that most of it is writen in i386 assembly. + +The Debian tar file of zsnes' source is identical to the upstream +source except that a few object files in src/obj were removed. These +files do not have surviving source code, but are not used in the Linux +build and have been removed to avoid debate as to whether they are free +software. + +zsnes itself is available under the GNU GPL. However, almost all of the +"ROMs" that it is designed to run are distributed under stricter licenses, +which may not permit redistribution. We advise you to pay attention to +license information when obtaining such software. Debian claims no +responsibility for any unlicensed usage of third-party software under +zsnes. + + -- Aaron Lehmann , Tue, 1 May 2001 19:40:28 -0700 --- zsnes-1.510.orig/debian/zsnes.xpm +++ zsnes-1.510/debian/zsnes.xpm @@ -0,0 +1,265 @@ +/* XPM */ +static char *zsnes[] = { +/* columns rows colors chars-per-pixel */ +"32 32 227 2", +" c #000000", +". c #050409", +"X c #090705", +"o c #08070B", +"O c #0A0905", +"+ c #0A0A0B", +"@ c #030511", +"# c #030518", +"$ c #06091B", +"% c #001500", +"& c #001C00", +"* c #140203", +"= c #1A1508", +"- c #121212", +"; c #1C1613", +": c #1B1B1B", +"> c #050E2D", +", c #060E35", +"< c #061233", +"1 c #06103F", +"2 c #11183C", +"3 c #002400", +"4 c #072608", +"5 c #003900", +"6 c #03292D", +"7 c #20080D", +"8 c #201509", +"9 c #201B14", +"0 c #33080B", +"q c #3D090F", +"w c #3A1014", +"e c #330F24", +"r c #262008", +"t c #2B2412", +"y c #2A2319", +"u c #232323", +"i c #2C2C2C", +"p c #333333", +"a c #3A3A3A", +"s c #0A1741", +"d c #061857", +"f c #162D58", +"g c #18265E", +"h c #162D61", +"j c #123A79", +"k c #2B3A64", +"l c #004500", +"z c #005200", +"x c #284A28", +"c c #430B0E", +"v c #53050D", +"b c #5A0810", +"n c #431835", +"m c #453B14", +"M c #42362C", +"N c #483E24", +"B c #720F17", +"V c #75242B", +"C c #594D26", +"Z c #5F5222", +"A c #6B5722", +"S c #73642C", +"D c #796422", +"F c #7B6A2C", +"G c #434343", +"H c #4B4B4B", +"J c #405740", +"K c #545454", +"L c #5A5A5A", +"P c #646464", +"I c #6B6B6B", +"U c #747474", +"Y c #7E7E7E", +"T c #0B2786", +"R c #0D2689", +"E c #1B2B90", +"W c #1D3188", +"Q c #1C3C8F", +"! c #1A3F90", +"~ c #113ED8", +"^ c #2A50AD", +"/ c #315ABD", +"( c #23629D", +") c #3466BF", +"_ c #1240C9", +"` c #1849C1", +"' c #1B49DF", +"] c #0F45F1", +"[ c #154CEF", +"{ c #1154FE", +"} c #1F6DDA", +"| c #1B62FF", +" . c #1A6CFF", +".. c #1D75FF", +"X. c #1D7EFF", +"o. c #2E7FD5", +"O. c #2065EF", +"+. c #008400", +"@. c #008F00", +"#. c #00A500", +"$. c #00AC00", +"%. c #00B700", +"&. c #00BE00", +"*. c #10B600", +"=. c #20A620", +"-. c #2FBB2E", +";. c #07C600", +":. c #01CF00", +">. c #00D700", +",. c #04DB00", +"<. c #0DDB00", +"1. c #10CE00", +"2. c #03E300", +"3. c #06E800", +"4. c #0AED00", +"5. c #0DF400", +"6. c #10F600", +"7. c #1BFD00", +"8. c #20ED00", +"9. c #21FF00", +"0. c #2AFF00", +"q. c #57BF53", +"w. c #68B968", +"e. c #4BD646", +"r. c #1E86FF", +"t. c #2085FF", +"y. c #288FF4", +"u. c #2493FF", +"i. c #259BFF", +"p. c #3093F1", +"a. c #25A1FF", +"s. c #24ACFF", +"d. c #29B0FF", +"f. c #2DB9FF", +"g. c #3BB2EA", +"h. c #2FD5FE", +"j. c #30C7FF", +"k. c #37CBFF", +"l. c #39C5FF", +"z. c #30D5FF", +"x. c #36DBFF", +"c. c #3DD8FF", +"v. c #3BECFF", +"b. c #3AF8FF", +"n. c #40ADF7", +"m. c #900B16", +"M. c #96101F", +"N. c #8B1728", +"B. c #912131", +"V. c #962F3F", +"C. c #AF0D1B", +"Z. c #B30D1F", +"A. c #A2152E", +"S. c #A91C2B", +"D. c #AC2737", +"F. c #983840", +"G. c #B33E4B", +"H. c #85722C", +"J. c #89702C", +"K. c #9D404F", +"L. c #A04753", +"P. c #A14956", +"I. c #A55460", +"U. c #C20F22", +"Y. c #D20C22", +"T. c #DB0C23", +"R. c #D11025", +"E. c #D6172B", +"W. c #DD122B", +"Q. c #D41A34", +"!. c #E60C25", +"~. c #E3122B", +"^. c #E41B3A", +"/. c #F40D28", +"(. c #FD0E2C", +"). c #FF0F33", +"_. c #FE102E", +"`. c #FE1033", +"'. c #FE133A", +"]. c #F9183E", +"[. c #D63148", +"{. c #FF1540", +"}. c #B57780", +"|. c #AB8D2C", +" X c #B1932C", +".X c #BB9E2C", +"XX c #CEA92C", +"oX c #D4AD2C", +"OX c #D6B22B", +"+X c #D8B32C", +"@X c #E0BD2C", +"#X c #EABE2C", +"$X c #EDC92C", +"%X c #F1C72C", +"&X c #F4CC2C", +"*X c #FACE2C", +"=X c #FAD02C", +"-X c #838383", +";X c #8D8D8D", +":X c #9B8A8C", +">X c #939393", +",X c #9A9A9A", +"X", +"fXfXI.I.I.P.N.fX>XH G K 2XK G ;XG a uXfX;XK G L fXfXK K L Y fX>X", +"fXfXfXfXfX}.I.fX: U fXdX6XK H fXaXH U 5XG dXfXH ;X-XH fXfX5XfX;X", +"fXfXfXfX}.I.rXfX: u H ;XdXK K dXdXL L U : H H u P -Xu K Y dXfX>X", +"fXfXfX1XK.8XfXfX6XI a - U K K dXdXL L I L dXdXdXdXdXY L i i dX>X", +"fXfX1XP.eXfXfXfX3XfXfXa U K L dXdXL L 5Xi 6XsXuX5X5XsXsXU i dX>X", +"fXfXB.V.I.I.I.fXU H G K dXK K sXdXL L sXY H G G >X>XL G H ;XsX>X", +"fXfXfXfXfXfXfXfXfXfXfXfXsXsXsXsXsXsXsXsXsXsXsXsXsXsXsXsXsXsXsX>X", +"0XfXfXfXfXfXfXfXfXfXfXsXpX0X8X;Xa u - u H 2X9X0XaXsXsXaXsXsXaX>X", +"fX0X9XfXfXfXfXfXfXfXsXtX6XU k ^ ) / W @ + a -X9XtXaXsXaXsXsX>X", +"fXfXfXfXfXfXfXfXdXaXtX5Xp g g.c.x.l.p.! $ X K 9XtXaXaXaXaX>X", +"2XfX2XfX,XfXfXsXsXtX6Xp h g.b.v.x.k.f.y.! @ . L 9XtXaXaXaX>X", +"fXfXfXfXdXsXsXaXuX9Xa ( h.h.j.f.d.i.u.O.> . L 0XaXaXaX>X", +"sXsXsXaXaXaXpXaX0XU 2 o.s.s.a.i.u.r.X...< * 0 q w :XtXpXpX>X", +"pXaXpXaXpXpXaXpX9Xi $ h j } r.t.t... .{ < c M.Q.^.Q.D.7XpXpX>X", +"pXpXpXpXpXpXpXpX>X. s ` . . .{ ' n E.'.'.'.{.{.[.rXpX>X", +"pXpXpXpXpXpXpXyXJ & 3 & & % , ~ { { ] E A.`.`.`.'.'.'.'.S.pX>X", +"uXuXpXuXuXpXwXq.*.1.<.<.;.#.l & j ] ~ R e R._._._.`.`.`.`.W.pX>X", +"uXpXuXpXuXuXe.8.0.9.7.7.5.4.:.+.6 d 1 # * v Z.~.(.(.(._.).~.uX>X", +"uXuXK K uXuX4.7.7.5.5.4.3.2.>.%.5 * v Y./.(.(.(.U.uX>X", +"uXK K uXuX-.,.3.3.,.,.>.:.&.+.& . + + + o b Y././.T.V.uX>X", +"K K tXuXuXqXw.=.#.$.$.#.@.z 4 t C F H.H.S m 9 7 Z.!.Y.G.eX>XgX", +" . tXtXuXtXtXtXXgX", +"tXtXtXtXtXtXtXyX6X;XX r OX*X*X=X=X=X=X=X&X|.8 ; 5X0XyX>XgX", +">XtX>X>XtXtXtXtX0X0XK = X%X*X*X*X*X*X*X#XJ.= Y 9XtX>XgXgX", +"tXtXtXtXtXtXtXtXtX0X9XL X t D XoX@XOXXX|.A y U 6XtXtX>XgXgX", +"tXtXtXtXtXtXtXtXtXtXtX9XL + X = t M M 9 = : Y 8X9XtX>XgXgXgX", +"tXtXtXtXtXtXtXtXtXtXtXtX0X2XK ; u P 5X9XtXtX>XgXgXgXgX", +">X>X>X>X;X>X>X>X>X>X>XtXtX0X6X5X-XH p K ;X6X6X0XtXtX>XgXgXgXgXgX", +"gXgXgXgXgXgXgXgXgXgXgX>X>XtXtXtXtXtXtXtXtXtXtXtX>X>XgXgXgXgXgXgX", +"gXgXgXgXgXgXgXgXgXgXgXgXgX>X>X>XtXtXtXtXtX>X>X>XgXgXgXgXgXgXgXgX", +"gXgXgXgXgXgXgXgXgXgXgXgXgXgXgXgX>X>X>X>X>XgXgXgXgXgXgXgXgXgXgXgX" +}; --- zsnes-1.510.orig/debian/zsnes.desktop +++ zsnes-1.510/debian/zsnes.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Name=ZSNES Emulator +Name[ru_RU]=Эмулятор ZSNES +Comment=Play Super Nintendo (SNES) games +Comment[ru_RU]=Запуск игр для Super Nintendo (SNES) +Exec=zsnes +Icon=zsnes +Terminal=false +Type=Application +Categories=Game;Emulator; +MimeType=application/x-snes-rom; +FilePattern=smc;fig;SMC;FIG;sfc;SFC; --- zsnes-1.510.orig/debian/patches/00list +++ zsnes-1.510/debian/patches/00list @@ -0,0 +1,2 @@ +1_51b +gcc-fno-rtti --- zsnes-1.510.orig/debian/patches/gcc-fno-rtti.dpatch +++ zsnes-1.510/debian/patches/gcc-fno-rtti.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## gcc-fno-rtti.dpatch by Krzysztof Burghardt +## +## DP: Enable rtti to be able to use dynamic_cast. + +diff -urNad zsnes-1.510~/src/configure zsnes-1.510/src/configure +--- zsnes-1.510~/src/configure 2007-01-25 01:51:21.000000000 +0100 ++++ zsnes-1.510/src/configure 2008-01-09 22:47:32.915869995 +0100 +@@ -5237,7 +5237,7 @@ + NFLAGS="$NFLAGS -O1" + fi + fi +-CXXFLAGS="$CFLAGS -fno-rtti" ++CXXFLAGS="$CFLAGS" + + if test x$enable_jma != xno; then + JMA_FILES="\$(JMA_D)/7zlzma.o \$(JMA_D)/crc32.o \$(JMA_D)/iiostrm.o\ + --- zsnes-1.510.orig/debian/patches/1_51b.dpatch +++ zsnes-1.510/debian/patches/1_51b.dpatch @@ -0,0 +1,819 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 1_51b.dpatch by Joel Ebel +## +## DP: Bring zsnes up to 1.51b using patches from the forums. + +@DPATCH@ +diff -urNad zsnes-1.510~/src/init.asm zsnes-1.510/src/init.asm +--- zsnes-1.510~/src/init.asm 2007-01-23 10:51:00.000000000 -0800 ++++ zsnes-1.510/src/init.asm 2007-10-30 20:17:17.000000000 -0700 +@@ -892,7 +892,6 @@ + SECTION .bss + NEWSYM IPSPatched, resb 1 + NEWSYM Checksumvalue, resw 1 +-NEWSYM CRC32, resd 1 + NEWSYM SramExists, resb 1 + NEWSYM NumofBanks, resd 1 + NEWSYM NumofBytes, resd 1 +diff -urNad zsnes-1.510~/src/initc.c zsnes-1.510/src/initc.c +--- zsnes-1.510~/src/initc.c 2007-01-19 16:02:24.000000000 -0800 ++++ zsnes-1.510/src/initc.c 2007-10-30 20:17:29.000000000 -0700 +@@ -1649,9 +1649,9 @@ + } + } + +-extern unsigned int MsgCount, MessageOn, CRC32; ++extern unsigned int MsgCount, MessageOn; + extern char *Msgptr; +-unsigned int SPC7110Entries; ++unsigned int SPC7110Entries, CRC32; + + void SPC7PackIndexLoad() + { +diff -urNad zsnes-1.510~/src/linux/audio.c zsnes-1.510/src/linux/audio.c +--- zsnes-1.510~/src/linux/audio.c 2007-01-09 17:19:12.000000000 -0800 ++++ zsnes-1.510/src/linux/audio.c 2008-05-14 15:03:20.000000000 -0700 +@@ -33,8 +33,8 @@ + + #ifdef __LIBAO__ + static pthread_t audio_thread; +-static pthread_mutex_t audio_mutex; +-static pthread_cond_t audio_wait; ++static pthread_mutex_t audio_mutex = PTHREAD_MUTEX_INITIALIZER; ++static pthread_cond_t audio_wait = PTHREAD_COND_INITIALIZER; + static ao_device *audio_device = 0; + static volatile unsigned int samples_waiting = 0; + #endif +@@ -181,14 +181,6 @@ + { + puts("pthread_create() failed."); + } +- else if (pthread_mutex_init(&audio_mutex, 0)) +- { +- puts("pthread_mutex_init() failed."); +- } +- else if (pthread_cond_init(&audio_wait, 0)) +- { +- puts("pthread_cond_init() failed."); +- } + InitSampleControl(); + } + +diff -urNad zsnes-1.510~/src/parsegen.cpp zsnes-1.510/src/parsegen.cpp +--- zsnes-1.510~/src/parsegen.cpp 2007-01-15 15:58:43.000000000 -0800 ++++ zsnes-1.510/src/parsegen.cpp 2008-05-14 15:38:27.000000000 -0700 +@@ -31,6 +31,7 @@ + #include + #include + #include ++#include + using namespace std; + + #include +@@ -43,22 +44,16 @@ + #define __WIN32__ + #endif + +-#if defined(__MSDOS__) || defined(__WIN32__) +-#define SLASH_STR "\\" +-#else +-#define SLASH_STR "/" +-#endif +- + string gcc = "gcc"; + string cflags; + + #ifdef _MSC_VER //MSVC +-static inline string COMPILE_OBJ(string obj, string c) ++static inline string COMPILE_OBJ(const string& obj, const string& c) + { + return(string(string("cl /nologo /Fo")+obj+string(" ")+c)); + } + #else +-static inline string COMPILE_OBJ(string obj, string c) ++static inline string COMPILE_OBJ(const string& obj, const string& c) + { + return(string(gcc+(" ")+cflags+(" -o ")+obj+string(" -c ")+c)); + } +@@ -121,7 +116,7 @@ + } + + //This is like strtok(), except this understands quoted characters and updates error locations +-char *get_token(char *str, char *delim) ++char *get_token(char *str, const char *delim) + { + static char *pos = 0; + char *token = 0; +@@ -339,7 +334,7 @@ + return(true); + } + +-string encode_string(string& str, bool quotes = true) ++string encode_string(const string& str, bool quotes = true) + { + string newstr(""); + if (quotes) { newstr += '\"'; } +@@ -461,7 +456,7 @@ + private: + config_data_array data_array; + +- bool duplicate_name(string& name) ++ bool duplicate_name(const string& name) + { + if (find(data_array.begin(), data_array.end(), name) != data_array.end()) + { +@@ -472,13 +467,13 @@ + } + + public: +- void add_comment(string comment) ++ void add_comment(const string& comment) + { + config_data_element new_element = { "", none, NT, 0, "", comment }; + data_array.push_back(new_element); + } + +- void add_var_single(string& name, ctype type, string dependancy, string comment = "") ++ void add_var_single(const string& name, ctype type, const string& dependancy, const string& comment = "") + { + if (!duplicate_name(name)) + { +@@ -486,12 +481,12 @@ + data_array.push_back(new_element); + } + } +- void add_var_single(string& name, const char *type, string dependancy, string comment = "") ++ void add_var_single(const string& name, const char *type, const string& dependancy, const string& comment = "") + { + add_var_single(name, GetCType(type), dependancy, comment); + } + +- void add_var_quoted(string& name, string dependancy, string comment = "") ++ void add_var_quoted(const string& name, const string& dependancy, const string& comment = "") + { + if (!duplicate_name(name)) + { +@@ -500,7 +495,7 @@ + } + } + +- void add_var_mult(string& name, ctype type, size_t length, string dependancy, string comment = "") ++ void add_var_mult(const string& name, ctype type, size_t length, const string& dependancy, const string& comment = "") + { + if (!duplicate_name(name)) + { +@@ -508,12 +503,12 @@ + data_array.push_back(new_element); + } + } +- void add_var_mult(string& name, const char *type, size_t length, string dependancy, string comment = "") ++ void add_var_mult(const string& name, const char *type, size_t length, const string& dependancy, const string& comment = "") + { + add_var_mult(name, GetCType(type), length, dependancy, comment); + } + +- void add_var_packed(string& name, size_t length, string dependancy, string comment = "") ++ void add_var_packed(const string& name, size_t length, const string& dependancy, const string& comment = "") + { + if (!duplicate_name(name)) + { +@@ -522,7 +517,7 @@ + } + } + +- void add_var_ptr(string& name, ctype type, size_t length, string dependancy, string comment = "") ++ void add_var_ptr(const string& name, ctype type, size_t length, const string& dependancy, const string& comment = "") + { + if (!duplicate_name(name)) + { +@@ -530,7 +525,7 @@ + data_array.push_back(new_element); + } + } +- void add_var_ptr(string& name, const char *type, size_t length, string dependancy, string comment = "") ++ void add_var_ptr(const string& name, const char *type, size_t length, const string& dependancy, const string& comment = "") + { + add_var_ptr(name, GetCType(type), length, dependancy, comment); + } +@@ -615,9 +610,9 @@ + #define int_scale "*sizeof(int)" + + //Convert asm types to C types +-char *convert_asm_type(const char *str, bool unsigned_var = true) ++const char *convert_asm_type(const char *str, bool unsigned_var = true) + { +- char *var_type = 0; ++ const char *var_type = 0; + if (!strcasecmp(str, "dd")) + { + var_type = "unsigned int"; +@@ -655,7 +650,7 @@ + return(var_type); + } + +-void output_parser_start(ostream& c_stream, string& cheader_file) ++void output_parser_start(ostream& c_stream, const string& cheader_file) + { + c_stream << "/*\n" + << "Config file handler generated by Nach's Config file handler creator.\n" +@@ -1540,7 +1535,7 @@ + + #define CONFIG_COMMENT (config_comment ? config_comment : "") + +-void parser_generate(istream& psr_stream, ostream& c_stream, ostream& cheader_stream, string cheader_file = "") ++void parser_generate(istream& psr_stream, ostream& c_stream, ostream& cheader_stream, const string& cheader_file = "") + { + current_location.line_number = current_location.column_number = 0; + ostringstream cvars(""), hvars(""); +@@ -1549,8 +1544,8 @@ + while (!psr_stream.eof()) + { + char *token; +- char *parser_comment; +- char *config_comment; ++ const char *parser_comment; ++ const char *config_comment; + + + psr_stream.getline(line, LINE_LENGTH); +@@ -1584,7 +1579,7 @@ + { + if ((*token == '#') || (*token == '%')) + { +- char *next_token = get_token(0, " "); ++ const char *next_token = get_token(0, " "); + handle_directive(token+1, next_token); + + if (cheader_stream && (!next_token || strncasecmp(next_token, "PSR_", strlen("PSR_")))) +@@ -1596,7 +1591,7 @@ + + string varname; + string dependancy; +- char *d; ++ const char *d; + + if ((d = strchr(token, ':'))) + { +@@ -1619,8 +1614,8 @@ + if ((!is_array && !is_packed && !is_ptr) || + ((token = get_token(0, " ")) && (array = enhanced_atoi(token)) && (token = get_token(0, " ")))) + { +- char *asm_type = token; +- char *var_type = convert_asm_type(asm_type); ++ const char *asm_type = token; ++ const char *var_type = convert_asm_type(asm_type); + + if (var_type) + { +@@ -1828,7 +1823,7 @@ + } + } + +-int main(size_t argc, const char **argv) ++int main(int argc, const char *const *const argv) + { + const char *cheader_file = 0; + bool compile = false; +@@ -1880,7 +1875,7 @@ + << "\n" + << "Options:\n" + << "\n" +- << " -Ddefine Define a processor director. Example: -D__MSDOS__\n" ++ << " -Ddefine Define a processor director. Example: -D__WIN32__\n" + << " Can specify multiple defines.\n" + << "\n" + << " -cheader Create a C/C++ header with the following name.\n" +diff -urNad zsnes-1.510~/src/tools/archopt.c zsnes-1.510/src/tools/archopt.c +--- zsnes-1.510~/src/tools/archopt.c 2006-12-28 21:50:31.000000000 -0800 ++++ zsnes-1.510/src/tools/archopt.c 2007-10-30 21:30:35.000000000 -0700 +@@ -1,8 +1,30 @@ ++/* ++Copyright (C) 2005-2007 Nach, grinvader ( http://www.zsnes.com ) ++ ++This program is free software; you can redistribute it and/or ++modify it under the terms of the GNU General Public License ++version 2 as published by the Free Software Foundation. ++ ++This program is distributed in the hope that it will be useful, ++but WITHOUT ANY WARRANTY; without even the implied warranty of ++MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++GNU General Public License for more details. ++ ++You should have received a copy of the GNU General Public License ++along with this program; if not, write to the Free Software ++Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ++*/ ++ + #include + #include + #include + #include + ++#ifdef _M_X64 ++#define __x86_64__ ++#endif ++ ++#ifdef __GNUC__ + #ifdef __x86_64__ + #define cpuid(in, a, b, c, d) asm volatile("cpuid": "=a" (a), "=b" (b), "=c" (c), "=d" (d) : "a" (in)); + #else +@@ -13,6 +35,22 @@ + movl %%ebx,%%edi;\ + popl %%ebx": "=a" (a), "=D" (b), "=c" (c), "=d" (d) : "a" (in)); + #endif ++#else ++char cpubuf[256]; ++int z_in, z_a, z_b, z_c, z_d; ++void cpuid_run() ++{ ++ _asm { ++ mov eax,z_in ++ cpuid ++ mov z_a,eax ++ mov z_b,ebx ++ mov z_c,ecx ++ mov z_d,edx ++ }; ++} ++#define cpuid(in, a, b, c, d) z_in = in; cpuid_run(); a = z_a; b = z_b; c = z_c; d = z_d; ++#endif + + char *x86_flags[] = + { "fpu", "vme", "de", "pse", "tsc", "msr", "pae", "mce", +@@ -62,6 +100,7 @@ + { + int have = 0x200000; + #ifndef __x86_64__ ++ #ifdef __GNUC__ + asm volatile + ( + " pushfl;" +@@ -76,6 +115,23 @@ + : "=a" (have) + : "c" (have) + ); ++ #else ++ z_c = have; ++ _asm { ++ mov ecx,z_c ++ pushfd ++ pop eax ++ mov edx,eax ++ xor eax,ecx ++ push eax ++ popfd ++ pushfd ++ pop eax ++ xor eax,edx ++ mov z_a,eax ++ }; ++ have = z_a; ++ #endif + #endif + return(have); + } +@@ -196,238 +252,268 @@ + cpu = "native"; + #endif + #endif +- +- if (!cpu && *cpu_family && *vendor_id) ++ if (!cpu) + { +- if (!strcmp(vendor_id, "AuthenticAMD") || strstr(model_name, "AMD")) ++ if (!cpu && *cpu_family && *vendor_id) + { +- if (strstr(flags, " mmx ")) ++ #ifdef __GNUC__ ++ if (!strcmp(vendor_id, "AuthenticAMD") || strstr(model_name, "AMD")) + { +- #if __GNUC__ > 2 +- if (strstr(flags, " 3dnow ")) ++ if (strstr(flags, " mmx ")) + { +- if (strstr(flags, " 3dnowext ") && (atoi(cpu_family) > 5)) ++ #if __GNUC__ > 2 ++ if (strstr(flags, " 3dnow ")) + { +- #if __GNUC__ > 3 || __GNUC_MINOR__ > 0 +- if (strstr(flags, " sse ")) ++ if (strstr(flags, " 3dnowext ") && (atoi(cpu_family) > 5)) + { +- #if __GNUC__ > 3 || __GNUC_MINOR__ > 3 +- if (strstr(flags, " sse2 ") && strstr(flags, " lm ")) //Need two checks to protect Semprons ++ #if __GNUC__ > 3 || __GNUC_MINOR__ > 0 ++ if (strstr(flags, " sse ")) + { +- if (strstr(model_name, "Opteron")) +- { +- cpu = "opteron"; +- } +- else if (strstr(model_name, "Athlon(tm) 64")) //Also athlon-fx ++ #if __GNUC__ > 3 || __GNUC_MINOR__ > 3 ++ if (strstr(flags, " sse2 ") && strstr(flags, " lm ")) //Need two checks to protect Semprons + { +- cpu = "athlon64"; ++ if (strstr(model_name, "Opteron")) ++ { ++ cpu = "opteron"; ++ } ++ else if (strstr(model_name, "Athlon(tm) 64")) //Also athlon-fx ++ { ++ cpu = "athlon64"; ++ } ++ else ++ { ++ cpu = "k8"; ++ } + } +- else ++ #endif ++ if (!cpu) + { +- cpu = "k8"; ++ if (strstr(model_name, "Athlon(tm) 4")) ++ { ++ cpu = "athlon-4"; ++ } ++ else if (strstr(model_name, "Athlon(tm) MP")) ++ { ++ cpu = "athlon-mp"; ++ } ++ else ++ { ++ cpu = "athlon-xp"; ++ } + } + } ++ ++ if (!cpu && (atoi(model) > 3)) ++ { ++ cpu = "athlon-tbird"; ++ } + #endif ++ + if (!cpu) + { +- if (strstr(model_name, "Athlon(tm) 4")) +- { +- cpu = "athlon-4"; +- } +- else if (strstr(model_name, "Athlon(tm) MP")) +- { +- cpu = "athlon-mp"; +- } +- else +- { +- cpu = "athlon-xp"; +- } ++ cpu = "athlon"; + } + } + +- if (!cpu && (atoi(model) > 3)) +- { +- cpu = "athlon-tbird"; +- } +- #endif +- ++ #if __GNUC__ > 3 || __GNUC_MINOR__ > 0 + if (!cpu) + { +- cpu = "athlon"; ++ int model_num = atoi(model); ++ if ((model_num == 9) || (model_num >= 13)) ++ { ++ cpu = "k6-3"; ++ } ++ else ++ { ++ cpu = "k6-2"; ++ } + } ++ #endif + } ++ #endif + +- #if __GNUC__ > 3 || __GNUC_MINOR__ > 0 + if (!cpu) + { +- int model_num = atoi(model); +- if ((model_num == 9) || (model_num >= 13)) +- { +- cpu = "k6-3"; +- } +- else +- { +- cpu = "k6-2"; +- } ++ cpu = "k6"; + } +- #endif +- } +- #endif +- +- if (!cpu) +- { +- cpu = "k6"; + } + } +- } +- else if (!strcmp(vendor_id, "GenuineIntel") || strstr(model_name, "Intel")) +- { +- #if __GNUC__ > 2 +- if (strstr(flags, " mmx ")) ++ else if (!strcmp(vendor_id, "GenuineIntel") || strstr(model_name, "Intel")) + { +- if (strstr(flags, " sse ")) ++ #if __GNUC__ > 2 ++ if (strstr(flags, " mmx ")) + { +- if (strstr(flags, " sse2 ")) ++ if (strstr(flags, " sse ")) + { +- #if __GNUC__ > 3 || __GNUC_MINOR__ > 2 +- if (strstr(flags, " pni ") && strcmp(cpu_family, "6")) ++ if (strstr(flags, " sse2 ")) + { +- if (strstr(flags, " lm ")) ++ #if __GNUC__ > 3 || __GNUC_MINOR__ > 2 ++ if (strstr(flags, " pni ") && strcmp(cpu_family, "6")) + { +- cpu = "nocona"; ++ if (strstr(flags, " lm ")) ++ { ++ cpu = "nocona"; ++ } ++ else ++ { ++ cpu = "prescott"; ++ } + } +- else ++ #endif ++ ++ if (!cpu) + { +- cpu = "prescott"; ++ if (!strcmp(cpu_family, "6")) ++ { ++ #if __GNUC__ > 3 || __GNUC_MINOR__ > 3 ++ cpu = "pentium-m"; ++ #else ++ cpu = "pentium3"; ++ #endif ++ } ++ else ++ { ++ #if __GNUC__ > 3 || __GNUC_MINOR__ > 3 ++ if (strstr(model_name, "Mobile")) ++ { ++ cpu = "pentium4m"; ++ } ++ #endif ++ ++ if (!cpu) ++ { ++ cpu = "pentium4"; ++ } ++ } + } + } +- #endif +- +- if (!cpu) ++ else + { +- if (!strcmp(cpu_family, "6")) ++ #if __GNUC__ > 3 || __GNUC_MINOR__ > 3 ++ if (strstr(model_name, "Mobile")) + { +- #if __GNUC__ > 3 || __GNUC_MINOR__ > 3 +- cpu = "pentium-m"; +- #else +- cpu = "pentium3"; +- #endif ++ cpu = "pentium3m"; + } +- else +- { +- #if __GNUC__ > 3 || __GNUC_MINOR__ > 3 +- if (strstr(model_name, "Mobile")) +- { +- cpu = "pentium4m"; +- } +- #endif ++ #endif + +- if (!cpu) +- { +- cpu = "pentium4"; +- } ++ if (!cpu) ++ { ++ cpu = "pentium3"; + } + } + } + else + { +- #if __GNUC__ > 3 || __GNUC_MINOR__ > 3 +- if (strstr(model_name, "Mobile")) ++ if (!strcmp(cpu_family, "6")) + { +- cpu = "pentium3m"; ++ cpu = "pentium2"; + } +- #endif +- +- if (!cpu) ++ else + { +- cpu = "pentium3"; ++ cpu = "pentium-mmx"; + } + } + } +- else ++ #endif ++ ++ if (!cpu) + { +- if (!strcmp(cpu_family, "6")) ++ int family = atoi(cpu_family); ++ if (family > 5) + { +- cpu = "pentium2"; ++ cpu = "pentiumpro"; ++ } ++ else if (family == 5) ++ { ++ cpu = "pentium"; ++ } ++ } ++ } ++ #if __GNUC__ > 2 ++ #if __GNUC__ > 3 || __GNUC_MINOR__ > 2 ++ else if (!strcmp(vendor_id, "CentaurHauls") && strstr(flags, " mmx ")) ++ { ++ if (strstr(flags, " 3dnow ")) ++ { ++ if (atoi(cpu_family) > 5) ++ { ++ cpu = "c3"; + } + else + { +- cpu = "pentium-mmx"; ++ cpu = "winchip2"; + } + } ++ #if __GNUC__ > 3 || __GNUC_MINOR__ > 3 ++ else if (strstr(flags, " sse ")) ++ { ++ cpu = "c3-2"; ++ } ++ #endif ++ ++ if (!cpu) ++ { ++ cpu = "winchip-c6"; ++ } + } + #endif ++ #endif + + if (!cpu) + { + int family = atoi(cpu_family); + if (family > 5) + { +- cpu = "pentiumpro"; ++ cpu = "i686"; + } + else if (family == 5) + { +- cpu = "pentium"; ++ cpu = "i586"; + } +- } +- } +- #if __GNUC__ > 2 +- #if __GNUC__ > 3 || __GNUC_MINOR__ > 2 +- else if (!strcmp(vendor_id, "CentaurHauls") && strstr(flags, " mmx ")) +- { +- if (strstr(flags, " 3dnow ")) +- { +- if (atoi(cpu_family) > 5) ++ else if (family == 4) + { +- cpu = "c3"; ++ cpu = "i486"; + } + else + { +- cpu = "winchip2"; ++ cpu = "i386"; + } + } +- #if __GNUC__ > 3 || __GNUC_MINOR__ > 3 ++ #else //MSVC ++ cpu = cpubuf; ++ *cpu = 0; ++ ++ if (strstr(flags, " sse2 ")) ++ { ++ strcat(cpu, " /arch:SSE2"); ++ } + else if (strstr(flags, " sse ")) + { +- cpu = "c3-2"; ++ strcat(cpu, " /arch:SSE"); + } +- #endif + +- if (!cpu) ++ #ifdef __x86_64__ ++ if (strstr(flags, " lm ")) //64 bit + { +- cpu = "winchip-c6"; ++ if (!strcmp(vendor_id, "AuthenticAMD") || strstr(model_name, "AMD")) ++ { ++ strcat(cpu, " /favor:AMD64"); ++ } ++ else if (!strcmp(vendor_id, "GenuineIntel") || strstr(model_name, "Intel")) ++ { ++ strcat(cpu, " /favor:EM64T"); ++ } + } ++ #endif ++ #endif + } +- #endif +- #endif +- +- if (!cpu) ++ else + { +- int family = atoi(cpu_family); +- if (family > 5) +- { +- cpu = "i686"; +- } +- else if (family == 5) +- { +- cpu = "i586"; +- } +- else if (family == 4) +- { +- cpu = "i486"; +- } +- else +- { +- cpu = "i386"; +- } ++ puts("Could not open /proc/cpuinfo, and CPUID instruction not available."); ++ return(1); + } +- puts(cpu); +- } +- else +- { +- puts("Could not open /proc/cpuinfo, and CPUID instruction not available."); +- return(1); + } ++ puts(cpu); + + return(0); + } +diff -urNad zsnes-1.510~/src/tools/depbuild.cpp zsnes-1.510/src/tools/depbuild.cpp +--- zsnes-1.510~/src/tools/depbuild.cpp 2006-12-27 03:04:05.000000000 -0800 ++++ zsnes-1.510/src/tools/depbuild.cpp 2008-05-14 15:34:13.000000000 -0700 +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + using namespace std; + + #include "fileutil.h" +@@ -183,7 +184,7 @@ + } + } + +-int main(size_t argc, const char *const *const argv) ++int main(int argc, const char *const *const argv) + { + if (argc < 5) + { +diff -urNad zsnes-1.510~/src/tools/strutil.h zsnes-1.510/src/tools/strutil.h +--- zsnes-1.510~/src/tools/strutil.h 2006-12-27 03:04:05.000000000 -0800 ++++ zsnes-1.510/src/tools/strutil.h 2008-05-14 15:36:31.000000000 -0700 +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include + + struct ci_char_traits : public std::char_traits + { --- zsnes-1.510.orig/debian/examples/debian.smc.gz.uu +++ zsnes-1.510/debian/examples/debian.smc.gz.uu @@ -0,0 +1,55 @@ +begin 644 debian.smc.gz +M'XL(""Y(`SL``V1E8FEA;BYS;6,N,0#MG6N4'$45Q_^3GG;]^J6U6W +MJFXW'P#(LYG=EV\8/7'XPB>+Q?NGQBI"(O$@>` +M*4`*\<`]XQ-GB^/>GZ./WSU^[._J\8UBVIDX0TQC(B/4@Y-+Q51J=!)C4SON +MF)PWIFZGQZ:0G1P<4\\.5?1)/9;O/'9TW'_LWD?'VX_E)B"N5'X=&JFL3QU[ +MYM"9E?7YQC^ON,LYE*_D3ZC3-E4KA$P).4_(`2'30@X*.5_(C)!9(1<(N5#( +M(2&'A5QDCL7FR)DC;X[3S#%BCM/-L40?ICERJ9#+A#Q+R.6Z3Y8+N<(<*\VQ +M2M];)63!'$5S""'/$7*UD&N$/%?(M4*N$W*]D.<)N4'(C4*>+^0%0FX2TNM@ +M.:\B!RHR79&#%3F_(C,5F:W(!16YL"*'*G*X(A=5MN75.+6JEZR[_RHMK6KG +M[$M]S2D,^0`*J%HU::-I&8DRC(:GL^GGFR<>CM6[C**9J-"\*T0I*LKR?J'8M707U)>1/FB1[U0Y7JX#C^U;-_@)K%/Q^W=W*1 +M^[G`V":UOQG3OEG,**FA'%-O2=4:;76X_*KR(J,\C#*C:F@F]H^+8UI?C]S7 +M[7-'WS[^39PT=3@QY5:5;4&5HKU+65K2,.V?-5XV+>67,:YD0(GK29B6\:QD +M:K'KM?P%C^$A_#5F?)VV]W&M`+)&HI2\OHF;WS.JA;I?:][9SH`WQ_9:=`53 +M[JRRMGNG>RTI0G2KZKA0>9_&O(@N%Y(PQ]OCH^7?,364O?@M1C0I(P-&,I;U +MI168(;J&,+7`Z,3CSL[%2L+L5OV?5$8F)&%FO!GD]X#-OM.ZJ/UL0'1988:Q +M0LDH+O8D:N_V33.F_IFV-(Q$V^_*'D^2.6!MGR^V^/#K?(UN4 +M)!.=O\F1K2DGQD=P[SIIZ?\Z#B=&6*,K_J/]K]><6[$/8[@,J['$6H;CK:[; +MU"Q,9BARQ]]WW%VF:?%/>WC;L?G#"!8DCL$*7(J#^).* +ML"UF#[)3PPU*_X1:@>,92-B?_BX8YF2?^[^;`3B1NP6S +M>^>\"(KVC[:JF>AV(]'F7]7;G7/6]3'H79Q_9:^.>D1C\RE^02F4LX>?I_#4L[@$X3KE6K.R +M_2P?]+=>ORTD'W7[4'EM6C8A?;^6X)/6YY+F9[9;PGJ5 +MFI6K_@N48WM];N3=]-VQIFDM;VK&U>\FIS/9N/7!CTLEL?U3U1.\6+-.WO2)A<5^]%[4\$ +M7LUF8[;W(UNMKK7U`7'">L=QX"2,;RHD89HAZ>5)F$[+[?I>+Y^>=3J3CDNO +MNR6.N/2VVSO;YY>.Z!@.T]W_T<^3O=94VYP),A`0W0=A@J^^MK*"ZX\M"=8? +MS52(Q-+J?D&-K"]>W/1XBW2CL(;H^M0I6<^4Z/IO5K6$_*/E^*M;U;K_!.,_ +MZ?.C2W1[]U^_W8]+M6C]:F5+2O_=CS[N)[X2GH[:MU\M5P=CPU\6XN:%7/S=QMP]A,'D?LF8_R(IR]H8LG;L+W&.DU1^ +MH;U^JI?3HL7:6F;0WA=[[M+9.>+\]Q/8C'46=(V?I?_TR.FQ.X)]5E>#NZN- +MI+FAJ9H9$I\;)>T-R:0P3T5-&H/F/Z&<&ADUTQ8H68@A#*N_B[`X(?<*D\=I +MRF8$IWN_E^`,]7LIEO5I/XJESIFA>V>I$I;W9;U"6:N4*<)*K+)\7@M3A,#9 +M[5_G8#76X%QSO1;KL+ZG_7G8@(W>]?FX(*#9U//CE^8Y>&[[^J*`5TKC/*\/ +M^TUX?OOZ!>VK%ZI_%^-%?=FO+?O7EYCSB[$9+U%_MR2\/03MV^9X*2K>U1BV +MXF5]6`.7XN7MZ\OP"KP2E^,*O`JO[LL:>(V*D]>V?[T.K\<;\$9L+L=;=+,9 +M;\*;\99^'[=PI?+@K7.PWXRWX>UXQQQ*>">NPKNP;4X^7(UK\.XYE*!Y#[;C +MO7,LX]2X%CO:U]=Y?]^']_=M_P'L]*ZNQR[OZ@9\L"_;&_$A?!@?P4?Q,>S& +MQ_$)?!)[\"GL56N\@W'=R"+^"+F,`D;L67\&5\ +M!3O+^_%5I?L:OH[;<#N^@6_BCHBUQ)WJO+]\B_+[6_BV:L693EJ_QW/_AY\5\GW3/NG\7UC_P/\$(<2[>]5S_\(/\9/\%/\ +M3/W^N;&_S;G/V/\"UY9_F6@/_`J_QOWX#7Z+!_`@?J=RN8=P&`_C]W@$CZK] +M]RC^@$?*?U1//H;'^QJ19P/E_[4#A!!"""&$$$(((8000@@AA!!"""&$$$(( +M(8000@@AA!!"""&$$$(((8000@@AA!!"""&$$$(((820GFS=?LUU5U]?W+I] +MYZYBX'96_T]45O[CR9'.K1T'NRW5;^>_X"`AA!!"""&$$$(((8000@@AA!!" +M""&$$$(((8000@@AA!!"""&$$$(((8000@@AA!!"""&$$$(((8000@@AA!!" +;""&$$$(((8000@@AA!#R?\!_`(J<0S8``@$` +` +end --- zsnes-1.510.orig/debian/examples/README +++ zsnes-1.510/debian/examples/README @@ -0,0 +1,7 @@ +Included here is a simple test cartridge that paints a Debian logo in the +emulator's window. To try it, simply run +`zsnes /usr/share/doc/zsnes/examples/debian.smc.gz'. + +The source code is available in the source/ subdirectory under the GNU General +Public License. Unfortunately, the necessary tools for its assembly are not yet +packaged in Debian. --- zsnes-1.510.orig/debian/examples/source/debian.asm +++ zsnes-1.510/debian/examples/source/debian.asm @@ -0,0 +1,270 @@ +; Copyright (C) 2001 Steven Fuller +; +; This program is free software; you can redistribute it and/or +; modify it under the terms of the GNU General Public License +; as published by the Free Software Foundation; either version 2 +; of the License, or (at your option) any later version. +; +; This program is distributed in the hope that it will be useful, +; but WITHOUT ANY WARRANTY; without even the implied warranty of +; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +; +; See the GNU General Public License for more details. +; +; You should have received a copy of the GNU General Public License +; along with this program; if not, write to the Free Software +; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +.org $8000 +.nmi _nmi +.reset Start +.name "Debian Demo " + +; v1.0 +; Show a logo + +Start: + sei + phk + pld + clc + xce + + rep #$30 ; X/Y = 16, A = 8 + sep #$20 + + jsr vblwait + + jsr CommonInit + + lda #$01 ; Mode 1 + sta $2105 + + lda #$01 + sta $4200 + lda #$ff + sta $4201 + lda #$81 ; Initialize control pad + sta $4212 + + + stz $2133 + + + ldy #$0000 + ldx #$0000 + stz $2121 +setpal: + lda PAL,x + sta $2122 ; 1st byte + inx ; next + lda PAL,x ; 2nd byte + sta $2122 + inx + iny + cpy PALc + bne setpal ; no? try again + + lda #$01 ; Activate BG1 + sta $212C + + lda #$80 + sta $2115 + +; BG1 Tilemap (at $0000) +; lda #$00 ; BG1 tilemap pos +; sta $2107 +; +; ldx #$1000 +; stx $2116 +; ldx #$0000 +;ll2: +; ldy TILEMAP, x +; sty $2118 +; inx +; inx +; cpx #$0800 +; bne ll2 + +; BG1 Tilemap (at $0000) + lda #$00 + sta $2107 + + ldx #$0000 + stx $2116 + + ldx #$1801 + stx $4300 + ldx #TILEMAP + stx $4302 + lda #$00 + sta $4304 + ldx #$0800 + stx $4305 + lda #$01 + sta $420B + +; BG1 Tiledata (at $1000) + lda #$01 + sta $210B + + ldx #$1000 + stx $2116 + + ldx #$1801 + stx $4300 + ldx #TILES + stx $4302 + lda #$00 + sta $4304 + ldx TILESc + stx $4305 + lda #$01 + sta $420B + +; BG1 Tile data (at $1000) +; lda #$01 +; sta $210B +; +; ldx #$2000 +; stx $2116 +; +; ldx #$0000 +;ll1: +; ldy TILES, x +; sty $2118 +; inx +; inx +; cpx TILESc +; bmi ll1 + + ;jsr vblwait + + lda #%00001111 ; turn the screen on + sta $2100 + + cli ; enable interrupts, i guess + + +main: + jsr vblwait +_joypad: + lda $4212 + and #$01 + bne _joypad + lda $4219 + and #$10 + beq main + + jmp main + +vblwait: +; clc +; lda $4210 +; adc #$80 +; bcc _vblwait + lda $4210 + bpl vblwait + lda $4210 + rts + +; Just set some stuff to default values +CommonInit: + lda #$80 + sta $2100 + stz $2101 + stz $2102 + stz $2103 + stz $2104 + stz $2105 + stz $2106 + stz $2107 + stz $2108 + stz $2109 + stz $210a + stz $210b + stz $210c + stz $210d + stz $210d + stz $210e + stz $210e + stz $210f + stz $210f + stz $2110 + stz $2110 + stz $2111 + stz $2111 + stz $2112 + stz $2112 + stz $2113 + stz $2113 + stz $2114 + stz $2114 + lda #$80 + sta $2115 + stz $2116 + stz $2117 + stz $211a + stz $211b + lda #$01 + sta $211b + stz $211c + stz $211c + stz $211d + stz $211d + stz $211e + lda #$01 + sta $211e + stz $211f + stz $211f + stz $2120 + stz $2120 + stz $2121 + stz $2123 + stz $2124 + stz $2125 + stz $2126 + stz $2127 + stz $2128 + stz $2129 + stz $212a + stz $212b + stz $212c + stz $212d + stz $212e + stz $212f + stz $4200 + lda #$ff + sta $4201 + stz $4202 + stz $4203 + stz $4204 + stz $4205 + stz $4206 + stz $4207 + stz $4208 + stz $4209 + stz $420a + stz $420b + stz $420c + stz $420d + rts + +PALc: .dw 16 +PAL: .incbin "deb.col" + +TILESc: .dw 9696 +TILES: +.incbin "deb.set" + +TILEMAP: ; 2048 bytes +.incbin "deb.map" + +_nmi: rti + + +; ZSNES hack (so it shows up as lorom) +.bank 1 +.org $FFF0 +.db $00, $00, $00, $00, $00, $00, $00, $00 +.db $00, $00, $00, $00, $00, $00, $00, $00 --- zsnes-1.510.orig/debian/examples/source/deb.map.uu +++ zsnes-1.510/debian/examples/source/deb.map.uu @@ -0,0 +1,49 @@ +begin 644 deb.map +M```````````````````````````````````!``(``P`$``4`!@`````````` +M```````````````````````````````````````````````````````'``@` +M"0`)``H`"P`,``D`#0`.``\````````````````````````````````````` +M`````````````````!``$0`)`!(`$P`````````4`!4`"0`6`!<````````` +M```````````````````````````````````````````8`!:`&0`````````` +M`````````!H`"0`;```````````````````````````````````````````` +M`````!P`%H`0P````````````````````````!T`'@`?```````````````` +M````````````````````````````(``A`"(````````````C`"0`)0`F```` +M```G`"@`*0```````````````````````````````````````````"H`*P`L +M`````````"T`+@``````````````+P`P```````````````````````````` +M```````````````````Q`#(````````````S````````````(````#&`-``` +M````````````````````````````````````````````+P`U```````````` +M-@```````````#<````X`#D````````````````````````````````````` +M`````````"\`)T```````````#H``````#L`/``]````/@`_```````````` +M```````````````````````````````````O`$````````````!!`$(````` +M````0P!$`$4````````````````````````````````````````````````` +M1@!'````````````2`!)`$H`2P!,`$T`3@`````````````````````````` +M`````````````````````````$\`"0!0````````````40!2`%,`5``\0``` +M```````````````````````````````````````````````````\`%4`5@!7 +M```````````````````````````````````````````````````````````` +M``````````````````!8``D`60`````````````````````````````````` +M````````````````````````````````````````````/`!:`%L`7``````` +M```````````````````````````````````````````````````````````` +M````````````70!>`%\`8``````````````````````````````````````` +M````````````````````````````````````````/`!A`&(`8P`````````` +M```````````````````````````````````````````````````````````` +M`````````````&0`90!F```````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M`````````````````````````````````````````````&<`:``````````` +M`&D`````````:@!K```````````````````````````````````````````` +M``````````!L`&T`````````;@!O`````````'``<0`````````````````` +M``````````````````````````````!R`',`=`!U`'8`=P!X`'D`>@![`'P` +M?0!^`'\`@`"!`((`@P"$`(4`?$"&````````````````````````````AP"( +M`(D`B@"+`(P`C0".`(\`D`"1`)(`;4"3`)0`B`"5`)8`EP"8`)D`F@";```` +M``````````````````"<`)T```"30(H`;P">`)\`;0!O`*``H0"B`&U`DP!R +M`*,`I`"6`)-`;0```)U`G$``````````````````````G`"E````DT"*`*8` +MIP"G`*@`;P```*D`J@!M0),`JP"L`*T`E@"30&T```"=0)Q````````````` +M`````````*X`;P"O`+``L0"R`+,```"T`&\```"7@+4`;4"3`+8`9T"W`)8` +MDT!M````G4"<0````````````````````````+@`N0"Z`+L`O`"]`+X`OP#` +M`,$`P@##`,0`Q0#&`,<`R`#)`,5`R@```,L`S``````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +7```````````````````````````````` +` +end --- zsnes-1.510.orig/debian/examples/source/deb.set.uu +++ zsnes-1.510/debian/examples/source/deb.set.uu @@ -0,0 +1,149 @@ +begin 644 deb.set +M``````````````````````````````````````````````````````````,` +M'P!_````````````````````````````!``?`'\`_P#_`/\````````````` +M````````````#`#P`/\`_P#_`/\`_P``````````````````````!@````P` +MPP#_`/\`_P#_```````````````````````````````8`/X`_P#_`/\````` +M``````````````````````````````#P`/P`_P`````````````````````` +M``````````````$``P`'```````````````````````!``<`#P`?`#\`?P#_ +M`/\``````````````````````/\`_P#_`/\`_P#_`/\`_P`````````````` +M````````_P#_`/\`_P#_`/\`_P#@``````````````````````#_`/\`_P#_ +M`/\`_P"``````````````````````````/\`_P#_`/\`_P#_`#\``0`````` +M````````````````SP#_`/\`_P#_`/\`_P#_```````````````````````` +M`(``@`#H`/8`_P#_`/\``````````````````````````````````````,`` +MX``````````````````````````````````!``,`!P`/```````````````` +M```````/`!\`?P#_`/\`_P#_`/\``````````````````````/\`_P#_`/\` +M_@#_`(``````````````````````````_`#X`/@`P`!````````````````` +M```````````````_``<``0```````````````````````````````````/\` +M_P#_`'\`'P`'``,`````````````````````````^`#\`/X`_P#_`/\`_P#_ +M`````````````````````````````````(``P`#@`.`````````````````` +M``````\`'P`?`#\`?P!_`/\`_P``````````````````````_@#]`/@`_`"` +M``````````````````````````````!_`#\`'P`/``<``P`!``$````````` +M`````````````/``^`#X`/P`_`#^`/X`_P``````````````````````0`"! +M`($``P`#``\`'P`?``````````````````````#_`'\`?P`_`#\`'P`?`!\` +M`````````````````````/\`_P#_`-\`RP#!`.$`X``````````````````` +M`````````(``@`````````"```````````````````````````````````@` +M"``(`````````````````````````#\`/P!_`'\`?P#_`/\`_P`````````` +M````````````^`#P`.``X`#``.``X`#````````````````````````````` +M```#``\`'P`_`'X`````````````````````````'P#_`/\`_`#@`(`````` +M``````````````````````#^`/\``0`````````````````````````````` +M````````@`#@`#``"``$``(```````````````````````\`#P`/``\`#P`/ +M``\`#P``````````````````````Z`#X`/@`_`#\`/P`_`#Z```````````` +M``````````````````!``$```````"````````````````````````$``0`! +M``,``P`#``<`!P``````````````````````_P#_`/\`_P#_`/X`_`#\```` +M``````````````````#``(``@``````````````````````````````````` +M``````````$``P`'``X`#@``````````````````````>`#P`,``@`"````` +M```````````````````````````'``<`!P`'``<`!P`'``<````````````` +M`````````/@`^`#\`/X`_`#\`/P`_```````````````````````!P`'``,` +M`P`#``<`!P`'``````````````````````#\`/P`_`#\`/P`_`#X`/@````` +M``````````````````P`'``<`!@`.``X`#@`.``````````````````````` +M_`#_`/\`_@#^`/P`_`#\``````````````````````#X`/@`^`#X`/@`\`#P +M`/```````````````````````'@`>`!X`'@`?`!\`'P`?``````````````` +M``````````````````````````"@```````````````````````'``<`!P`' +M``<`!P`/``\``````````````````````/@`\`#P`/``\0#P`/``X``````` +M````````````````?`!\`'P`?@!^`'X`/@`^```````````````````````` +M`````````````````!\```````````````````````$````````````````` +M``````````````````````````!``(`````````````````````````````` +M```````/`!\`/P!_`/\`_P#]`/@``````````````````````.``P@"``(`` +M````````````````````````````````\`#X`/@`_`#\`/P`_`#\```````` +M```````````````?`!\`CP"'`$,`2``D`!0````````````````````````` +M``"``(``P`#@`&``,``````````````````````````````````````````+ +M```````````````````````!``,`!P`/`!\`?P#_`/X````````````````` +M`````/``\`#X`.@`P`"`````````````````````````````!P`'``<`!P`' +M``,``P`#``````````````````````#\`/X`_@#^`/X`_P#_`/\````````` +M`````````````!(`"0`!````````````````````````````````````'`!& +M`*,`T0!X`#X`'P`'``````````````````````````````#``'``/@#/`.$` +M```````````````````````````````````#`/\`_P`````````````````` +M````````````#P!_`/\`_P#_```````````````````````/`!\`_P#_`/\` +M_@#X`.```````````````````````/P`\`#@`,`````````````````````` +M`````````````P`#``,``P`#``$``0`!``````````````````````"(`)@` +MG`#<`/X`_@#^`/\```````````````````````,````````````````````` +M````````````````````\`#^`#\`!P`````````````````````````````` +M```_````P`#_`/X``````````````````````````````/\`\````,`````` +M````````````````````````````_P#_`/\`_P!_`'\`/P`_```````````` +M``````````#]`/P`_@#_`/\`_P#_`/\````````````````````````````` +M``````"``,``@```````````````````````'P`?``\`#P`'``<``P`!```` +M``````````````````"``,``P`#``.``\`#P`/@````````````````````` +M`/\`_P!_`#\`'P`?``\`!P``````````````````````_`#^`/\`_P#_`/\` +M_P#_``````````````````````````````!``,``P`#@`.`````````````` +M``````````,``0``````````````````````````````````````_P#_`/\` +M?P`_`!\`#P`#``````````````````````#P`/@`_P#_`/\`_P#_`/\````` +M````````````````````````````@`#``.``^``````````````````````` +M_P!_`#\`#P`#``````````````````````````````#P`/X`_P#_`/\`_P`? +M``,``````````````````````````````(``Z`#\`/X`_P`````````````` +M````````?P`/``$```````````````````````````````````"``.``_``_ +M``,``````````````````````````````````````/``_P`````````````` +M``````````````````````````````````,"```````````````````````` +M`````````````!@`^`````````````````````````````````````$!!P`_ +M```````````````````````````````!`P`'``\`'P`_```````````````` +M````````````````@(!`P"#@$/``````````````````````#P`/"`<`!P`' +M``<`!P`'``````````````````````#X`/@`^`#X`/@`^`#X`/@````````` +M``````````````<$`0`!`0``````````````````````````````````_P#_ +M`/\`_P#_`/\`_P#_````````````````````````?P!_`#\`'P`/``<``P`` +M``````````````````````CX`/@`\`#@`,``@``````````````````````` +M``````````````````\('P`_`````````````````````````````````!<0 +M_P#_`/\```````````````````````<`!P`'``<`QP#_`/\`_P`````````` +M````````````^`#X`/@`^`CX"/@(^`CX"``````````````````````````` +M````````!P0?$#\@````````````````````````````````!P#_`/\`_P`` +M``````````````````````````````#X"/\`_P#_```````````````````` +M````````````````@`#``.```````````````````````/\`_P#_`/\`_P'_ +M`?\!_P$````````````````````````````````!`1\`/P`_```````````` +M`````````````````````/``_P#_`/\````````````````````````````` +M`````````(``P```````````````````````````````````````?P`_```` +M`````````````````````````````"`@X`#@`.`````````````````````` +M```````````````'!!\0?T`````````````````````````````````?`/\` +M_P#_`````````````````````````````````-`0_P#_`/\````````````` +M``````````````````````"``.``X``````````````````````````````` +M````````'P`/`````````````````````````````````!@`^(#Y`/L````` +M````````````````````````````\!#^`/\`_P`````````````````````` +M?P!_`/\`_P#_`/\`_@#^``````````````````````#_`/\`P``````````` +M`````````````````````````/\`_P`/``<`!P`'``<`!P`````````````` +M````````^`CX"/@(^`CX"/@(^`CX"``````````````````````_`']`?P!_ +M`'\`?P#_@/\``````````````````````/\`\!#``(``@`"``(``@``````` +M````````````````_P`?``\`!P`'``<`!P`'``````````````````````#P +M`/``\`#X"/@`^`#X`/@``````````````````````/\!_P'_`?\!_P'_`/\` +M_P``````````````````````?P!_`'\`\`#@(,``P`"````````````````` +M``````#_`/\`_P`_``\`#P`'``<``````````````````````.`@X`#P`/`` +M^`#X`/@`_`0`````````````````````X`#@`.``X`#@`.``X`#@```````` +M```````````````_`#\`/R`>`!@`$````````````````````````````/\` +M_P`_(`\`!P`/``<`!P``````````````````````\`#P`/``\`#P`/``\`#P +M```````````````````````/``\`!P`'``<`!P`'``<````````````````` +M`````/L`_P#_`/X`_`#\`/P`^```````````````````````_P#_`,=$```` +M``````````````````````````````#_`/\`_P#_`/\`_P#_`/^````````` +M`````````````("`@`"``(``@`"``(``@````````````````````````0`! +M``$``0`!``$``0`!``````````````````````#^`/X`_@#^`/X`_@#^`/X` +M``````````````````````````````````#_`/\`_P`````````````````` +M````!P`'``<`!P`'`/\`_P#_``````````````````````"``(`````````` +M``````````````````````````````<`!P`'``<$!P0#``,``P`````````` +M````````````_`#\`/P`_`#\`/P`_`#\```````````````````````````` +M`````'\`_P#_`/\```````````````````````<`!P`'``<`_P#_`/\`_P`` +M````````````````````_@#^`/X`_@#^`/X`_P'_```````````````````` +M``#_`/\`_P#_`/\`_P#_`'\``````````````````````/\`_P`````````` +M````````````````````````````^`#X```````````````````````````` +M```````````#``,``P`#``,``P`'!`,``````````````````````/P`_`#\ +M`/P`^`#X`/@`^```````````````````````?P!_`/\`_P#_`/\`_P#^```` +M``````````````````#_`(``@(`````````````````````````````````` +M`/\`!P`'``<`!P`'``<`#P@``````````````````````0`!``$``0$````` +M``````````````````````````````````"`@(``@`#``/@(```````````` +M``````````<`!P`'``<`#P@/``\`?T``````````````````````^`CX"/@` +M^`#X`/@`^`#X``````````````````````#_@'\`?P!_`'\`?P!_`#\````` +M`````````````````("`@`"``(``@`"``,``X``````````````````````` +M```````````````````(``````````````````````#X`/``\`#P`.``X`#` +M`,```````````````````````/\!_P'^`/\`_P#_`/\`_P`````````````` +M````````#P`/``\`'P`?`#\`/P#W``````````````````````#_`/\`?P!_ +M`#\`#P`#`@```````````````````````/\`_P#_`/\`_P#_`/@````````` +M````````````````_P#_`/<`]P#G`,<```````````````````````````#X +M`/@`^`#\!/P`_````````````````````````````#\`/R`?``\``P`!```` +M````````````````````````^`#_`/\`_P#_`/\`"P@````````````````` +M`````````/\`_P#_`/\`_P#_`````````````````````````'@(\`#P`/$` +M\0#P````````````````````````````_P#_`/\`_P#_`/^`!P`````````` +M`````````````````("`_P#_`/\`_P#_`````````````````````````!\` +M_P#_`/X`_`#X`.`@````````````````````````@``````````````````` +M```````````````````````?`!\`'P`?`!\`/P`````````````````````` +M`````.``X`#@`.``X`#P````````````````````````````_P!_`'\`/P`? +M``<``0$```````````````````````#_`/\`_P#_`/\`_P#X"``````````` +M`````````````/<`YP#G`,<`QP"'@```````````````````````````\`#P +M`/@(^`#X`/@```````````````````````````#X`/@`^`#X`/@`^``````` +M`````````````````````'\`_X!_`/\`_P#_```````````````````````` +C````@`"``(``@`"``(`````````````````````````````` +` +end --- zsnes-1.510.orig/debian/examples/source/deb.col.uu +++ zsnes-1.510/debian/examples/source/deb.col.uu @@ -0,0 +1,4 @@ +begin 644 deb.col +@``#_?SHHNEZZ7KI>_W^Z7KI>_W^Z7KI>NEZZ7KI>NEX` +` +end