Commit Graph

2210 Commits

Author SHA1 Message Date
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
stephena 76e3ba8ec0 Updated documentation for SWCHB debugger changes, and updated
the changelog.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2330 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-02 22:09:54 +00:00
stephena cb83199fba Updated OSX project files for recent class additions.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2329 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-02 21:55:15 +00:00
stephena 8c0109f3a1 SWCHB and SWBCNT UI items recently added to the debugger now
actually change values in the emulation core when clicked.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2328 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-02 21:34:32 +00:00
stephena ed39b927c7 Updated VS 2010 project files for CM bankswitching class.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2327 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-02 20:40:37 +00:00
stephena 4c8901207d Updated VS 2005 project files for CM bankswitching class.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2326 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-02 20:39:47 +00:00
stephena c1e171ee44 Added skeleton class for CompuMate bankswitching.
Updated all bankswitch schemes for potential buffer overflow
issues.  Copying was being done without regard for the size of the
ROM buffer.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2325 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-02 20:31:42 +00:00
stephena e7211a821b Updated VS 2010 project files for recent controller class additions.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2324 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-02 17:01:39 +00:00
stephena 66778329b2 Updated VS 2005 project file for recent controller class additions.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2323 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-02 16:58:10 +00:00
stephena b7125a26ee Added classes for MindLink and CompuMate controllers. Note that
these aren't fully activated yet, but they're the next thing I plan
to work on.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2322 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-01-02 16:37:17 +00:00
stephena d8b59f7083 Added RIOT port B information to the I/O tab in the debugger.
I'm still waiting on a test ROM to verify that its output is valid.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2319 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-31 22:43:55 +00:00
stephena c95d5f804d Updated all files to copyright 2012. Happy New Year to anyone reading
these logs!

Moved TODO and Credits info directly to the webpage, where it will hopefully
be easier to maintain.

Fixed 'crackling' sound when loading a new ROM, introduced with the 3.5
sound restructuring.  It looks like stale data was being loaded by the
sound processing callback.  As well, moved the computation of certain
division variables from the sound callback to the framerate re-calculator
(where it's recomputed 1/5 of the time or less).

Updated AboutDialog with info about Stella DonationWare status, and active
members of Stella development.

Updated OSX in-app HTML documentation about Stella DonationWare status.

Bumped version # to 3.5.1_svn, and the process starts again.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2318 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-31 21:56:36 +00:00
stephena 2047804903 Fixed bug in 'fixed debug colors' for playfield graphics;
it should always display the playfield colour, even if it
would normally use P0/P1 colours in normal mode.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2317 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-31 01:52:24 +00:00
stephena af9e1075d4 Final updates for the 3.5 release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2314 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-29 21:38:40 +00:00
stephena a7710ab1af Clean up some references to OpenGL buffer type, which actually
mean 'hardware-accelerated, double-buffered'.  This distinction
is important, since eventually such a mode won't necessarily be
OpenGL-backed (it might be Direct3D, OpenGLES, etc).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2312 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-29 19:10:57 +00:00
stephena 1da5fe515b Updated TODO items.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2311 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-29 17:47:53 +00:00
stephena a99e0d7499 Updated changelog for DonationWare status.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2309 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-29 00:59:02 +00:00
stephena 2bb1411159 A little more work on KidVid support. The sound isn't working yet,
but at least it progresses through different screens when you press
1, 2, 3.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2307 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-28 22:38:45 +00:00
stephena ee8b29583f Updated documentation, bumped version # slightly.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2306 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-28 16:14:52 +00:00
stephena 83114a9a6f Fixed segfault on program exit if joysticks have never been initialized.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2304 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-28 15:26:21 +00:00
stephena 08c59e5882 Added controller map to the documentation, stating how physical
computer controllers are mapped to virtual console controllers.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2302 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-28 02:24:51 +00:00
stephena f489007609 Fixed wrong MouseAxisType enum values in Settings.
Eventually I'll find a more elegant way to represent this.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2301 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-28 00:25:19 +00:00
stephena e47bf71dbb Added better icons for Linux/UNIX.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2300 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-27 01:57:06 +00:00
stephena d8dd08dfde Add build info to the internal log.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2299 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-27 00:47:24 +00:00
stephena 1ec986d23a Updated OSX project file for 32&64-bit builds.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2298 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-27 00:30:46 +00:00
stephena aeb8d27746 Added 'mcontrol' commandline argument, which allows to map mouse axes
separately to different paddles.

Updated documentation for impending 3.5 release.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2296 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-26 21:40:28 +00:00
stephena b6cab4e626 Removed redundant 'audiofirst' commandline argument, and fixed displaying
of RAM addresses in debugger RamWidget.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2295 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-23 00:04:58 +00:00
stephena 68725d0340 Updated to latest libpng release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2294 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-22 22:18:24 +00:00
stephena 115d560f87 Optimization of FSNode::getXXX string methods. They now return
'const string&', which saves a string c'tor call each time they're
accessed.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2293 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-22 22:11:09 +00:00
stephena 52cf172661 Reverted FSNode getPath() modifications introduced in Stella 3.4.1, since it causes massive performance regressions in Windows XP.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2292 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-22 21:29:24 +00:00
stephena 56694b5934 The sound system is now opened once per program invocation, and paused
when it isn't needed.  According to SDL this shouldn't be necessary, but
some combinations of video modes and audio hardware cause sound to stop
working if it's repeatedly opened and closed.  So we have to keep it open.

Always attempt to use 2 channels (aka stereo) when opening the SDL audio
device.  This is now required, since ROMs can request mono or stereo mode,
and the sound system can no longer be closed and re-opened with the
desired settings.  So we need to always use 2 channels to accommodate
when it might be needed.  This actually more closely emulates the 2600,
which does have two audio channels.  The 'mono' vs 'stereo' ROM property
basically controls whether these channels are exposed (ie, does the
virtual console have two-channel audio hardware installed).  In that sense,
these settings control how the channels are mixed.

Updated some settings to have more reasonable defaults.

Added acknowledgement for people that have donated hardware to help with
development.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2291 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-21 17:18:53 +00:00
stephena 9d93318450 Cleaned up formatting for joystick logging.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2290 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-18 19:47:45 +00:00
stephena 4c8cfb3da0 Mappings for joysticks beyond the first one are now actually loaded.
They were being saved correctly for all sticks, but only loaded for
the first one.

Removed some redundant settings related to TV effects stuff.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2289 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-18 19:43:24 +00:00
stephena 65eee809f9 Updated Visual Studio 2010 project files.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2288 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-04 20:08:38 +00:00
stephena 17fc52bfc9 Made 'colorloss' option be true by default (so that PAL
ROMs with an odd # of scanlines will display the image in
black & white, just as on a real system.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2287 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-12-03 23:14:06 +00:00
stephena 93a3952317 Make sure to only change the 'joymap' setting if any joysticks
have actually been loaded during the program run.  Otherwise,
it will erase previous mappings.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2286 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-11-30 14:57:28 +00:00
stephena d35c220953 Huge restructuring of the joystick handling code. Event mapping is now
saved per device, so that unplugging and replugging a joystick won't cause
the previous mappings to be lost.

All attributes of a joystick (ie, number of sticks, number of axes, buttons,
hats on each stick) are dynamic, meaning that hardcoded values are no
longer used, making the handling more robust.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2285 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-11-29 22:12:13 +00:00
stephena 90fbe26b7d Updated documentation, added new snapshots where appropriate.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2284 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2011-11-26 21:19:54 +00:00