Commit Graph

125 Commits

Author SHA1 Message Date
Stephen Anthony 6399147174 Disable warning for deadcode in Thumbulator. 2022-12-02 12:20:36 -03:30
Stephen Anthony e4d8072503 Convert more defines to static constexpr, take 2. 2022-12-01 19:13:44 -03:30
Stephen Anthony 61d6d89a21 Revert "Convert more defines to static constexpr."
This reverts commit 58382db331.

Mistakenly checked in debug code for another part of the codebase.
2022-12-01 19:08:27 -03:30
Stephen Anthony 58382db331 Convert more defines to static constexpr. 2022-12-01 19:04:01 -03:30
Stephen Anthony a37c76071a Fix missing braces on switch/case block. 2022-12-01 18:46:53 -03:30
Stephen Anthony 679a0318f9 Convert defines to static constexpr. 2022-12-01 18:31:31 -03:30
Thomas Jentzsch 025de6e8e9 accelerated emulation by using forced inlines 2022-11-29 10:53:31 +01:00
Thomas Jentzsch 38e8121b10 added global FORCE_INLINE macro
used FORCE_INLINE macro in Thumbulator
2022-11-29 09:23:39 +01:00
Thomas Jentzsch 866ee840de optimized thumb flags handling 2022-11-28 22:12:48 +01:00
Thomas Jentzsch 96d5a3ff5b optimized thumb branch instructions 2022-11-27 13:10:02 +01:00
Stephen Anthony d488b9c860 More 'const' conversion, with help from clang-15. 2022-09-13 22:52:59 -02:30
Stephen Anthony 19da02fb9c Final batch of fixes from clang-tidy (for now). 2022-08-21 19:33:08 -02:30
Stephen Anthony fc0a8c91a8 Second pass at fixes for suggestions from clang-tidy. 2022-08-21 13:53:52 -02:30
Stephen Anthony f987c3f72c Yay, got clang-tidy working again. First pass at fixing suggestions. 2022-08-20 15:32:15 -02:30
Thomas Jentzsch f6fcb8aa06 optimized Thumbulator range checks 2022-03-30 14:20:11 +02:00
Thomas Jentzsch 5e5a426a02 Merge branch 'master' of https://github.com/stella-emu/stella 2022-03-29 19:18:35 +02:00
Thomas Jentzsch 7b1e494ca3 enhanced range checks for Thumbulator
changed initial Thumb code stack pointer
2022-03-29 19:18:11 +02:00
Stephen Anthony 48d1a6a321 Second pass at fixing warning from Visual Studio (const and C-style casts). 2022-03-28 22:00:26 -02:30
Darrell Spice, Jr 37180e18df
Fixed CDFJ+ issue if the first byte of the cartridge contained a value of FF_OFFSET thru FF_OFFSET + $23 (#879)
Updated Thumbulator's debug mode to allow run-time updating of the FF_OFFSET value.
2022-02-24 07:59:29 +01:00
Thomas Jentzsch 5b5eccf28f added ARM chip type auto detection (resolves #873) 2022-02-15 12:33:46 +01:00
Thomas Jentzsch 6832465ad1 fixed ARM timers (#fixes 872) 2022-02-08 22:35:59 +01:00
Stephen Anthony 11d2f34bcb Update copyright to 2022. Happy New Year! 2021-12-31 16:07:17 -03:30
Thomas Jentzsch 147db10732 Revert "k"
This reverts commit 82c79fea4b.
2021-12-11 23:31:10 +01:00
Thomas Jentzsch 82c79fea4b k 2021-12-11 23:14:04 +01:00
Stephen Anthony 79da2e1d8a Fix gcc warning with braces around MACRO. 2021-10-23 21:51:13 -02:30
Stephen Anthony 5e3f244cd2 Fix minor warnings with semicolons. 2021-10-22 19:14:40 -02:30
Stephen Anthony eba34b5320 Fix minor compiler warnings in g++ and clang. 2021-08-26 19:17:18 -02:30
Thomas Jentzsch f67bcec1b6 reformatted the ARM fatal error popup a little bit 2021-08-25 23:15:52 +02:00
Thomas Jentzsch 7ade95c03b trying to fix #808 2021-07-11 08:47:45 +02:00
Thomas Jentzsch c73261b716 intermediate Thumb cycle count commit 2021-07-08 15:46:41 +02:00
Thomas Jentzsch f8c52ec24b another fix for MAMCR
further improved merged I-S cycles
2021-07-02 17:40:30 +02:00
Thomas Jentzsch c3220e0532 added emulation of merged I-S cycles
improved ARM timers
fixed MAMCR register emulation
2021-07-01 15:40:49 +02:00
Thomas Jentzsch 43a813958a extended single cycle access to everything except Flash 2021-06-29 17:44:08 +02:00
Stephen Anthony 15c40bb197 Fix minor warnings in g++10. 2021-06-27 12:25:21 -02:30
Thomas Jentzsch 06c6c1ccaa fixed a bug in branch cycle counting (now the test value is less than 0.1% off) 2021-06-27 13:04:35 +02:00
Thomas Jentzsch 6175176a6a added more chips types for ARM cycle count
added missing cycle counts for push and pop
added music update cycles to ARM cycle count for CDFJ
fixed stmia cycle counts
2021-06-27 09:44:42 +02:00
Stephen Anthony 135ee8748d Fix minor warnings from g++10.3. 2021-06-25 15:40:06 -02:30
Thomas Jentzsch acbfad3e56 added that digital audio considers console timing
added a 10% factor to ARM cycle count when digital audio is enabled
2021-06-25 09:18:26 +02:00
Thomas Jentzsch 42f44b3bdb further enhanced ARM cycle counts 2021-06-24 16:21:00 +02:00
Thomas Jentzsch 84b3f0280e fixed extra cycle in ARM cycle counts 2021-06-16 19:59:31 +02:00
Thomas Jentzsch b1e9572186 fixed ARM branch cycles (not taken = 1)
added cycle change tracking
2021-06-16 12:39:58 +02:00
Thomas Jentzsch b07c74d5e5 Improved cycle counting for MUL instruction
Made ARM Timers functional
2021-06-15 18:55:32 +02:00
Thomas Jentzsch f87aafb3e9 switched ARM cycle counting to "real" cycles 2021-06-15 17:31:08 +02:00
Thomas Jentzsch 0c511805c7 added command line options to include (coarse) ARM cycles into system cycles 2021-06-13 12:18:44 +02:00
Thomas Jentzsch 950096c671 added last but one ARM stats to debug widgets 2021-06-09 09:32:14 +02:00
thrust26 3c188fbb9a added some ARM stats to CDF debug widget 2021-02-09 19:47:50 +01:00
Stephen Anthony 21438a82cc Yearly update to copyright for 2021. 2021-01-05 18:42:43 -03:30
Stephen Anthony 11241b9871 More conversion to brace syntax. 2020-12-20 18:14:28 -03:30
Christian Speckner 89c6b847e7 Fix romSize overflow. Fixes DPC emulation with UNSAFE_OPTIMIZATIONS. 2020-10-19 23:37:20 +02:00
cd-w c2d0de237c Preliminary support for CDFJ+ bankswitching 2020-09-13 13:16:34 -07:00