Commit Graph

2092 Commits

Author SHA1 Message Date
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
thrust26 cddf4f2f2a 3rd attempt to get Challenge HES right. :) 2017-11-23 08:32:28 +01:00
thrust26 ac96f18508 updated note for Challenge (NES) 2017-11-23 08:23:32 +01:00
thrust26 66a2372512 removed special startup bank for "Challenge (HES) (PAL).bin" (2 in 1 ROM) 2017-11-22 22:26:22 +01:00
thrust26 984ae0156e preparation for RewindManager parameters 2017-11-22 20:07:55 +01:00
thrust26 89defd6487 more debugger disassembly formatting 2017-11-21 17:37:54 +01:00
thrust26 956f284a51 Debugger UI tab refactored (font size selection and debugger size)
debugger disassembly reformatted
2017-11-21 16:30:33 +01:00
thrust26 cc45822816 missing ellipsis char to some fonts added 2017-11-21 11:45:28 +01:00
thrust26 7a65a4445b replaced "..." with ellipsis char 2017-11-21 11:01:32 +01:00
thrust26 8379b0af1a better debugger disassembly space utilization
changed developer dialog/debugger UI label
2017-11-21 10:57:50 +01:00
thrust26 2efeb6cdb7 fix for temporary macro labels ('...$') 2017-11-21 09:25:12 +01:00
Stephen Anthony 4228093638 Final header changes, and bumped version #. 2017-11-20 21:39:06 -03:30
Stephen Anthony e0de7613e5 Final header changes for 'src/gui'. 2017-11-20 21:33:44 -03:30
Stephen Anthony be6250b29b More header fixes (this time in 'src/gui'). 2017-11-20 15:58:32 -03:30
Stephen Anthony 5b6fabcf3c Header file fixes for remaining files in 'emucore'. 2017-11-20 15:27:05 -03:30
thrust26 34dce48414 Update help for trap.../breakif and savestateif 2017-11-20 18:54:10 +01:00
thrust26 da69311de5 savestateifs with identical conditions toggle each other (like breakif and trapif) 2017-11-20 16:18:20 +01:00
thrust26 c996460bbe identical breakifs conditions toggle each other
renamed command in TIA display context menu "Toggle..."
added messages for TIA display context menu
2017-11-20 16:13:48 +01:00
thrust26 01d3a29f66 conditional savestates in debugger added 2017-11-19 18:52:27 +01:00
Stephen Anthony b098f29e9d Re-create DefProps.hxx from stella.pro.
Hmm, it seems I can do this from the Git bash terminal in Windows; cool.
2017-11-19 11:20:55 -03:30
thrust26 9f9b1df2c7 properties for 'Bumper Bash' updated 2017-11-19 15:04:14 +01:00
Christian Speckner 2f8ddb2f7a Fix build on clang. 2017-11-18 19:57:22 +01:00
thrust26 73a8938abf fixes for developer settings 2017-11-18 18:22:10 +01:00
thrust26 b564c1c85a "Drive unused pin..." option removed from debugger
code cleanup for RAM/CPU randomization
2017-11-18 16:59:17 +01:00
thrust26 ceb58b8b71 PAL color loss and tv.jitter option removed from Video Settings, only one option (dev.) left 2017-11-18 16:36:15 +01:00
thrust26 cdd4b4bf39 UA added to randomized startup bank types 2017-11-18 14:53:27 +01:00
thrust26 a14fa6a3ea - missing checks for developer settings added
- "dev.console" selection move to developer settings
- random startup bank implemented for some (tested!) bank switchings
- Options dialog button added in debugger
2017-11-18 13:14:27 +01:00
Stephen Anthony 40c831e6e6 Updated OSX project file for recent class additions. 2017-11-17 23:31:49 -03:30
Stephen Anthony 042b6bc2fa Added missing class to VS project file. 2017-11-17 17:37:17 -03:30
Stephen Anthony 522018d636 More header file reorg/optimization. 2017-11-17 13:30:17 -03:30
thrust26 2dde406bb9 some minor cleanup and preparation for more options 2017-11-17 17:26:42 +01:00
thrust26 78f2211f1f Debugger UI settings moved form UI to Developer Settings dialog 2017-11-17 17:02:24 +01:00
Stephen Anthony fbedb3beda Fixed minor formatting issues, and adapt for header reorganization.
Also removed reference to header file on Thomas' local system :)
2017-11-17 11:41:52 -03:30
thrust26 340c974503 fixed project settings 2017-11-17 14:15:11 +01:00
thrust26 6408a2df40 Developer dialog added,
- some options are duplicated with ".dev" prefix
- other renamed with ".dev" prefix
2017-11-17 14:04:40 +01:00
thrust26 41810298a7 Merge branch 'master' of https://github.com/stella-emu/stella 2017-11-17 14:02:27 +01:00
thrust26 b5c9842716 DeveloperDialog added
- developer only options now have "dev." prefix
- options relevant for players and developers are duplicated ("dev." prefix)
2017-11-17 14:02:10 +01:00
Stephen Anthony c2946e58d6 Header fixes take 4; 'debugger/gui' classes.
Note that this one adds a new file, and I haven't yet updated the
Windows and OSX builds (so they won't compile for now).
2017-11-17 09:03:03 -03:30
Stephen Anthony 39f839021e Header fixes take 3: cheat, common, debugger directories done. 2017-11-16 14:29:34 -03:30
Stephen Anthony 4610cae973 Merge branch 'master' of github.com:stella-emu/stella 2017-11-16 13:31:54 -03:30
Stephen Anthony a7f1764411 Second pass at optimizing header files, to eliminate cascaded compiles. 2017-11-16 13:31:20 -03:30
thrust26 64c6e97db3 RewindManager::getUnitString() refactored 2017-11-16 14:49:41 +01:00
thrust26 524548a08a attempt to remove warnings 2017-11-15 23:41:15 +01:00
thrust26 838b277c0a myNTSC removed, defined by number of scanlines now 2017-11-15 11:03:39 +01:00
Stephen Anthony 632fffcb49 Refactor a few classes to not include so many headers.
Including many header files in other headers leads to a cascade of
compiles when changing one of them.

Note that this potentially makes some inline methods non-inline
(although current idea on this is that the compiler can make
much better choices for when to inline).  So we may need to check
performance after this work, to make sure no regressions happen.
2017-11-14 21:52:23 -03:30
thrust26 6970389ff5 rewind states cleared and continuous rewind mode disabled when exiting ROM
(@sa666666 please check if that's the right way to do it)
2017-11-14 16:29:24 +01:00
thrust26 d24f962909 'Desert Falcon (PAL)' ROM properties updated, display format is PAL 2017-11-13 21:01:58 +01:00
thrust26 0dddb93fb6 rewind/unwind command output improved 2017-11-13 16:02:15 +01:00
thrust26 92a8747eb3 rewind/unwind commands enhanced with optional number of levels parameter 2017-11-13 15:07:48 +01:00
thrust26 3f77b95b3b preliminary state compress code added (disabled) 2017-11-12 10:14:42 +01:00
Stephen Anthony bfc7574cd7 First pass at implementing state save/replay using an iterator-based approach.
Saving a state and later rewinding it now works, but still TODO is unwinding
(ie, replay in the future vs. in the past).

For now, debugging info remains, and some methods are commented out.  This
code is mostly for Thomas to inspect and make sure we're on the right track.
2017-11-11 22:15:28 -03:30
Stephen Anthony c18469c2a3 Fix minor compile warnings.
Sync BSTypes in Stella and harmonycart, fixing a bug in the process
(entering non-uppercase extensions for '-bs' would result in an error).
2017-11-10 21:37:11 -03:30
Stephen Anthony a802e934c9 Fixed 'Gamma Attack' ROM properties; the right joystick is the default. 2017-11-10 08:36:59 -03:30
thrust26 d81b1d1e4e debug color for playfield slightly varied for PF0/1/2 (implements #248) 2017-11-09 15:55:56 +01:00
Stephen Anthony 2f31c9d1d8 Fixed minor warning in OSX project file. 2017-10-29 15:28:36 -02:30
Stephen Anthony e64e0ea844 Fix compile errors when certain options are disabled by 'configure'. 2017-10-19 22:14:17 -02:30
thrust26 eceb647953 Atari 7800 support (initial RAM and Pause key) added
currently only available in debugger UI and via command line
TODO: make available in future developer dialog
2017-10-18 22:03:52 +02:00
Christian Speckner 23cac0538c Documentation. 2017-10-17 23:35:49 +02:00
Christian Speckner b5feb9fc40 Remove dead constants, change vsync margin during ystart to match frame. 2017-10-17 22:31:55 +02:00
Christian Speckner 86e789a6cf Minor refactoring, be more tolerant w.r.t. vsync timings -> fixes Acid Drop. 2017-10-17 22:24:40 +02:00
Christian Speckner 20c21177ea No jitter simulation during the initial garbage frames. 2017-10-17 22:06:11 +02:00
thrust26 2af885b417 autocompletion does not anymore cut string if no longer matching string is found 2017-10-17 21:10:37 +02:00
thrust26 631a8c1567 Merge branch 'master' of https://github.com/stella-emu/stella 2017-10-17 19:07:28 +02:00
thrust26 cc04c3e826 missing "Start" label in disassembly fixed
negative block cycle count displayed correctly
2017-10-17 19:07:15 +02:00
Stephen Anthony ad2d53758f Fixed final warning in jitter code. 2017-10-17 09:57:19 -02:30
Christian Speckner 424808b948 Revised my decision ;) 2017-10-17 00:26:12 +02:00
Christian Speckner 1338b8d0d0 Fix spurious jitter in ROMs with continously changing frame height (ghost!). 2017-10-17 00:25:24 +02:00
Christian Speckner 4a73aab1e4 Fix segfault during ystart autodetection. 2017-10-16 23:53:41 +02:00
Christian Speckner 18895e3683 Remove FIXME --- the comparision is legitimate. 2017-10-16 23:37:22 +02:00
Christian Speckner f02a7020b0 Fix typo. 2017-10-16 23:36:52 +02:00
thrust26 ad36e7a74c VS project files updated 2017-10-15 23:17:27 +02:00
Stephen Anthony 5317c86f23 State files are no longer valid after the frame-manager refactoring. 2017-10-15 17:58:34 -02:30
Christian Speckner 5384ca95d2 Oops. 2017-10-15 22:23:17 +02:00
Christian Speckner 2c96258890 Merge branch 'refactoring/frame_manager' 2017-10-15 21:12:14 +02:00
Christian Speckner f40d34543c Fix build on OSX. 2017-10-15 21:11:39 +02:00
Christian Speckner 14dde10b34 Silence clang warnings. 2017-10-15 21:03:33 +02:00
Stephen Anthony abc7ffdf03 Fixed missing break. 2017-10-15 16:06:06 -02:30
Christian Speckner be877f8503 Merge branch 'master' into refactoring/frame_manager 2017-10-15 20:28:27 +02:00
Christian Speckner f67a977c97 CS. 2017-10-15 20:27:16 +02:00
Christian Speckner dc770b2e83 Remove dead code. 2017-10-15 11:55:01 +02:00
Christian Speckner 640da16a2a Reenable jitter. 2017-10-15 00:11:19 +02:00
thrust26 ff57f271ea keys for rewind/unwind from within emulator added (start pause mode and work in pause mode too)
entering debugger from pause mode allowed (TODO: allow more functions)
"Pause" displays always immediately
2017-10-14 12:22:21 +02:00
thrust26 474c9941d5 minimal rewind button state refactoring 2017-10-13 16:01:30 +02:00
thrust26 cdb2e18324 save state handling for entering and leaving the debugger modified. 2017-10-13 15:29:20 +02:00
thrust26 44f7029573 formatting for hit traps and changed source addresses changed 2017-10-13 12:18:41 +02:00
thrust26 576773f837 Merge branch 'master' of https://github.com/stella-emu/stella 2017-10-13 11:18:07 +02:00
thrust26 c6a5b96796 fixes #244 (wrong source address display for cleared peeks) 2017-10-13 11:17:53 +02:00
Stephen Anthony 1707a8f167 Fixed a few more warnings generated by Clang 6. 2017-10-12 23:19:33 -02:30
Stephen Kitt 4885fec94a Spelling fixes
* commmands -> commands
* comparitive -> comparative

These were found by Debian’s Lintian tool.

Signed-off-by: Stephen Kitt <steve@sk2.org>
2017-10-12 16:53:58 -02:30
thrust26 4050acad01 spelling and ordering of pseudo-ops fixed 2017-10-12 21:11:39 +02:00
thrust26 53d4745479 pseudo-op "_scycles" (cycles into current scanline) added 2017-10-12 21:08:24 +02:00
thrust26 3045a0ddf7 unwind logic started, TODO: adapt RewindManager 2017-10-12 17:43:41 +02:00
Stephen Anthony cf74aa8c4d Updated OSX project file for missing header files. 2017-10-12 01:50:46 -02:30
Stephen Anthony fdf813cf06 Fixed nullptr vs. 0 issues in Debugger; removed nasty C-style char pointers. 2017-10-12 00:08:52 -02:30
nanochess 3a853b8944 Corrected wrong message "shotshot" to "snapshot" 2017-10-11 22:33:38 -02:30
Stephen Anthony 10bdcd58d2 Third pass at fixing warnings:
- added very stringent checks when compiling under clang; for now, there will still be warnings,
  since I haven't addressed the specific code yet (probably issues in OSX too)
- no issues when compiling with gcc; still need to check VS.
2017-10-11 21:49:31 -02:30
Christian Speckner 0e5525223b Remove dead code from FrameManager (temporarily disables jitter). 2017-10-12 00:26:08 +02:00
Christian Speckner d0da98aef9 Remove the (now obsolete) logic for clearing the first pixels of line zero. 2017-10-12 00:10:36 +02:00
Christian Speckner 23c2901d14 Hook up new ystart autodetection. 2017-10-12 00:02:31 +02:00
Stephen Anthony be48e643e6 Second pass at cleanups from increased warning level. 2017-10-11 18:18:07 -02:30
Stephen Anthony 9fd1726824 Merge branch 'master' of github.com:stella-emu/stella 2017-10-11 12:25:00 -02: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
Christian Speckner dc5c68bb80 Factor out ystart detection. 2017-10-11 16:04:47 +02:00
thrust26 39c3ba89bf input history works in both directions and wraps around 2017-10-11 15:13:09 +02:00
thrust26 5883f2dfcc prevent displaying auto completes for no filter argument or only "_" 2017-10-11 11:38:38 +02:00
thrust26 c93d7e265d PromptWidget::getCompletionPrefix refactored 2017-10-10 16:40:54 +02:00
thrust26 20ff2163ca comment to BSPF::matches() added
some compiler warnings fixed
2017-10-10 15:29:14 +02:00
thrust26 d702829ed3 slightly better parser messages for breakifs and failed deletes. 2017-10-10 14:48:36 +02:00
thrust26 3cc42b1dc5 resulting string from incomplete autocomplete fixed 2017-10-10 14:47:29 +02:00
thrust26 3e6fe633f3 more characters to auto complete whitespace list added 2017-10-10 14:15:18 +02:00
thrust26 c2325decb7 advanced auto complete added; first letter has to match, following letters have to appear in correct order. examples:
- 'twf' finds and completes into 'trapwriteif',
- 'g0' finds and completes into 'GRP0'
- 'em' finds 'ENAM0'&'ENAM1' and completes into 'ENAM'
2017-10-10 14:03:52 +02:00
thrust26 6c95d34ae3 minimal fix for previous commit 2017-10-10 12:03:15 +02:00
thrust26 5db2d836f4 prompt is initially filled by the executed script files commands 2017-10-10 12:00:10 +02:00
Christian Speckner 12afce8c0d Documentation, minor simplificationsDocumentation, minor simplifications. 2017-10-10 10:20:53 +02:00
Stephen Anthony 29eb553a0c Fixed trailing space in Debugger class file. 2017-10-09 20:31:29 -02:30
thrust26 7c679fda31 Merge branch 'master' of https://github.com/stella-emu/stella
# Conflicts:
#	src/debugger/Debugger.cxx
2017-10-09 23:56:39 +02:00
thrust26 f59ad788d7 missing address in debugger status line fixed 2017-10-09 23:49:14 +02:00
Stephen Anthony aa755c7270 Fixed minor compile warnings with gcc/clang. 2017-10-09 19:14:49 -02:30
thrust26 3fddc03ff6 trapifs implemented (and fixed mirrors)
wrong port display for swapped ports fixed
error due wrong argument number now with example display
label display in status line added
2017-10-09 23:15:40 +02:00
thrust26 07d2797c62 Merge branch 'master' of https://github.com/stella-emu/stella 2017-10-09 23:09:33 +02:00
Stephen Anthony 50174483e1 Updated OSX project file for LinkedObjectPool class. 2017-10-09 18:36:37 -02:30
Stephen Anthony 63ad275b9d Ported RewindManager to use LinkedObjectPool class. 2017-10-09 18:11:15 -02:30
Christian Speckner 4f31166e11 Cleanup. 2017-10-08 21:46:25 +02:00
Christian Speckner 398fac5c9f Replace frame layout detection with dedicated detector. 2017-10-08 21:32:57 +02:00
thrust26 64e4153bca Merge branch 'master' of https://github.com/stella-emu/stella 2017-10-08 19:04:48 +02:00
Stephen Anthony 741e148da5 Fixed 'save' command in debugger parser:
- all files are now appended with '.script' instead of '.stella'.
- files are saved in default save location, just like disassembly files
(this can be discussed/changed as necessary)
- 'exec' command has been changed to load from the same location
2017-10-08 14:24:10 -02:30
thrust26 a9910f2649 Merge branch 'master' of https://github.com/stella-emu/stella
# Conflicts:
#	src/windows/Stella.vcxproj.filters
2017-10-08 18:52:38 +02:00
thrust26 20babc832a Merge branch 'trapif_attempt_1' 2017-10-08 18:31:26 +02:00
Stephen Anthony 5f2e383440 Updated VS project file, adding LinkedObjectPool and removing some
non-existent classes.
2017-10-08 13:32:33 -02:30
Stephen Anthony a8719f6bd6 Added LinkedObjectPool class, which will be used by RewindManager.
Thomas, please contact me for example usage of this class.
2017-10-08 12:42:24 -02:30
thrust26 7406c0fd2a hides new access functions since they can only used together with traps
fixes listtraps formatting (trapStatus)
fixes trap addresses (in executeTrapRW, addr & XY is now always used for compares)
2017-10-08 15:59:00 +02:00
thrust26 eb2ae18ce1 added missing initialization 2017-10-08 14:18:14 +02:00
thrust26 649dada32c added missing file to source control 2017-10-08 12:50:22 +02:00
thrust26 90705babd7 debugger start displays labels where possible
prevent repeated trap interrupts
some old code cleanup
2017-10-08 12:25:23 +02:00
thrust26 d15690f5f1 added mirrors 2017-10-08 10:43:26 +02:00
thrust26 7b8b121ee5 detect duplicate traps which will eliminate each other 2017-10-07 23:45:32 +02:00
thrust26 41dffe6f78 works!
TODOs:
- identify duplicates and trigger remove when added
- mirrored addresses
- testing
2017-10-07 20:22:54 +02:00
Christian Speckner bff13fb008 Comment. 2017-10-07 19:50:29 +02:00
Christian Speckner 47f528c4d3 Inject FrameManager instance into TIA. 2017-10-07 19:48:06 +02:00
thrust26 15925c313c working on formatting 2017-10-07 19:30:21 +02:00
Christian Speckner a452d83b39 Coding style. 2017-10-07 18:48:02 +02:00
thrust26 ffacd7a5e7 missed a clear 2017-10-07 18:28:44 +02:00
Christian Speckner 6aecade2c3 Dcumentation. 2017-10-07 18:26:53 +02:00
thrust26 c6593e6c58 this should be working 2017-10-07 18:25:56 +02:00
thrust26 f862e1c97d progress... 2017-10-07 14:17:34 +02:00
Christian Speckner a400238c19 Refactor FrameManager to extend AbstractFrameManager. 2017-10-07 01:41:47 +02:00
Stephen Anthony bfb79fe289 Let dialogs use all available space in LauncherDialog (fixes #236). 2017-10-06 20:46:13 -02:30
g012 5cce80d908 Fixed removal of prefix of local labels (global.local -> .local). 2017-10-06 20:01:33 -02:30