Commit Graph

2239 Commits

Author SHA1 Message Date
thrust26 b280a3ed27 Merge branch 'master' of https://github.com/stella-emu/stella 2017-12-18 21:56:26 +01:00
thrust26 fabf812543 developer dialog Horizon enable fix
FLAT_UI fixes for disabled elements
2017-12-18 21:56:07 +01:00
Stephen Anthony 042d4bc812 Updated ROM properties for ROMs starting with 'B' and 'C'. 2017-12-18 16:10:15 -03:30
Stephen Anthony 9d93472298 Oops, forgot this one in the last commit. 2017-12-18 15:19:19 -03:30
Stephen Anthony dd5a46880e Some updates to dialog positioning in preparation for HiDPI.
- note that these are fixes that are needed with or without HiDPI; testing HiDPI just exposed them as bugs
 - also fixed some minor warnings and formatting
2017-12-18 15:15:57 -03:30
thrust26 481c85c0c3 added option for 'ghost' read traps
update documentation accordingly
removed reload requirements for Time Machine
2017-12-18 19:16:41 +01:00
thrust26 01c859d2a0 removed superfluous '(*)' in UI dialog
updated doc and added examples for other palettes
2017-12-18 17:26:59 +01:00
thrust26 e5216d4f90 added index to conditional trapif/breakif/savestateif display 2017-12-18 13:28:23 +01:00
thrust26 50c8c5c266 fixed name resolution for trapread 2017-12-18 13:09:03 +01:00
thrust26 7819d07623 fixed deleting/toggling existing 'breakif' and 'savestateif' 2017-12-18 12:33:17 +01:00
thrust26 47ef41f09a Fine tuning of FLAT_UI tabs 2017-12-18 12:06:55 +01:00
thrust26 df71881392 FLAT_UI label default alignment fix 2017-12-18 09:42:36 +01:00
Stephen Anthony 200b5cfe87 Updates to ROM properties from RomHunter:
- for now, only newly added ROMs and those starting with 'A' are included
2017-12-18 00:36:25 -03:30
thrust26 c9eaf31181 Fixed several (invisible) widget transparency issues (WIDGET_CLEARBG) 2017-12-17 21:19:32 +01:00
thrust26 6629393e65 PopupWidget layout improved 2017-12-17 18:00:06 +01:00
thrust26 7fcbb8f401 updated doc for 'dump' command 2017-12-17 17:59:25 +01:00
thrust26 b76566e864 line drawing method added to FBSurface
inactive cells are displayed as crossed out in FLAT_UI
2017-12-17 16:43:05 +01:00
thrust26 0def7adb61 fixed bug when leaving 'Options' in debugger 2017-12-17 13:52:50 +01:00
thrust26 7f08d9b74c some more UI polishing 2017-12-17 13:28:23 +01:00
thrust26 dfca521bf9 two minor bug fixes 2017-12-17 12:24:16 +01:00
thrust26 eeb1491efd polishing FLAT_UI 2017-12-17 12:16:37 +01:00
thrust26 b05d686891 'Light' palette polishing 2017-12-17 10:09:59 +01:00
thrust26 1f2062feeb Merge branch 'master' of https://github.com/stella-emu/stella 2017-12-17 00:48:46 +01:00
thrust26 19730fa183 third 'uipalette' scheme 'Light' added
modernized UI via 'FLAT_UI' preprocessor define added
2017-12-17 00:48:30 +01:00
Christian Speckner e5d7c23412 Update TIA and RIOT state in lockstep with the CPU if any debugger expressions are registered. 2017-12-16 21:29:28 +01:00
thrust26 b6080e1701 fixed #270 2017-12-16 10:54:45 +01:00
thrust26 0e5a444699 Merge branch 'master' of https://github.com/stella-emu/stella 2017-12-16 09:46:50 +01:00
thrust26 31b459ac84 fixed #269 2017-12-16 09:46:25 +01:00
Christian Speckner 8e7d0aa7b3 Fix frame manager serialization. Closes #267. 2017-12-15 23:53:11 +01:00
thrust26 0d609f6845 renamed '_cycles' into '_icycles' (fits better) 2017-12-15 19:12:46 +01:00
thrust26 2f57ccb463 new rewind classes added to VS project 2017-12-15 18:21:27 +01:00
thrust26 9f7270a70d '_cycles' pseudo register added (returns cycles of last instruction) 2017-12-15 18:13:29 +01:00
thrust26 7d40d5b1f8 "Time Machine" name change 2017-12-15 18:10:40 +01:00
Stephen Anthony bf6d28e181 Added basic infrastructure for what will become the rewind dialog. 2017-12-15 13:19:29 -03:30
thrust26 d28fb580b8 bitmapped button added 2017-12-15 15:25:08 +01:00
thrust26 ba3cc0677d Frame count/cycle alignment fixed 2017-12-15 14:16:11 +01:00
Stephen Anthony 434d2dfc83 Converted some raw enum to 'enum class' in FrameBufferConstants. 2017-12-14 21:29:45 -03:30
Stephen Anthony 31da99f48b Convert some raw enum to C++11 'enum class' in EventHandlerConstants. 2017-12-14 21:04:19 -03:30
Stephen Anthony fd5c026034 Relaxed constexpr usage in RewindManager, so code compiles in Linux and OSX.
- the code was using C++17 features, and we only support C++14 for now
2017-12-14 19:46:37 -03:30
thrust26 418b0f07ae frame timed interval checks aligned to actual scanlines/frame
code cleanup
2017-12-14 21:18:31 +01:00
thrust26 ba9d809109 state compression improved
RewindManager class refactored for multiple rewinds/unwinds
additional keys for faster rewinding added
docs updated
2017-12-14 14:25:02 +01:00
thrust26 e2301dfd5e fine tuning on interval factor and state compression
rewind now displayed immediately (instead of "Paused")
two initial rewinds in continuous rewind mode fixed
Horizon widget disabled when Uncompressed size == Buffer size
fixed minimum Interval
2017-12-13 19:15:09 +01:00
thrust26 20eb97ce14 savestate position in list display in message added
compressStates loop fixed and slightly optimized
fixed minimal size value in Settings
2017-12-13 12:31:18 +01:00
Stephen Anthony 47b4007bcb Bumped version # for latest milestone (rewind outside debugger). 2017-12-12 17:53:34 -03:30
thrust26 5439d185a7 rewind buffer resize added 2017-12-12 21:43:57 +01:00
Stephen Anthony 8034bae9de Added destructive resize to LinkedObjectPool/RewindManager.
Fixed minor warnings in DebuggerDialog.
2017-12-12 16:44:30 -03:30
thrust26 6632b97307 double rewind in debugger fixed
rewind messages improved
2017-12-12 18:47:21 +01:00
thrust26 e465112c02 rewind/unwind basically working
changed values, UI and settings for rewind interval and horizon
2017-12-12 17:07:05 +01:00
Stephen Anthony 517cc82baa More work to RewindManager; all the 'ugly' code has been removed.
Thomas, it should be fine for you to proceed now.
2017-12-11 17:29:27 -03:30
thrust26 01fb970b60 Merge branch 'master' of https://github.com/stella-emu/stella 2017-12-10 15:48:16 +01:00
thrust26 cc1f641725 removed THUMB_SUPPORT option from VS project 2017-12-10 15:47:51 +01:00
Christian Speckner 772b122b15 Remove -DTHUMB_SUPPORT from xcode project. 2017-12-10 00:22:50 +01:00
Christian Speckner 6500ab0613 Compile thumbulator unconditionally. 2017-12-10 00:22:18 +01:00
Christian Speckner c6f13ed743 Trade potentially illegal use of size_t against container::size_type. 2017-12-09 20:44:27 +01:00
Christian Speckner bff2c7a5e7 Fix a bunch of warnings in XCode / clang. 2017-12-09 20:25:18 +01:00
thrust26 c57253c9e6 aligned team to Stella website 2017-12-09 12:08:31 +01:00
thrust26 9ae7ab0ed4 Merge branch 'master' of https://github.com/stella-emu/stella 2017-12-09 10:41:55 +01:00
thrust26 a43e7f9d58 improved states interval factor calculation
a little code cleanup
2017-12-09 10:41:38 +01:00
Stephen Anthony cc64ce59a1 Some more work on RewindManager:
- iterator now starts and last node and moves towards first (removes one 'ugly' bit of code)
 - temporarily decreased size of buffer to 10 states, to make testing easier
 - added debug output, so we can clearly see that the iterator is correctly walking the buffer
