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
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
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
3045a0ddf7
unwind logic started, TODO: adapt RewindManager
2017-10-12 17:43:41 +02:00
thrust26
d702829ed3
slightly better parser messages for breakifs and failed deletes.
2017-10-10 14:48:36 +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
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
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
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
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
thrust26
15925c313c
working on formatting
2017-10-07 19:30:21 +02:00
thrust26
ffacd7a5e7
missed a clear
2017-10-07 18:28:44 +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
thrust26
61bf556e5b
it compiles again
2017-10-06 23:06:59 +02:00
thrust26
e10ca8e694
removed 'echo' and enhanced 'print' instead
2017-10-02 22:12:10 +02:00
thrust26
43e9693959
added 'echo' command to debugger prompt
2017-10-02 14:23:08 +02:00
Stephen Anthony
2dc355b0d5
Debugger 'saverom' and 'saveses' now save to the default save directory.
...
The 'saveses' command now creates a filename based on the date and time when the command was entered.
2017-09-09 17:20:22 -02:30
Stephen Anthony
b54b4eb4f6
Fixed documentation on some debugger 'save' commands; they don't take
...
any parameter, and choose the name (and locations) themselves.
This needs to be fixed, and will happen when I get to issue #172
(add save file dialogs).
2017-09-09 15:50:27 -02:30
Stephen Anthony
a018dc604a
Extend debugger 'dump' command to take second parameter (for end of data range).
2017-09-08 22:23:45 -02:30
Stephen Anthony
f280e31671
Printing of traps in debugger takes into account TIA read/write address.
2017-08-19 20:59:06 -02:30
Stephen Anthony
a9dd2b32cb
Debugger 'listtraps' now shows all traps ( fixes #190 ).
2017-08-18 18:47:35 -02:30
Stephen Anthony
10c53bce89
Make 'listtraps' less verbose ( fixes #157 ).
2017-07-06 21:05:52 -02:30
Stephen Anthony
f177aed814
Fix debugger trap documentation ( fixes #156 from #164 )
2017-07-06 19:45:12 -02:30
Stephen Anthony
3aeae9b6f6
Improvements to the debugger prompt
...
- commands are now properly range checked (byte, short, etc)
- better error messages
- internally, use 16-bit/8-bit instead of 32-bit when necessary
2017-04-15 19:00:50 -02:30
Stephen Anthony
7b8d579360
Added debugger prompt command 'debugcolors', which shows a legend
...
of colors used in 'fixed debug colors' mode.
2017-04-08 00:11:02 -02:30
Stephen Anthony
4e794ba778
Updated debugger prompt commands 'trap', 'trapread' and 'trapwrite'
...
to work like the old 'm' versions, so they work on all mirrors and
also allow one to enter a range of values to trap. Added more
stringent error checking for parameters.
2017-04-06 20:22:00 -02:30
Stephen Anthony
9736bdd3e8
Added 'palette' debugger prompt command, which shows a colour swatch
...
of the currently active TIA palette.
2017-04-06 17:54:41 -02:30
Stephen Anthony
96bbba223a
Various improvements to the debugger prompt:
...
- 'cls' now only clears the screen, and not the command history
- 'help' accepts another command as an argument, to give more info
about the command (ie, help breakif is now valid)
- command completion now works on built-in functions and pseudo-ops
2017-04-04 14:17:10 -02:30
Stephen Anthony
abb7097cb7
Removed $Id$ stuff from codebase, since it's Subversion-specific.
...
Whitespace cleanup and update copyright to 2017.
2016-12-29 20:30:30 -03:30
Stephen Anthony
07287fe761
Fixed trap'm' debugger commands when setting TIA addresses.
2016-12-19 14:26:35 -03:30
stephena
2832fbeccb
Added versions of the debugger trap commands that trap on all mirrors,
...
not just the specified address.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3317 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-09-04 23:03:01 +00:00
stephena
40cfd6a475
Cleaned up usage of 'using namespace ...'. I'm currently teaching that using
...
that approach is a bad idea (and using Stella as example code), so it doesn't
make sense to not do something as it's being taught; the correct way.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3308 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-05-24 16:55:45 +00:00
stephena
8dbd545433
After thinking about it a little, I wondered why we even need to wrap several
...
std:: functions into BSPF namespace at all. So I removed them, and have the
calls map directly to the std:: versions.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3304 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-04-03 00:35:00 +00:00
stephena
eb56efc3d5
Convert BSPF C-style macros to C++ namespace equivalent.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3302 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-04-02 23:47:46 +00:00
stephena
8f2d3a6cbb
Updated copyright to 2016, even though it's a few days early.
...
To anyone reading this, Merry (belated) Christmas and Happy New Year!
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3239 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-12-29 19:22:46 +00:00
stephena
8b7043d74a
More bugfixes as indicated by Coverity.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3235 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-12-06 18:12:17 +00:00
stephena
2ccebc9720
Oops, a little too much pruning, detected by compiling in OSX.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3206 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-09-14 21:44:24 +00:00
stephena
687b638437
Second pass at cleaning up warnings generated by -Weverything in clang.
...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3204 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-09-14 18:14:00 +00:00