head 1.8; access; symbols pkgsrc-2013Q2:1.8.0.8 pkgsrc-2013Q2-base:1.8 pkgsrc-2012Q4:1.8.0.6 pkgsrc-2012Q4-base:1.8 pkgsrc-2011Q4:1.8.0.4 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q2:1.8.0.2 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.7.0.14 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.12 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.10 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.8 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.6 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.4 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.2 pkgsrc-2009Q3-base:1.7 pkgsrc-2008Q4:1.6.0.38 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.36 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.34 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.32 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.30 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.28 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.26 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.24 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.22 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.20 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.18 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.16 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.14 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.12 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.10 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.8 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.6 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.4 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.2 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.5.0.2 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.4.0.12 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.10 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.4.0.6 netbsd-1-6-1-base:1.4 netbsd-1-6:1.4.0.8 netbsd-1-6-RELEASE-base:1.4 pkgviews:1.4.0.4 pkgviews-base:1.4 buildlink2:1.4.0.2 buildlink2-base:1.4 netbsd-1-5-PATCH003:1.4 netbsd-1-5-PATCH001:1.4 netbsd-1-5-RELEASE:1.3 netbsd-1-4-PATCH003:1.3 netbsd-1-4-PATCH002:1.1.1.1 comdex-fall-1999:1.1.1.1 netbsd-1-4-PATCH001:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.8 date 2011.06.19.16.44.04; author dholland; state dead; branches; next 1.7; 1.7 date 2009.07.12.16.31.59; author dholland; state Exp; branches; next 1.6; 1.6 date 2004.08.13.16.12.25; author dillo; state dead; branches; next 1.5; 1.5 date 2004.06.05.11.56.31; author dillo; state Exp; branches; next 1.4; 1.4 date 2000.12.27.14.08.39; author dmcmahill; state Exp; branches; next 1.3; 1.3 date 2000.05.31.15.01.01; author dmcmahill; state Exp; branches; next 1.2; 1.2 date 2000.05.31.04.57.21; author dmcmahill; state Exp; branches; next 1.1; 1.1 date 99.05.18.23.14.16; author tv; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.05.18.23.14.16; author tv; state Exp; branches; next ; desc @@ 1.8 log @Update stella to 3.4.1. 3.4 to 3.4.1: (June 11, 2011) * Re-enabled 'grabmouse' commandline argument and associated functionality with the following changes: - it is changed in the "Input Settings' UI, not in 'Video Settings' - it only has meaning while in emulation mode - it is enabled by default * Fixed bug with emulation of paddles using the mouse most evident in Warlords; movement was being filtered out if the mouse was moved too fast. There's still more work required in this area, however. * Fixed bug with analog axes on gamepad devices, whereby jittering in these axes would override input from digital axis, hat or keyboard input. * Fixed bug when switching to the debugger and back again would sometimes cause an extra mouse motion event (which would cause the emulation to think the mouse was moved and move the player accordingly). * Tweaked bankswitch autodetection code for 4A50 bankswitching; several more test ROMs are automatically detected. * The 'saverom' debugger command now saves ROMs in your home directory by default if you don't specify a valid path. This fixes a bug whereby ROMs were saved in strange locations and couldn't later be found. * Fixed bug in automatically executing the debugger 'autoexec.stella' file; any commands it contained weren't actually being executed. * Zero-byte ROMs are no longer loaded and mis-detected as Supercharger images. 3.3 to 3.4: (May. 29, 2011) * Many improvements to input handling, particularly with the mouse and paddles: - The mouse can now be used to emulate a joystick, booster-grip or driving controller. - The mouse now controls only one device at a time (1 of 4 paddles, 1 of 2 joysticks, etc), instead of devices from both virtual ports. - The sensitivity for digital and mouse input (for paddles) can now be set separately with the 'dsense' and 'msense' commandline arguments, and from within the Input Settings UI. * Added support for the 2600-daptor device (2600-daptor.com), which is similar to a Stelladaptor but improves handling of paddles. Thanks go to Tom Hafner for a complimentary test sample of this device. * Added new controller types 'Paddles_IAxis', 'Paddles_IDir', and 'Paddles_IAxDr', which invert the paddle axis, direction, and axis+direction, respectively. These are used for certain ROMs that have the axis or direction inverted from normal (for example, using the paddles causes on onscreen object to move up and down vs. left and right). All applicable ROMs in the internal database have been updated. * Added preliminary support for emulating ARM code to the DPC+ bankswitching scheme (thanks to Batari). Related to this, fatal errors in the DPC+ ARM code are now caught and shown in the debugger. * Updated internal ROM properties database to ROM-Hunter version 6 (thanks go to RomHunter for his tireless research in this area). * The ROM audit dialog now automatically selects the current directory in the ROM launcher, and reloads the directory after the audit is complete. * Removed the 'grabmouse' functionality; the mouse is now always grabbed while playing a game, and released otherwise. * Updated built-in version of the PNG library to the latest version. @ text @$NetBSD: patch-ac,v 1.7 2009/07/12 16:31:59 dholland Exp $ Suppress pointless run of ctags at start of build. --- Makefile.orig 2009-06-21 18:15:06.000000000 -0400 +++ Makefile 2009-06-21 18:15:27.000000000 -0400 @@@@ -219,4 +219,4 @@@@ gp2x-organize: # Use Exuberant ctags (the one from Slackware's vim package, for instance), # not the one from emacs! tags: - ctags `find . -name '*.[ch]xx' -o -name '*.c' -o -name '*.y'` || true + true || ctags `find . -name '*.[ch]xx' -o -name '*.c' -o -name '*.y'` || true @ 1.7 log @Update emulators/stella to 2.8.4. pkgsrc changes: add LICENSE, add missing zlib buildlink, use desktopdb.mk. Upstream changes: far too many to list; see Changes.txt in distfile. @ text @d1 1 a1 1 $NetBSD$ @ 1.6 log @update to 1.4. Changes: * Codebase ported to SDL. X11/OSS ports have been discontinued. * Added OpenGL rendering support. (not enabled in pkgsrc) * Added more refined in-game GUI. * Added event remapping. Emulation keys can now be remapped to the keyboard or up to 4 joysticks. * Added native Stelladaptor support. Joysticks, paddles, and driving controllers have been tested. * Digital sound support has been greatly improved. * Added support for switchable palettes. * Added support for UA Limited style bankswitching (Funky Fish and Pleiades). * Switched to using high compatibility M6502 mode by default. This means old state saves from previous Stella versions will no longer work. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.5 2004/06/05 11:56:31 dillo Exp $ d3 10 a12 11 --- ../ui/x11/mainX11.cxx.orig 2003-02-18 02:19:45.000000000 +0100 +++ ../ui/x11/mainX11.cxx @@@@ -1536,7 +1536,7 @@@@ bool setupDirs() homePropertiesFile = homeDir + "/.stella/stella.pro"; systemPropertiesFile = "/etc/stella.pro"; homeRCFile = homeDir + "/.stella/stellarc"; - systemRCFile = "/etc/stellarc"; + systemRCFile = PKG_SYSCONFDIR "/stellarc"; return true; } @ 1.5 log @update to 1.3, prepare for forthcoming stella-sdl, take maintanership Changes since 1.1: * Improved TIA sound system so that games with digitized audio work * Added saving and loading of game state to the core; X11, SDL, and DOS versions current support saving and loading game state * Added support for F4 bankswitching method * Pitfall II DPC sound emulation completed * Support added for the Commavid (CV) bankswitching method. * Support added for the Megaboy cartridge. * Improved Supercharger emulation including a new BIOS that shows the vertical blue progress bars like the real thing. * Added snapshot support to the X11 and SDL versions. Pressing F12 saves the current screen in PNG format. Requires PNG library. * Added pause functionality to the core. Implemented in DOS, X11, and SDL versions for now. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @fix compilation on alpha. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2000/05/31 15:01:01 dmcmahill Exp $ d3 8 a10 4 --- makefile.orig Sat Feb 27 09:29:46 1999 +++ makefile Tue May 30 21:16:47 2000 @@@@ -35,8 +35,6 @@@@ ##============================================================================ d12 2 a13 38 -CXX = g++ -LD = g++ +LD = ${CXX} -LDFLAGS = LDLIBS = @@@@ -47,5 +45,5 @@@@ INCLUDES = -I. -I$(CORE) -I$(CORE)/m6502/src -I$(CORE)/m6502/src/bspf/src -CXXFLAGS = -O -Wall $(INCLUDES) $(SYS_INCLUDES) +CXXFLAGS += $(INCLUDES) $(SYS_INCLUDES) default: @@@@ -79,8 +77,7 @@@@ make xstella \ INCLUDES="$(INCLUDES) -I$(UI)/x11 -I$(UI)/sound" \ - SYS_INCLUDES="" \ + SYS_INCLUDES="-I$(X11BASE)/include" \ OPTIONS="-DBSPF_UNIX" \ - LDFLAGS="-L/usr/X11R6/lib" \ - LDLIBS="-lX11 -lXext" \ + LDLIBS="-L$(X11BASE)/lib -Wl,-R$(X11BASE)/lib -lX11 -lXext" \ OBJS="mainX11.o SndUnix.o" @@@@ -325,6 +322,12 @@@@ $(CXX) -c $(CXXFLAGS) $(OPTIONS) $(CORE)/m6502/src/M6502Low.cxx +.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "mipsel") || (${MACHINE_ARCH} == "sparc") +# avoide compiler bug on some systems +M6502Hi.o: $(CORE)/m6502/src/M6502Hi.cxx + $(CXX) -c -fno-rtti -fno-rtti $(INCLUDES) $(SYS_INCLUDES) $(OPTIONS) $(CORE)/m6502/src/M6502Hi.cxx +.else M6502Hi.o: $(CORE)/m6502/src/M6502Hi.cxx $(CXX) -c $(CXXFLAGS) $(OPTIONS) $(CORE)/m6502/src/M6502Hi.cxx +.endif NullDev.o: $(CORE)/m6502/src/NullDev.cxx @ 1.3 log @-ELF -Wl,-R fix -work around a pmax/sparc compiler bug. Don't optimize on the problem file on either of these 2 arch's. Fixes recently noted compile problems. @ text @d1 1 a1 1 $NetBSD$ d36 1 a36 1 +.if (${MACHINE_ARCH} == "mipsel") || (${MACHINE_ARCH} == "sparc") @ 1.2 log @work around a c++ -O2 bug on sparc and pmax by not using -O2 for the problem file on those 2 machines. fixes recently noted compile problems. @ text @d1 2 d30 1 a30 1 + LDLIBS="-L$(X11BASE)/lib -lX11 -lXext" \ @ 1.1 log @Initial revision @ text @a0 2 $NetBSD$ d2 2 a3 3 +++ makefile Tue May 18 10:37:57 1999 @@@@ -34,10 +34,8 @@@@ ## d13 1 a13 3 SRC = .. @@@@ -46,7 +44,7 @@@@ d20 1 a20 3 @@echo "" @@@@ -78,10 +76,9 @@@@ unix-x: d31 13 a43 1 linux-x: @ 1.1.1.1 log @Import stella-1.1, an Atari 2600 VCS (and compatibles) emulator written in C++. Took hints from the FreeBSD port, but rewrote this one from scratch. @ text @@