Commit Graph

2278 Commits

Author SHA1 Message Date
stephena 44b5cf66b9 The CompuMate emulation now correctly processes normal and
shifted keys from the keyboard.  Most control-keys are
supported too, but still TODO is allow the Control key to
pass to the CompuMate controller and not pre-process it
by the EventHandler (so pressing Ctrl-q) shouldn't quit
emulation in that case).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2414 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-03-15 15:22:57 +00:00
stephena 82a4bc13b1 More work on the CompuMate scheme. The logic for the Controllers is
now complete; I just need to define how to pass actual keyboard keys
through the Event system.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2413 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-03-14 22:24:54 +00:00
stephena 47f151b87c Re-arranged the CompuMate controller code so that it can access both
controllers at once.  Stella wasn't initially designed to do this,
and the CompuMate is unique in this regard.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2412 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-03-14 01:19:23 +00:00
stephena 80c43f175d Started work on the controller side of the CompuMate emulation.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2411 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-03-12 23:33:50 +00:00
stephena 02ad41e60a Tweaked EF bankswitch autodetection.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2410 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-03-12 20:45:24 +00:00
stephena f6e8c25546 Fixed error in state loading for CartCM.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2409 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-03-12 01:43:53 +00:00
stephena b80a0ecdc9 Updated CompuMate emulation. This bankswitching side of things seems to be
working fine.  Still TODO is the controller side, so you can actually input
some data.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2408 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-03-11 23:26:12 +00:00
stephena d0b8bd57e5 Fixed potential bug in dynamically swapping Stelladaptor devices;
events generated by one device would never receive the 'turn off'
event when it was swapped out.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2407 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-03-11 14:25:47 +00:00
stephena 2ff4226e67 Fixed bug in BoosterGrip controller handling; the functionality
for analog pins 4 and 9 was swapped.

Renamed various 'Fire' button events to prevent the above problem
from happening again.

In BoosterGrip games, the right mouse button now sends the 'booster'
event, allowing one to play Omega Race fully with the mouse.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2405 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-03-04 19:20:29 +00:00
stephena a799541267 Updated changelog.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2404 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-03-03 19:18:16 +00:00
stephena 539edc656b Removed GL VBO option from the UI, since playing with it can
cause issues.  Stella will always use VBO when available, and
disable it otherwise.  For those (few/none?) people that want to
disable it, they can do it from the commandline.  This option will
disappear completely in Stella 4.0 anyway ...


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2403 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-03-03 18:26:28 +00:00
stephena c76f2313d2 Updated 2600-daptor code to handle buttons from
an actual 7800 Proline or BoosterGrip controller.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2402 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-03-03 02:37:06 +00:00
stephena 3b4b10df76 Combined 'sa1' and 'sa2' commandline arguments into one command named
'saport'.  This takes the values 'lr' or 'rl', corresponding to left/right
and right/left.

Added ability to dynamically swap the Stelladaptor/2600-daptor ports
with the 'Control-1' key.






git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2401 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-03-03 00:56:31 +00:00
stephena 1e396f8408 Added preliminary support for 2600-daptor II, which accepts 7800 Pro-line,
BoosterGrip, and keypad controllers.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2400 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-03-02 23:01:28 +00:00
stephena bcbc23e7cf Updated Intel OSX project file for recent NTSC class additions.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2399 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-02-27 16:58:17 +00:00
stephena 36da0d02ec Updated VS2010 project file for recent NTSC class additions.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2398 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-02-26 20:37:39 +00:00
stephena 650efb8ef7 Updated VS 2005 project files for recent NTSC filter class additions.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2397 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-02-26 20:21:30 +00:00
stephena 216f0ab19e The TIA palette is now passed to NTSCFilter, so it can calculate its own
YIQ-format palette.

Removed compile-time option for DISPLAY_TV.  NTSC filtering will always
be compiled into the app, but will only actually be used in OpenGL mode.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2396 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-02-26 20:11:59 +00:00
stephena 5d4c09da54 Second pass at Blargg NTSC filtering. This code comes directly from the
latest Atari800 drop, and is the most recent version I could find.  As
with the last commit, it still doesn't actually do anything (but it does
compile).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2395 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-02-26 18:58:41 +00:00
stephena 6836963e8b Updated OSX project file to compile under 10.5, and generate 32-bit
Intel/PPC builds compatible with 10.4.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2394 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-02-24 15:56:18 +00:00
stephena 91e82b375b Updated OSX '_intel' project file to be used with OSX 10.6 onwards
only (IOW, actually usable on Intel-only systems).  Going forward,
this will be the default install.  The old one will be for 10.4-10.5
PPC/Intel 32-bit, which will eventually be phased out.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2393 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-02-24 13:55:26 +00:00
stephena 959b5c6dba First check-in of Blargg NTSC filtering code. It does compile, but
doesn't do much else ATM.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2392 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-02-23 20:30:58 +00:00
stephena cf10e216f4 And so it begins. Added ability to enable/disable TV filtering to the
Linux configure script.  Of course, there's no actual code yet ...


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2391 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-02-21 19:19:23 +00:00
stephena 225e6c0b1c Update include PNG library,
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2390 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-02-19 13:47:38 +00:00
stephena d9ed4e7d17 Updated error in documentation, as reported by Robert Szeliga.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2389 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-02-15 22:35:53 +00:00
stephena f79020a94c And the process starts all over again.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2388 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-02-04 22:57:48 +00:00
stephena 4149c545ad And there's always one last thing I forget before a new release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2387 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-02-04 21:25:12 +00:00
stephena 7e056cbef1 Last minute changes to the OSX build files that I forgot to
check in with the last commit.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2386 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-02-04 21:23:53 +00:00
stephena 8fffaa6d95 Final updates for the 3.5.5 release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2384 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-02-04 20:07:13 +00:00
stephena 3f7c2f521d Updated properties database with info from RomHunter 7.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2382 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-02-04 18:12:22 +00:00
stephena 009fb5c91a Getting ready for the next point release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2381 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-02-04 15:17:30 +00:00
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