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
stephena
74b2a209e2
Cleaned up some code in Thumb ARM emulator, and clearly marked compiler
...
warnings that should eventually be fixed.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3193 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-08-09 21:19:10 +00:00
stephena
c5819cae46
In my never-ending attempt to eliminate pointers whereever possible,
...
change all throws of 'const char*' to runtime_error.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3168 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-06-12 20:44:09 +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
27e005d7a5
Final batch of fixes from cppcheck.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3024 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-10-27 14:41:46 +00:00
stephena
aa5691af8a
OK, it looks like I'm back to Stella development, after a several month
...
break. First thing to do is update the year. Happy new year to anyone
reading these commit logs.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2833 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2014-01-12 17:23:42 +00:00
stephena
95fe213f3a
Consolidated the code for converting integers to strings in various
...
bases into a Common::Base class. Previously, this functionality was
spread across several classes, and used different approaches to formatting.
While the code still mixes C++ streams and C-style sprintf's, at least
it will now be easier to modify it all in one place.
Related to the above, added ability to use upper or lower case
characters for HEX output in the debugger. This is toggled by the
new debugger prompt command 'uhex', which is also tied to a new
commandline argument, 'dbg.uhex'.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2770 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-07-27 22:28:41 +00:00
stephena
0929adc20d
Some dead code cleanup, detected by clang++.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2725 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-05-07 18:53:21 +00:00
stephena
c4e5360a18
Updated copyright dates to 2013.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2579 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-01-04 19:49:01 +00:00
stephena
f003bd31bd
Changed disassemble and debug checks from run-time to compile-time
...
for Thumb ARM emulation. On my (quite fast) system, this results in 4%
less CPU usage, so it should be much better on slower systems.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2576 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-12-26 21:16:34 +00:00
stephena
2145c38087
Fixed bugs in DPC+ scheme; reset wasn't actually resetting the
...
Harmony RAM, and state saving wasn't working at all.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2523 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-06-03 18:05:14 +00:00