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
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
693862c32f
Updated requirements for compiler version.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3090 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-19 13:45:22 +00:00
stephena
b646ba5c26
Some cleanup of configure/Makefile scripts.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3089 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-19 12:32:08 +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
stephena
49eadb7463
More conversions from normal for to range-based for. Yes, I really love
...
range-based for that much.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3070 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-10 21:59:56 +00:00
stephena
e352b3a6bb
Updated PNG library to latest version
...
Decided that the next version will be 4.5, since it requires new compilers
and, in the OSX case, a newer version of the OS.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3069 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-10 20:27:29 +00:00
stephena
2095b29873
Updated docs for C++11 requirements.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3067 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-10 16:55:01 +00:00
stephena
b863b55594
Some more optimizations and small code cleanups.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3066 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-10 16:13:28 +00:00
stephena
1d1851dc3c
Updated OSX project file for class rearrangement.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3065 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-10 01:33:48 +00:00
stephena
218e153793
Updated Visual Studio project file for recent class rearrangement.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3064 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-09 22:23:11 +00:00
stephena
4c9e139fcc
Cleaned up the OSystem code for managing Console and Debugger, removing
...
stuff from destructors and using unique_ptr.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3063 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-09 22:03:50 +00:00
stephena
db139bef1a
Converted FrameBuffer surface storage to unique_ptr. In the process,
...
I realized that they didn't need to be stored in a map, since the integer
ID was never actually being used. This must have been part of a proposed
API that I've since deleted??
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3062 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-09 15:10:47 +00:00
stephena
5d927915ab
A few more unique_ptr instances which I missed.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3061 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-09 13:41:55 +00:00
stephena
1b7635649c
More conversions to unique_ptr, so deletes can be removed.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3060 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-09 04:01:31 +00:00
stephena
92aa5c2e36
Just when I thought there were no more cleanups to do ...
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3059 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-09 03:05:19 +00:00
stephena
4f91fd96ed
A few more optimizations. It looks to be close to the end of the conversion.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3058 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-08 23:50:23 +00:00
stephena
b89dfa7436
Updated OSX project file, fixed some minor compile warnings,
...
and bumped version # to 4.5 for the next release (whenever it
may happen).
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3057 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-08 22:40:50 +00:00
stephena
874c88a9d2
Updated Visual Studio project file for recent Array restructuring.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3056 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-08 22:09:18 +00:00
stephena
7b9169c18d
Convert all arrays in the codebase to vectors, so that we get all
...
the advantages of C++11 (move semantics, list initialization, etc).
I'd hoped to somehow wrap a vector behind Common::Array and not have
to change the codebase to this extent, but it didn't work out. And
I've since read that it's bad form to extend from std::vector anyway.
This is *THE LAST* bit of work I'm doing with arrays; everything is
now a proper vector.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3055 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-11-08 21:27:36 +00:00