2017-12-08 14:46:06 -03:30
Stephen Anthony e9a5198863 Reverted part of previous commit; rewind states now use 64-bit where appropriate.
Fixed some more minor errors found by clang.
2017-12-08 07:53:09 -03:30
thrust26 a1d0319042 corrected defaults for aspect ratio to 0.91 (NTSC)/1.09 (PAL)
see https://en.wikipedia.org/wiki/Pixel_aspect_ratio
2017-12-08 11:33:55 +01:00
Stephen Anthony 76b3ff02b3 Fixed various warnings in code.
- removed unused variables
- in RewindManager, convert cycles to Int32 rather than Int64; although
they are defined as 64-bit from the TIA, we only care about differences
here, and the difference will never be larger than a 32-bit can hold.
2017-12-07 21:27:31 -03:30
Stephen Anthony 21bcf8211b Updated OSX project file for class additions. 2017-12-07 21:04:00 -03:30
thrust26 b35a9ef946 added that rewind toggle updates settings too 2017-12-06 19:49:03 +01:00
thrust26 ec4f56960b HelpDialog and AboutDialog updated 2017-12-06 16:52:37 +01:00
Stephen Anthony a79ccf400f Minor updates to rewind:
- comments are now more in line with what actually happens when adding a state
- changed Serializer::reset() to Serializer::rewind(), to more accurately indicate what it does
2017-12-06 11:44:40 -03:30
thrust26 90be9bb607 fixed DTHUMB_SUPPORT error 2017-12-06 13:03:27 +01:00
thrust26 ec5a3cdec5 thumb.trapfatal added to developer settings dialog
restructured developer settings dialog
duplicated debug colors are changed automatically
updated doc and screenshots accordingly
2017-12-06 12:15:16 +01:00
thrust26 87d5886067 fixed #264 2017-12-06 11:01:33 +01:00
thrust26 3a969bfeef DTHUMB_SUPPORT define added 2017-12-06 09:24:24 +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 f18fa0fcb8 Updated libpng to latest release.
Fixed tabs vs. spaces in Changes.txt.
2017-12-05 11:07:55 -03:30
Stephen Anthony 1f43539f10 Changed Switches::update() to not evaluate settings on every call.
Basically, removed determination of whether we're in 2600 or 7800 mode
from the hot path, and moved it to a method that is called only when
it changes (currently that method doesn't seem to be called at all, since
it seems like 'console' setting cannot be changed dynamically).
2017-12-04 14:12:06 -03:30
thrust26 260a8b7bb0 minimal debugger sizes adjusted again 2017-12-04 15:59:51 +01:00
thrust26 aef15b44b4 minimal debugger and text dialog sizes increased
debugger doc updated and some links added
missing ellipsis added to RAM widget
2017-12-04 14:17:54 +01:00
Christian Speckner ed25664c46 Add two "grace lines" of black when autodetecting ystart. 2017-12-04 00:25:54 +01:00
thrust26 78a3b197f4 loadconfig bug fixed
save commands explained in debugger doc
load/saveconfig allowed for multi-bank ROMs (with warning)
2017-12-03 17:07:47 +01:00
thrust26 039a054ad5 saverom command fixed (broke that myself) 2017-12-03 16:18:23 +01:00
thrust26 7c01418c29 fixed #239 2017-12-03 13:53:14 +01:00
thrust26 faf9294fd2 a very little fix here an there 2017-12-03 09:08:33 +01:00
thrust26 88500b46ff reflected last doc changes in debugger help 2017-12-02 11:51:06 +01:00
thrust26 8abc49af1f fixed effective volume for C = 0 2017-12-01 21:15:11 +01:00
thrust26 d3f29a1432 Merge branch 'master' of https://github.com/stella-emu/stella 2017-12-01 20:57:31 +01:00
thrust26 b6fa51d97b effective volume to audio widget added
fixed parser return value for "$a"
2017-12-01 20:57:14 +01:00
Stephen Anthony a4f33127ba Added ROM properties for 'Super Cobra Arcade'. 2017-12-01 15:42:33 -03:30
thrust26 9f0c15bc32 audio widget made editable 2017-12-01 18:21:54 +01:00
thrust26 da473f4803 sorting improvement unreverted :) 2017-12-01 14:21:00 +01:00
thrust26 3a136b4284 Revert "removed leading space from directories, as this will make navigation slightly faster"
This reverts commit 823debcc04.
2017-12-01 13:59:38 +01:00
thrust26 823debcc04 removed leading space from directories, as this will make navigation slightly faster
see #160
2017-12-01 12:06:35 +01:00
thrust26 bd52880a46 minimal Cart class refactoring 2017-12-01 12:03:19 +01:00
thrust26 d333553ec2 startup bank for E0 bankswitch type randomized 2017-12-01 10:08:10 +01:00
thrust26 7fc1c54d4c more E7 refactoring/cleanup 2017-11-30 17:26:58 +01:00
thrust26 16bc644b00 minor doc fixes 2017-11-30 16:04:43 +01:00
Stephen Anthony 178c5b4eaf Changed 'const' to 'constexpr' in several places.
Note that constexpr should be preferred, since it _guarantees_ compile-time
usage, whereas 'const' alone doesn't necessarily do that.  So constexpr
is guaranteed to be more efficient.
2017-11-30 10:36:31 -03:30
thrust26 a636e6859d documentation and output of 'dump' command improved 2017-11-30 13:50:56 +01:00
thrust26 d639cdb4c9 multi bank ROM disassembly allowed (with a warning) 2017-11-30 11:46:20 +01:00
thrust26 1d5333969b startup bank for 3F getting randomized 2017-11-30 11:36:21 +01:00
thrust26 3fddc7fcc3 minor merge update 2017-11-30 09:12:35 +01:00
Stephen Anthony f7f9a8a3df Re-generate DefProps.hxx from stella.pro changes. 2017-11-29 21:07:39 -03:30
Christian Speckner 53a2d59e02 Add a bunch of missing overrides. 2017-11-30 01:22:41 +01:00
Christian Speckner 2b285060fe Remove dead code. 2017-11-30 01:14:22 +01:00
thrust26 51cdc21fa3 spelling fix 2017-11-29 21:00:30 +01:00
thrust26 2a4db8e11e startup bank randomization info added to widgets 2017-11-29 20:48:19 +01:00
thrust26 30cb1fe14d RewindManager fix for ROM startup rewind
-bankrandom support for E7(8K) added
2017-11-28 23:20:06 +01:00
thrust26 a239d94df9 E78K signature fix 2017-11-28 22:25:09 +01:00
thrust26 247cac9233 Minor spelling fixes 2017-11-28 22:08:16 +01:00
thrust26 b3e92842e5 some more refactoring 2017-11-28 22:00:42 +01:00
thrust26 8d42af251e some magic numbers replaced
(and fixed a bug regarding offset into myCodeAccessBase)
2017-11-28 16:38:01 +01:00
thrust26 b0a373285b fixed irritating variable name 2017-11-28 14:19:04 +01:00
thrust26 5760167f31 E78K added to doc
missing files added
2017-11-27 22:51:41 +01:00
thrust26 053b79fc3e E7 bankswitching classes refactored
E78K bankswitching added
2017-11-27 22:49:53 +01:00
thrust26 4085469dbc VERY minor copy&paste error fix 2017-11-27 11:51:25 +01:00
Christian Speckner 35ae38572c Clear FB before running autodetection. 2017-11-26 23:24:05 +01:00
Christian Speckner 1c10f55bb0 Mute audio while autodetection runs. 2017-11-26 23:10:43 +01:00
thrust26 9ed688613c maximum framerate in Video Dialog set to 900 2017-11-26 20:01:55 +01:00
thrust26 12a41adb1e Merge branch 'master' of https://github.com/stella-emu/stella 2017-11-26 19:50:44 +01:00
thrust26 4ca56b03ce fixed #259 2017-11-26 19:50:27 +01:00
Stephen Anthony e9619914e4 Added missing header files to VS project file. 2017-11-26 14:36:17 -03:30
Stephen Anthony 5bf4fa5d5f Updated OSX project file for recent class additions. 2017-11-26 13:12:37 -03:30
thrust26 c1fc60a4e0 missing files added
first changes to debugger docs
2017-11-26 13:42:56 +01:00
thrust26 0b542b699e Debug Color settings moved into Developer Settings dialog 2017-11-26 11:09:24 +01:00
thrust26 e09876af61 '*' vertically centered 2017-11-25 20:17:51 +01:00
thrust26 5445dc6019 Fixes for setting rewind mode 2017-11-25 18:14:32 +01:00
thrust26 7eeec2964c missing ellipsis added 2017-11-25 15:54:29 +01:00
thrust26 cc55724d49 Revert "changed saved game properties (Control + s) path to defaultSaveDir()"
This reverts commit ae0a3c1ba5.

