Commit Graph

2902 Commits

Author SHA1 Message Date
stephena 31e59f12dc Updated PNG library to latest release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3149 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-03-15 17:58:16 +00:00
stephena 6d8b115b34 Removed concept of single vs. double buffering, and simply update the frame
on every call to FrameBuffer::update().  This will the same CPU usage for TIA mode,
and a slight increase CPU usage for launcher and debugger modes.  The code to do
this was just too fragile, and not worth the extra effort.

This fixes several rendering issues, such as garbage in fullscreen mode in Linux
when using Intel GPU, triple-buffering issues in Windows, etc.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3148 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-03-15 17:36:46 +00:00
stephena 6f194fcd76 DataGridWidget now supports keypad +/-.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3147 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-02-09 19:32:28 +00:00
stephena 5dece736b1 Added per-textfield character filtering, and enabled it for CheatCodeDialog.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3146 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-02-09 17:14:28 +00:00
stephena 26fcabc23c Getting a head-start on updating files for 4.6 release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3145 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-02-06 16:42:24 +00:00
stephena 2549e4f4c1 Fixed error messages in state loading, and reverted some C++11 features
so that Stella is supported in GCC 4.8.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3144 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-02-06 16:34:01 +00:00
stephena ebfc207d3e Fixed bug in closing SerialPort explicitly; it takes care of closing itself.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3142 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-01-24 16:28:06 +00:00
stephena e1dae564e2 Forgot another ROM from RomHunter v10.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3141 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-01-01 22:32:00 +00:00
stephena b52c866a64 And so it begins again; bumped version #.
Added 'Reindeer Rescue' 2005 Holiday cart to properties database.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3140 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-01-01 21:43:37 +00:00
stephena ed4baaf686 Final commit for 4.5 release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3138 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-01-01 17:21:24 +00:00
stephena e7dc10344d Added app category type to OS X plist file.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3137 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-01-01 17:14:44 +00:00
stephena c03bb5dc6b Added patch support to 'WD' scheme.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3136 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-01-01 16:50:18 +00:00
stephena df5f3c1c5a Updated ROM properties database to RomHunter v/10.
Added a specific closeConsole method, since the test for hasConsole was returning
true in cases where it shouldn't have.

Fixed PERL PropSet saving so that properties are always saved in sorted order
(by MD5).  This isn't technically necessary, but it will eliminate huge changelogs
when only a small part of the file has changed.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3134 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-01-01 16:21:30 +00:00
stephena 44ef06359a Forgot to add 'WD' scheme to the manual.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3132 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-01-01 04:02:06 +00:00
stephena 0afb189322 Updated copyright to 2015. Happy New Year to anyone reading these logs :)
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3131 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-01-01 03:49:32 +00:00
stephena 0afe070d9c Fixed crash on loading state files; try/catch was missing for the first
bit of data loaded from the file.

Changed Serializer class to unique_ptr, eliminating d'tor.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3130 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-01-01 03:23:06 +00:00
stephena abd4c9efa8 ZIP files now show nested files and directories instead of everything
being compressed into one level.  In the process, moved all ZIP-related
functionality from OSystem into FSNodeZIP, since it's the only thing
that actually uses it.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3129 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-01-01 02:05:28 +00:00
stephena b729a8013f Updated ROM database yet again for WD ROM.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3128 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-01-01 02:00:08 +00:00
stephena 14f2779763 Updated ROM properties for PP ROM.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3127 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-12-30 15:36:52 +00:00
stephena 22abe68097 Updated ROM database, fixing ROM info from the last commit.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3126 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-12-29 22:36:54 +00:00
stephena d7c7be76d9 Finalized 'WD' scheme, and added ROM properties entry for associated ROM.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3125 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-12-29 22:26:20 +00:00
stephena 3da47efe59 Fixed bug in 'WD' scheme; bankswitching is only supposed to trigger on
reads from $30 - $3F, whereas it was triggering on *all* TIA reads.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3124 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-12-29 20:17:35 +00:00
stephena 1a62c3a424 Updated included PNG library to latest release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3123 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-12-29 17:44:01 +00:00
stephena 1460947005 Move ZipHandler from OSystem directly into FSNodeZip class, since it's the
only class that uses it.  This is in preparation for improvements to ZIP
file handling.

