Commit Graph

2247 Commits

Author SHA1 Message Date
stephena e75156c878 Update PNG code to version 1.5.8.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2380 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-02-04 15:13:51 +00:00
stephena da9cfd8109 Updated several tools to automatically perform the work that I've been doing
manually up to this point:

 - 'rom_diff.pl' command inspects two directories and looks at differences
    in filenames, and copies ROMs into 3 new directories (ADDED, REMOVED,
    and CHANGED).  This is most useful for when RomHunter releases new
    romsets.

 - 'merge_props.pl' command merges all properties from a source file that
    also exist in a destination file.  This is useful when I do a mass-edit
    of many ROMs, with the info being saved into my personal stella.pro file.
    Running this command afterwards will 'merge' them into the master
    stella.pro file, and then Stella can be recompiled with the new properties.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2379 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-02-04 14:51:26 +00:00
stephena 716dd485cb Refactored the PERL properties set tools, in preparation for additional tools.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2378 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-02-03 22:21:02 +00:00
stephena 47c5f4681e Added 'fixed debugger colors' command to right-click menu of TIA output
in the debugger, and updated the debugger documentation.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2377 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-29 22:54:23 +00:00
stephena 4b14711a8f Removed some debugging code from MouseControl.
Bumped version # for a test release.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2376 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-29 22:33:24 +00:00
stephena 723d95cba2 Updated screenshot for new mouse axis functionality.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2375 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-29 22:20:08 +00:00
stephena 0d548bf379 Mouse 'specific-axis' mode can now be set per-ROM within the Game Info
dialog.

Updated all paddle and driving controller games with relevant axis info.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2374 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-29 22:13:15 +00:00
stephena 6029835618 The mouse can now emulate Sega Genesis controllers. In this mode, the B/C
buttons use the mouse left/right buttons, respectively.

Updated changelog and documentation.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2373 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-29 18:44:45 +00:00
stephena b7e489a071 The driving controllers can now be used in mouse 'specific-axis' mode.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2372 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-29 17:33:36 +00:00
stephena 1ef29f585e MouseControl class now properly switches between various controller modes,
and take 'swapport' and 'swappaddles' settings into account.  Next TODO is
add per-ROM settings for specific axis mode.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2371 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-29 17:08:51 +00:00
stephena 7247029e70 Fixed SWCHA read handler in the case where the ports are swapped.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2370 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-28 15:19:41 +00:00
stephena a56778d497 Updated OSX project files for recent class additions.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2369 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-22 23:01:52 +00:00
stephena 05b95a5663 Updated VS2010 project files for recent class additions.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2368 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-22 21:09:13 +00:00
stephena 06f20fa2d7 Updated VS2005 project files for recent class additions.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2367 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-22 21:05:51 +00:00
stephena c136a30cbc The left and right mouse buttons are now recognized separately in emulation mode.
Checking in first pass at revamping the 'mcontrol' functionality.  The idea is
that the mouse will be able to emulate different controllers on each of its
axes.  For now, the left mouse button is tied to the X-axis, and the right to 
the Y-axis.  These modes will be saved per-ROM, meaning that the mapping can
be different for each ROM (it is saved as part of the ROM properties).  Only
the paddles and driving controllers will allow this, since they're the only
controllers where a single axis makes sense.

Switching between mouse modes will be done with Control-0 (the Control-1..3
keys have been removed).  This will allow switching all possible combinations
(left controller, right controller, per-ROM setting, etc).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2366 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-22 21:01:13 +00:00
stephena 8704fea8be Updated OSX project files for recent class additions.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2365 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-21 13:55:13 +00:00
stephena 71131c16a6 Updated VS2005 project files for recent class additions.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2364 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-21 13:24:32 +00:00
stephena ac4665367a Updated VS2010 project files for recent class additions.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2363 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-21 13:20:55 +00:00
stephena 97490e75d3 Updated documentation and UI for FA2 bankswitch scheme.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2362 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-21 13:14:48 +00:00
stephena 3e4d82472b Added 'FA2' bankswitch support (from cdw) for upcoming Star Castle ROM.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2361 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-21 13:11:08 +00:00
stephena 16ad78f468 Fixed bug in cheatcode handling; disabled cheats weren't actually being
correctly disabled.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2360 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-20 23:56:49 +00:00
stephena 08ae1c3fe8 Updated how the debugger is created, and protected against using the
debugger before it has been initialized.