According to documentation, the contents should overwrite stella.pro.
2017-11-25 12:36:11 +01:00
thrust26 df0a3720db fix to developer settings dialog parameters 2017-11-25 12:33:38 +01:00
thrust26 ae0a3c1ba5 changed saved game properties (Control + s) path to defaultSaveDir()
Question: Should those files overwrite Stella.pro automatically?
2017-11-25 11:18:05 +01:00
thrust26 7c46f031f3 further Developer settings dialog improvements 2017-11-25 11:12:17 +01:00
thrust26 e6b36356a3 some improvements for RadioButtonGroup 2017-11-24 22:37:07 +01:00
thrust26 15318c749a two sets for developer related settings added
reverted previous changes, "colorloss", " stats" and "grabmouse are permanent again (for the current set)
2017-11-24 20:48:27 +01:00
thrust26 8fd33ed103 Merge branch 'master' of https://github.com/stella-emu/stella 2017-11-24 20:38:47 +01:00
thrust26 08f29ca808 two sets for developer related options defined
reverted some changes previous changes ("colorloss", "stats" and "grabmouse" are persisted again)
2017-11-24 20:38:21 +01:00
Stephen Anthony 9ada07a733 Minor fixups for last commits. 2017-11-24 13:24:19 -03:30
Markus Uhr bfd12d7ddc Fix tick suffix in snapshot file name. 2017-11-24 13:12:06 -03:30
Markus Uhr ed3b61fdb1 Improve 'dump' command.
Add third parameter to indicate that the dump should be appended to
a file instead of printed on screen. Also, allow to dump CPU state
and input registers.

