Commit Graph

2239 Commits

Author SHA1 Message Date
thrust26 b22c292f3c developer/player settings added to frame stats overlay 2018-01-15 20:25:28 +01:00
thrust26 8583883795 Merge branch 'master' of https://github.com/stella-emu/stella 2018-01-15 14:44:56 +01:00
thrust26 cef50e4368 frame stats overlay made transparent 2018-01-15 14:44:09 +01:00
thrust26 f241dfd7b7 fixed compressStates(), now, with compression enabled, the first element is always kept and the horizon matches
missing "framerate" added, now changes are persisted.
2018-01-10 11:48:06 +01:00
Stephen Anthony 29499775dc Fixed compilation when '--disable-debugger' is used. 2018-01-09 23:16:50 -03:30
thrust26 ce195d71a1 fixed #276
made sure that the rewind buttons always have correct state when entering debugger
2018-01-07 10:56:30 +01:00
Christian Speckner 77158fd845 Always make sure that hardware state is consistent with a full step before dispatching the debugger.
* Allows to revert much of the complexity of my previous fix.
2018-01-07 00:31:24 +01:00
Christian Speckner c0edcaf0c9 Sanitize halt and hardware state handling after CPU dispatch. 2018-01-06 23:33:52 +01:00
Stephen Anthony f9d243e503 Fixed incorrect size in memset; this time I'll sizeof. 2018-01-05 22:03:42 -03:30
thrust26 d7ab2e6177 playing with transparency 2018-01-03 20:17:48 +01:00
thrust26 b553a5fa4d experiments with transparency 2018-01-03 20:16:50 +01:00
thrust26 cf926fdf07 UI partially working now (TODO: timebar) 2017-12-30 21:19:55 +01:00
thrust26 696fc2ab43 work on TimeMachine UI started 2017-12-30 16:43:27 +01:00
thrust26 1213c973dc fixed #275 2017-12-30 00:50:25 +01:00
Stephen Anthony 3d879d0080 Updated copyright date to 2018. A few days early, but nobody will mind ... 2017-12-29 17:10:37 -03:30
Stephen Anthony a15d5d8b06 Properly integrate MouseButton enum into the GUI core:
- The previous code used enumerations for DialogContainer, and constants for everything in src/gui
 - It took me over 3 hours to determine that a '1' in the first didn't mean the same as a '1' in the second
 - If ever there was a reason for strongly named constants (enum class), this was it.
2017-12-29 16:56:09 -03:30
Stephen Anthony 542fed69ed Collapsed MouseButton enum into just buttons, removing state (pressed or released).
- By itself, this first patch doesn't seem to accomplish much, but it leads into patch 2
 - Patch 2 will extend usage of MouseButton enum all throughout the GUI core
2017-12-29 16:05:07 -03:30
Stephen Anthony e6dcce60de Convert raw enum to 'enum class'. 2017-12-22 23:57:40 -03:30
Stephen Anthony 93dcc9807d Integrate 'TIATypes' into 'TIAConstants'; they serve the same purpose. 2017-12-22 23:47:07 -03:30
Stephen Anthony ad69e8900d Time Machine dialog can now be toggled by pressing 'T'.
- Note that the dialog is currently empty
 - See src/gui/CommandDialog for example of how to fill this dialog box
2017-12-22 12:28:06 -03:30
Stephen Anthony cbb494d7ad HiDPI fixes for framebuffer messages. 2017-12-21 23:04:17 -03:30
Stephen Anthony e572bea642 Activate code to dynamically select available renderers. 2017-12-21 20:03:53 -03:30
Stephen Anthony 44c5882920 Use 'enum class' instead of raw enum. 2017-12-21 19:53:54 -03:30
Stephen Anthony 4250f5d102 Refactor EventHandler kbdXXX functions into StellaKeys:
- These functions did not really have anything to do with EventHandler
 - StellaKeys is the proper place, since they're testing against a StellaMod
 - This removes the need to include 'EventHandler.hxx' in many header files, again reducing dependencies