Tweaked the format auto-detection by also looking at the TIA scanline
at which drawing first occurs.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2359 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-17 22:20:20 +00:00
stephena 69db96f441 Updated OSX project files for StellaKeys class.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2358 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-15 02:26:31 +00:00
stephena 76e64b711b Small performance improvement; only query Unicode values in GUI modes,
otherwise turn it off (according to the SDL documentation, there's a
small performance hit when it's turned on).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2357 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-14 22:14:04 +00:00
stephena 73dbe861a6 Refactored the keycode handling through the GUI classes, making it more
generic than SDL, but less generic than simply using int's for everything.
This will help once we start porting to SDL2, which has an updated keycode
handling system.  The plan is that the internal core keyboard stuff is now
insulated from any further changes in SDL.

This also allows eventually adding support for CompuMate controller,
which needs access to keycode names in a generic way.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2356 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-14 22:00:54 +00:00
stephena a7ca813174 Save console controllers and switches state in state files. This allows
the debugger to work correctly when rewinding and interacting with these
parts of the system.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2355 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-14 17:12:25 +00:00
stephena cb7f68bd02 Improved Windows icon.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2354 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-13 22:03:25 +00:00
stephena 76dc1ce716 Some rearrangement of code in Console class, so that Controller::enable
is no longer required.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2353 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-13 21:13:10 +00:00
stephena 996cccde17 Minor positioning fixes for debugger I/O tab controllers.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2352 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-10 18:24:13 +00:00
stephena 3113bea297 Added driving controller widget to the debugger I/O tab.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2351 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-10 18:10:28 +00:00
stephena 30bfa0e639 Added keyboard controller to the debugger I/O tab.
Cleaned up the Event object in the EventHander, turning
it into a reference instead of a pointer (pointers are evil).

Minor speed optimization to Keyboard class; the update method
isn't required, since all work is done on the initial write().


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2350 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-09 17:23:44 +00:00
stephena 13c797c428 Updated VS2010 project files for new classes.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2349 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-08 22:10:17 +00:00
stephena 19527170dc Updated VS2005 project files for new classes.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2348 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-08 22:02:24 +00:00
stephena 6f5f0c3558 Updated the changelog for patches from R. Canavan.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2347 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-08 20:14:18 +00:00
stephena 666eb49bae Added skeleton classes for Driving and Keyboard widgets.
Updated the OSX project files for all new classes.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2346 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-08 19:58:55 +00:00
stephena 5f0bfc2a9f A few documentation updates.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2345 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-08 19:06:42 +00:00
stephena c26f0a1275 Make sure AtariVox and SaveKey controllers aren't messed up
when the Console runs autodetection routines at startup.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2344 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-08 18:23:51 +00:00
stephena 293a8a69b4 Added TIA INPTx and VBLANK D6/D7 items to the debugger I/O tab.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2343 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-08 16:55:10 +00:00
stephena c19d934f75 Added ROM properties info for Genesis-controlled games.
Tweaked the sound code again, to eliminate garbage data between
loading ROMs.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2342 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-07 20:51:03 +00:00
stephena f8c6693583 Added Genesis controller UI to the debugger I/O tab.
Updated ROM properties for 'Gingerbread Man' homebrew ROM, which
uses the Genesis controller.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2341 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-07 17:05:18 +00:00
stephena 177ebb09a9 Updated OSX project files for recent Controller classes.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2340 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-07 02:50:36 +00:00
stephena d39404f5c9 Added NullControlWidget, for those controllers that won't have
any UI items within the debugger.

Added BoosterWidget UI class for changing BoosterGrip data in
the debugger I/O tab.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2339 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-07 00:39:46 +00:00
stephena 3c94923720 Updated build scripts to Irix when not using gcc. Thanks to
Rainer M. Canavan for the patch.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2338 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-06 22:38:09 +00:00
stephena 35255514c8 Added paddle widget to the debugger I/O tab. This is actually the
first time that paddle movement is able to be set from within
the debugger!


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2337 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-06 18:17:41 +00:00
stephena 6453a1ac14 Fixed bug in Controller::read; AtariVox and SaveKey weren't working.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2336 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-06 01:22:43 +00:00
stephena fcf3aed924 Fixed crash in TIA zoom in the debugger, thanks to report from
SvOlli of AtariAge.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2335 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-05 21:30:35 +00:00
stephena b10720321a First pass at adding controller-specific UI items to the
I/O tab in the debugger.  For now, only joystick is 
partly implemented.  Eventually, all Stella controllers
will have UI items (where it makes sense), allowing to
completely control input devices from within the
debugger.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2334 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-05 18:28:24 +00:00
stephena 0138086583 Added shortcut for temporarily starting Stella in a rom directory
other than that specified by 'romdir'.  I'm not going to document
this functionality, since it's a convenience function that will
probably only be used by me anyway.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2333 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-04 14:54:21 +00:00
stephena 06de98d05d Some tweaks to onscreen message colours, to match the current scheme.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2332 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-03 20:52:45 +00:00
stephena 11fe5f4da1 Changed TIAColor enum names on the advice of Rainer M. Canavan,
due to name-clash issues in Irix.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2331 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-03 20:26:37 +00:00