The third argument is a flags value (0x01: dump memory, 0x02: dump
CPU state, 0x04: dump input registers).
2017-11-24 13:12:06 -03:30
Markus Uhr 0ecb4f5ae7 Add an 'exec'-prefix to snapshot name when saving from a script.
Allow the user to specify an additional 'prefix' string in the exec command
that will be prepended the ticks-part of the snapshot name when saving a
snapshot from script.
2017-11-24 13:12:06 -03:30
Markus Uhr 7010400235 Add new debugger command 'stepwhile'.
This command steps through the code instruction-by-instruction (just like the
'step' command) while the <condition> argument evaluates to true. This is a
(pretty slow) workaround for breakpoints and the 'run' command which seems
broken from debugging scripts.
2017-11-24 13:12:06 -03:30
Markus Uhr e6b5d792b7 Reset command: also reset controller state. 2017-11-24 13:12:06 -03:30
Markus Uhr 2f787fbb91 Exec command: search script first in current directory. 2017-11-24 13:12:06 -03:30
Markus Uhr ff4603d81f Bugfix: redraw TiaOutputWidget on savesnap when executing in a script. 2017-11-24 13:12:06 -03:30
Markus Uhr 5b207618c8 Add debugger commands to manipulate controller state. 2017-11-24 13:12:06 -03:30
thrust26 1a7dff416a missing files added to project
RadioButtonGroup added
2017-11-24 14:25:34 +01:00
thrust26 5d0bc45a09 refactored RadioButtonWidget into own class 2017-11-24 12:33:22 +01:00
thrust26 44d6cf15a0 RadioButtonWidget added
disabled CheckboxWidget still shows status
2017-11-24 11:23:45 +01:00
thrust26 63f8605977 made "tia.zoom" hotkeys toggle settings temporary only 2017-11-23 23:40:37 +01:00
thrust26 d6680a681f made "color loss", "stats" and "grab mouse" hotkey toggles temporary only
added messages for "grab mouse" toggle
updates doc for "grab mouse" toggle
2017-11-23 22:13:37 +01:00
thrust26 b7794c6e64 minor fix and some cleanup to Developer Dialog 2017-11-23 12:00:18 +01:00
thrust26 e18474a5e9 frame stats added to Developer Setting ("dev.stats" now) 2017-11-23 11:35:28 +01:00
thrust26 72710aa323 manual color-loss toggling fixed 2017-11-23 10:46:22 +01:00