2017-12-21 19:44:18 -03:30
thrust26 e37b5305cf code cleanup 2017-12-21 11:34:08 +01:00
thrust26 65ed71479a no background highlighting of disabled widgets 2017-12-21 08:48:07 +01:00
Stephen Anthony 24fccba025 Updated OSX project file for TimeMachine classes. 2017-12-20 22:39:58 -03:30
Stephen Anthony 6181c3fbe0 Updated VS project files for recent class renames.
- Also fixed several classes in the wrong place compared to their
on-disk location.
2017-12-20 22:27:13 -03:30
Stephen Anthony 7890a94144 Several large infrastructure changes for upcoming Time Machine stuff:
- renamed Rewinder and associated dialog to TimeMachine and friends
 - changed EventHandler state enum to stronger 'enum class' type (and associated changes to the codebase)
 - moved EventHandlerState into separate class, allowing a few files to not need to include EventHandler.hxx (reduce compile dependency)
 - plumbed EventHandlerState::TIMEMACHINE into the codebase; still TODO is activate it and add a usable dialog)
2017-12-20 21:56:22 -03:30
Stephen Anthony 6313c98fdc Almost all ROM properties are now updated to RomHunter v14.
- I will take a quick look over them again, to make sure I didn't miss any new ROMs.
2017-12-20 18:41:24 -03:30
thrust26 44bb4db73e improved saveOldState() usage, now changes after a break are displayed too 2017-12-20 23:09:41 +01:00
thrust26 f0d5ffbd0a bank change tracking for more CartDebugWidgets added 2017-12-20 21:54:40 +01:00
thrust26 ff1911a85d Merge branch 'master' of https://github.com/stella-emu/stella 2017-12-20 21:32:27 +01:00
thrust26 e3baeb209e added bank change tracking to most CartDebugWidgets 2017-12-20 21:32:07 +01:00
Stephen Anthony c6acb622cc Updated ROM properties up to 'T'. 2017-12-20 16:43:04 -03:30
Stephen Anthony 81179ab34f Revert handling of broken F8 ROMs; we can turn off randomization to make them work. 2017-12-20 14:47:17 -03:30
Stephen Anthony 63b3b2ab1e Updated ROM properties to 'R'.
Fixed F8 scheme to not randomize 'special' ROMs (those hardcoded with a certain startup bank).
Bumped state file version number.
2017-12-20 14:23:34 -03:30
thrust26 0826ce6bd6 Made collisions editable 2017-12-20 18:18:07 +01:00
thrust26 f61e45829c changed tracking for collisions and various TIA status registers added 2017-12-20 16:20:52 +01:00
Stephen Anthony 57036823ea ROM properties updated up to 'M'. 2017-12-20 11:05:20 -03:30
thrust26 0cfd471013 Merge branch 'master' of https://github.com/stella-emu/stella 2017-12-20 10:02:04 +01:00
thrust26 90733875b2 completed change tracking on RIOT tab (except for controllers). 2017-12-20 10:01:44 +01:00
Stephen Anthony ad78fbaa07 Updated ROM properties up to 'E'. 2017-12-19 22:22:11 -03:30
thrust26 d3575f3290 change tracking for TiaInfoWidget added 2017-12-19 19:22:29 +01:00
thrust26 e9ef45ab0a minor consistency fix and doc updates 2017-12-19 18:10:01 +01:00
thrust26 81cdbe832e refactoring the fix 2017-12-19 16:57:47 +01:00
thrust26 7259af1583 "Light" color fix 2017-12-19 16:56:01 +01:00
thrust26 0385dd4b01 added (disabled) SDL renderer information code 2017-12-19 14:46:40 +01:00
thrust26 b2d1c37f1e superfluous parameter removed in VideoDialog 2017-12-19 12:35:29 +01:00
thrust26 d7a34ec7dd 'tab' key skips disabled widgets
'ghost' read traps are displayed by 'RTrapG'
2017-12-19 09:01:26 +01:00
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