Use emplace_back instead of push_back in several places, as it's faster.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3121 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-12-26 17:19:36 +00:00
stephena 4642183745 Expose 'ctrlcombo' through the UI.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3120 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-12-24 18:49:26 +00:00
stephena 7f321a9628 The 'listdelay' option now allows 0, meaning to completely disable list-skipping.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3119 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-12-24 18:17:00 +00:00
stephena 7490b7db2a Updated OSX project file for JoystickDialog class.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3118 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-12-24 03:50:42 +00:00
stephena da525a4072 Updated Visual Studio project file for JoystickDialog class.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3117 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-12-24 00:15:29 +00:00
stephena 7be62c80bc Fixed graphical bug in StringListWidget when removing the last item
it contains; it wasn't being redrawn until clicking the widget.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3116 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-12-24 00:03:18 +00:00
stephena 233fd75522 Added dialog showing internal joystick database, with ability to
completely remove (currently unplugged) sticks from it.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3115 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-12-23 00:44:09 +00:00
stephena 3b02c309c1 Fixed bug in adding multiple joysticks with the same name, and
bumped version # for next beta test.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3114 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-12-21 16:47:50 +00:00
stephena 2e7bf1dffa Bumped version # for beta test.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3113 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-12-21 01:27:48 +00:00
stephena 7fee57808c Dynamic joystick add/remove/mapping is now working again. Or at least
it is on all my test systems with 4 different controllers.  We still
need bugtesters for this ...


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3112 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-12-21 00:42:52 +00:00
stephena 04b99e3503 Fixed some shadowed variable warnings detected by Xcode.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3111 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-12-20 22:59:43 +00:00
stephena f5ceb39149 Cleaned up the various methods for setting default mappings for the keyboard
and joysticks.  It's now easier to read/follow, and has less code.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3110 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-12-19 21:32:19 +00:00
stephena b0e27be2e3 Replaced a few macros with lambdas.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3109 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-12-13 23:00:50 +00:00
stephena d4a8bce6a4 Updated OSX project file for CartWDWidget class.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3108 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-12-13 21:26:37 +00:00
stephena e0c8c9bb60 Updated Visual Studio project file for CartWDWidget class.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3107 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-12-13 21:17:51 +00:00
stephena 6c900cdec5 Some minor code cleanups, and converting 0 to nullptr.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3106 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-12-13 21:00:33 +00:00
stephena 31ca88d283 Changed CartWD hotspots from $30 - $3F of the cart RAM area to the TIA area (I really need
to learn to read the specs more closely).  Changed hotspot change to trigger 3 cycles after
initiated instead of 3 address changes.

Added CartWDWidget debugger class, to view/change cart-specific functionality from within
the debugger.

Still TODO is CartWD patching.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3105 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-12-13 19:45:18 +00:00
stephena c7fc207b13 Looks like I was a little to eager with the 'auto' keyword; it broke
some code in CartDebug.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3104 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-12-12 16:50:39 +00:00
stephena a4023be98b Removed 'SNAPSHOT_SUPPORT' from configure, since building this is
no longer an option that can be disabled.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3103 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-25 19:21:25 +00:00
stephena ca5f456cf9 Running in autodetect mode should not start the disassembly.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3102 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-24 22:09:06 +00:00
stephena 068f07d919 A few optimizations, and removal of some dead code.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3101 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-23 18:53:11 +00:00
stephena a95c81ad80 Updated OSX project file for 'WD' scheme.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3100 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-22 00:07:31 +00:00
stephena 763143544b Updated Visual Studio project for new 'WD' scheme.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3099 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-21 23:54:41 +00:00
stephena b1609e05eb We can't have simply 'Experimental' in the cart list; there needs to be
something else to differentiate them.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3098 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-21 23:41:21 +00:00
stephena 2f82e32fe5 Renamed experimental bankswitch scheme to WD.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3097 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-21 23:37:21 +00:00
stephena fdc54072f4 Second pass at the new experimental scheme; it's a little closer now.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3096 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-21 23:01:06 +00:00
stephena 10fbcdc00c First pass at implementing a new experimental scheme for a previously unreleased ROM.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3095 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-21 15:53:51 +00:00