Commit Graph

598 Commits

Author SHA1 Message Date
thrust26 c1fc60a4e0 missing files added
first changes to debugger docs
2017-11-26 13:42:56 +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 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 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 be6250b29b More header fixes (this time in 'src/gui'). 2017-11-20 15:58:32 -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
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 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 522018d636 More header file reorg/optimization. 2017-11-17 13:30:17 -03:30
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 a7f1764411 Second pass at optimizing header files, to eliminate cascaded compiles. 2017-11-16 13:31:20 -03:30
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 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
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
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
thrust26 2af885b417 autocompletion does not anymore cut string if no longer matching string is found 2017-10-17 21:10:37 +02:00
thrust26 cc04c3e826 missing "Start" label in disassembly fixed
negative block cycle count displayed correctly
2017-10-17 19:07:15 +02:00
Christian Speckner be877f8503 Merge branch 'master' into refactoring/frame_manager 2017-10-15 20:28:27 +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 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 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 fdf813cf06 Fixed nullptr vs. 0 issues in Debugger; removed nasty C-style char pointers. 2017-10-12 00:08:52 -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