Stephen Anthony
54de3415ea
More default initialization updates, in the process making c'tors smaller/non-existent.
...
I've already found a few potential bugs where instance variables weren't being initialized at all.
2019-12-29 18:36:56 -03:30
Stephen Anthony
12fa260137
A few fixes I missed in the last commits.
2019-12-28 15:01:28 -03:30
Stephen Anthony
36683adec1
And yet more fixes for warnings from clang-tidy.
2019-12-28 00:45:09 -03:30
Stephen Anthony
0c0f732e5f
More conversions of C-style to std::array.
...
That's it for a little while; getting tired now ...
2019-12-27 19:22:09 -03:30
Stephen Anthony
8bbabe3c5d
More cleanups from clang-tidy.
2019-12-22 22:46:27 -03:30
thrust26
b1b9e493f4
removed ARM RAM dump code again, redundant
2019-12-21 15:17:32 +01:00
thrust26
c65b9c6709
fix MessageBox height calculation
...
add first 0.5K RAM to ARM fatal error message
2019-12-21 11:59:07 +01:00
thrust26
99ec454fd4
add missing register 0 to ARM dump
2019-12-21 08:20:19 +01:00
Christian Speckner
81eeec5fae
Adapt access checks to modified BSS section.
2019-03-19 21:08:35 +01:00
Stephen Anthony
12d8ed570d
Fix minor warning in VS.
2019-03-16 16:24:24 -02:30
Stephen Anthony
9a8e5a3a33
Fix Thumbulator conditional handling of some opcodes.
2019-03-10 11:59:07 -02:30
Stephen Anthony
e61caf069b
Fix warnings under gcc and clang, both in normal compilation and R77 mode.
2019-03-09 19:40:45 -03:30
Stephen Anthony
abc3b3a32b
Fix warnings generated by clang 8.
...
- Several more still exist, and are mostly related to C-style code
- It has long been my intent to remove as much C-style code as possible
2019-03-02 12:06:08 -03:30
thrust26
a251ccf3d6
another small unsafe optimization
2019-02-25 19:50:33 +01:00
thrust26
d716f42b5c
one small unsafe optimization for register 15
2019-02-25 11:36:42 +01:00
thrust26
28d1113523
Thumbulator::fetch16 can fetch only ROM when optimized
2019-02-24 14:39:52 +01:00
thrust26
6f94174989
Merge branch 'master' of https://github.com/stella-emu/stella
2019-02-24 09:24:11 +01:00
thrust26
bb3075947b
segfault Stella protection added
...
some more small optimizations (fetch32 removed)
2019-02-24 09:23:57 +01:00
Stephen Anthony
032b08cca1
Fixed compilation errors in macOS. I still need to think about the Settings stuff, though.
2019-02-23 16:02:13 -03:30
thrust26
d188b5024f
one more missing optimization
2019-02-23 19:02:25 +01:00
thrust26
486494eb7a
defined UNSAFE_OPTIMIZATIONS in Thumbulator
2019-02-23 16:09:00 +01:00
thrust26
bac5a86832
minor Thumbulator optimizations and code cleanup
2019-02-23 12:05:53 +01:00
thrust26
e245655747
Revert "optimized Thumbulator.cxx"
...
This reverts commit 9a09675e55
.
2019-02-22 20:11:19 +01:00
thrust26
38366b65bb
optimized complex conditional branches in Thumbulator (affects ~5% instructions)
2019-02-22 14:50:52 +01:00
thrust26
9a09675e55
optimized Thumbulator.cxx
2019-02-21 22:56:18 +01:00
Christian Speckner
e80e15538b
Thumbulator optimizations.
...
Pre-decode ROM image and turn instruction dispatch into a switch.
2019-02-20 00:32:48 +01:00
Stephen Anthony
275666b0af
The annual copyright year update.
2019-01-01 11:35:51 -03:30
Stephen Anthony
6093bf8375
Fix signed/unsigned conversion warning in VS.
2018-08-28 22:32:56 -02:30
Stephen Anthony
7e4dc350f0
More fixes for suggestions from cppcheck.
2018-08-28 16:19:50 -02:30
Stephen Anthony
3d879d0080
Updated copyright date to 2018. A few days early, but nobody will mind ...
2017-12-29 17:10:37 -03:30
Christian Speckner
6500ab0613
Compile thumbulator unconditionally.
2017-12-10 00:22:18 +01:00
Christian Speckner
833c4de688
Silence compiler warning.
2017-12-05 21:20:27 +01:00
Christian Speckner
2b5416eade
Don't trap write accesses to datastream pointers & friends in CDF / BUS.
2017-12-05 20:29:22 +01:00
Stephen Anthony
5b6fabcf3c
Header file fixes for remaining files in 'emucore'.
2017-11-20 15:27:05 -03:30
Stephen Anthony
35624553b6
First pass at code cleanup from enabling higher levels of warnings in clang/gcc.
2017-10-11 12:23:54 -02:30
Stephen Anthony
7a9cde3e4d
CDF updates (with versioning) from Spiceware.
2017-08-14 09:11:54 -02:30
Stephen Anthony
7b57d52260
My neverending quest to protect against raw pointers.
...
Changed many 'const char* ...' to 'const char* const ...'.
2017-07-02 20:46:27 -02:30
Stephen Anthony
cdd336857e
Added 'fallthrough' directive in cases where we fall through a case statement.
2017-05-27 14:10:05 -02:30
Darrell Spice, Jr
490724c079
Updated BUS to new spec
...
The Harmony/Melody BUS driver is undergoing a major revision to add support for the new JMP FASTJUMP feature. This update implements the changes, as well as the fast jump feature which isn't yet in the HMdriver. It also implements the load/save state support as well as the BUS debugger widget.
A few minor updates to CDF were also done.
Note that this update breaks compatibility with the previous BUS demos.
2017-05-07 14:43:54 -05:00
Stephen Anthony
fd4122e017
Re-abled state loading/saving.
...
There's still a few final items to fix, but it's 99% complete.
2017-03-25 17:58:58 -02:30
Stephen Anthony
95c7b30a45
Some updates to the last BUS/CDF commit:
...
- update some code to the '5.0' way of doing things
- allow compilation in Linux
- whitespace/tab fixes to match main codebase
- add some extra comments
- test compile under gcc 6 and clang 5, and fix some warnings
2017-03-24 18:02:08 -02:30
Darrell Spice, Jr
6227186feb
Preliminary support for BUS and CDF
...
Preliminary support for new Harmony/Melody drivers BUS and CDF. Work remains for the 3-Voice Audio, Digital Sample playback, and some additional revisions to the debugger widgets.
2017-03-23 21:25:33 -05:00
Unknown
97a229dd92
ARM Timer 1 support
...
Implemented ARM Timer 1 support in Thumbulator. Revised DPC+ to use it.
2017-03-20 21:55:27 -05:00
Stephen Anthony
abb7097cb7
Removed $Id$ stuff from codebase, since it's Subversion-specific.
...
Whitespace cleanup and update copyright to 2017.
2016-12-29 20:30:30 -03:30
stephena
40cfd6a475
Cleaned up usage of 'using namespace ...'. I'm currently teaching that using
...
that approach is a bad idea (and using Stella as example code), so it doesn't
make sense to not do something as it's being taught; the correct way.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3308 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-05-24 16:55:45 +00:00
stephena
983c6361f2
Updated thumbulator code from latest in repo.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3290 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-02-27 19:58:20 +00:00
stephena
1e56f18b7e
Fixed annoying warning about left-shifting negative values.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3285 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-02-18 00:38:21 +00:00
stephena
2aec7bc1b1
Converted classes in src/emucore to properly use C++11 '= default'
...
for destructors.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3240 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-12-29 21:28:10 +00:00
stephena
8f2d3a6cbb
Updated copyright to 2016, even though it's a few days early.
...
To anyone reading this, Merry (belated) Christmas and Happy New Year!
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3239 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-12-29 19:22:46 +00:00
stephena
8b7043d74a
More bugfixes as indicated by Coverity.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3235 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-12-06 18:12:17 +00:00