Commit Graph

1121 Commits

Author SHA1 Message Date
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 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
stephena fb4332a0c7 Catch very early fatal warning from SDL when it can't even initialize itself.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3094 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-20 14:20:03 +00:00
stephena c8400dcfe6 Fixed debugger 'reset' command help documentation.
Renamed 'Vlist' to 'VarList', since it's more descriptive.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3092 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-19 22:29:33 +00:00
stephena 2611b03a8f Non-const iterators seem to be needed for some versions of gcc.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3091 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-19 15:41:49 +00:00
stephena 37d9c6c99f Converted from C-style 'typedef' to C++ 'using' where appropriate.
I find the newer syntax more readable, since it acts exactly like
an assignment statement.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3088 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-19 12:10:45 +00:00
stephena 0d5ae3acf5 Added ability to save continuous snapshots per frame to Shift-Alt-s.
Eventually this may lead to proper movie output.  Thanks to SvOlli
for the code.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3087 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-19 00:03:11 +00:00
stephena 30c171325d Updated Xcode build file for version 6.1.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3086 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-17 21:37:05 +00:00
stephena cf10f4c24f Now that we're using C++11 and cstdint is standard, we no longer need to
worry about inttypes.h and associated defines.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3085 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-17 20:57:15 +00:00
stephena 61aa0bb4f4 Visual Studio needs std::mem_fn in association with std::function.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3084 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-17 20:33:56 +00:00
stephena 3a04afcf96 Use BSPF-defined datatypes where appropriate.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3083 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-17 14:17:19 +00:00
stephena d5a470cbcc Debugger reset command now does a full system reset.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3082 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-17 12:47:33 +00:00
stephena 086658799d It looks like I can use std::function in expressions after all (keeping
in mind that YACC stuff deals strictly in pointers, and can't be changed).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3081 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-17 01:50:19 +00:00
stephena f0539ae7e1 Cleaned up function calling from expressions for various debugger subsystems.
I'd hoped to use std::function, but I don't want to dive any further into the
arcane YACC syntax.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3080 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-17 01:36:44 +00:00
stephena 021e0caa55 Changed to std::function in DebuggerParser.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3079 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-17 00:08:23 +00:00
stephena a6eded9c65 Cleaned up cheat classes, replacing pointers with smart_ptr.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3078 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-16 21:08:21 +00:00
stephena 2707e4e4e0 Updated OSX project file for class removal.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3077 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-16 17:22:56 +00:00
stephena f12732042a Updated Visual Studio for recent class removal.
Removed constexpr, since VC++ 2013 doesn't support it yet.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3076 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-16 16:50:46 +00:00
stephena 29fe39dd99 Made M6502 own all breakpoint/trap info instead of sharing pointers to
it with the debugger (this eliminates more new's and empties another d'tor.

Re-wrote PackedBitArray to use a bitset instead of home-made code.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3075 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-16 16:13:58 +00:00
stephena c997fc3001 Converted M6502 class to use unique_ptr Expressions, and removed some dead code.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3074 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-16 00:28:39 +00:00
stephena 526fbed5e6 Some reorganization of debugger Expression classes, and using unique_ptr.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3073 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-15 23:10:58 +00:00
stephena 690b681fe7 Convert FrameBuffer/FBSurface to use shared_ptr instead of raw pointers.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3072 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-15 18:29:13 +00:00
stephena 4544f59b53 Replaced #define'd macros with lambdas where possible. Did I mention
I also love lambdas?

Minor cleanups to other parts of the code (missing virtual, cleanup
d'tors, move methods from public to private, etc).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3071 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-10 23:35:24 +00:00