Commit Graph

2742 Commits

Author SHA1 Message Date
stephena f02995b485 CPU register 'source' addresses in the debugger now show labels,
when applicable.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2802 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-08-20 14:00:25 +00:00
stephena bf3384425c Added medium console font to OSX project file.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2801 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-08-19 22:45:00 +00:00
stephena 568e61de61 Removed unused font from OSX project file.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2800 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-08-19 22:34:11 +00:00
stephena 7b79b0a971 The debugger CPU area is now font-sensitive.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2799 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-08-19 17:45:17 +00:00
stephena 29167a2e87 When using different font sizes in the debugger, the TIA display /
tab area and RAM area now take advantage of extra space.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2798 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-08-19 15:23:33 +00:00
stephena 30a3f3742c TIA graphics registers now more closely illustrate how they're drawn
to the screen (inactive pixels are 'transparent' in the UI).  In the
case where there is only one possible object below the register, a
'blank' uses the underlying colour (ie, in normal priority, a blank
PF is 'coloured' using COLUBK).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2797 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-08-19 14:35:58 +00:00
stephena 8ea92e67ef In the debugger TIA output, set inactive pixels in GRPx and PFx to
COLUBK instead of always using colour 0 (black).  This is more
informative, as it displays how the registers actually work when
being drawn to the screen.  Thanks to Tjoppen of AtariAge for this.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2796 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-08-16 12:25:42 +00:00
stephena 60dd213a0a Added preliminary support for DASM lst files (currently to differentiate
symbol names in the DASM symbol file).  This partly fixes a deficiency in
symbol files, whereby two names could have the same address (one has an
address, the other as a constant), and Stella would use whichever one
occurred in the file last.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2795 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-08-15 16:07:58 +00:00
stephena 77dfaa0ebc Rearrangement of GUI-specific code from Debugger to DebuggerDialog; more
cleanups and removals to follow.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2794 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-08-13 16:44:23 +00:00
stephena bcb4c592d3 Some minor font-related UI fixes in the debugger.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2793 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-08-12 16:52:49 +00:00
stephena aaba21cc77 Oops, forgot to include disassembly glyph in the 'large' debugger font.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2792 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-08-12 15:17:19 +00:00
stephena 465cc76769 Some reorganization of the console font initialization, in preparation
for different-sized debugger fonts.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2791 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-08-12 15:02:38 +00:00
stephena 19d9d5bc99 Fixed bug that crept into the new HEX handling code. It was left-justifying
values, which messed up code running from RAM (ie, address $80 became $8000!).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2790 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-08-11 23:16:08 +00:00
stephena 45115d5754 Minor cleanup of the BSPF API, and fix bool warning from VS 2012.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2789 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-08-11 15:41:36 +00:00
stephena c840bb9809 Removed some (long) dead debugging code.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2788 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-08-10 21:21:17 +00:00
stephena 5d026334d6 Version # updates for the upcoming release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2787 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-08-10 20:34:52 +00:00
stephena 6e5a66a0fb Fixed minor compile error for OSX.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2786 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-08-10 02:37:41 +00:00
stephena 68f16a8990 Some doc updates for the upcoming release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2785 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-08-10 01:22:26 +00:00
stephena 7758e0deb4 Better autodetection for EF and EFSC ROMs generated by the latest version
of bB, thanks to RevEng.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2784 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-08-09 21:53:31 +00:00
stephena 893bfd4a41 Override properties dialog is now called 'Power-on options', and includes
extended abilities (see changelog and docs for more info).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2783 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-08-09 13:09:47 +00:00
stephena ed49f9ba1d Event mappings weren't being saved when exiting the ROM launched from
the commandline (different code paths were taken).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2782 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-08-04 17:00:46 +00:00
stephena e3f1892351 Forgot to add release date to Princess Rescue ROMs.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2781 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-07-31 19:29:19 +00:00
stephena 33ec369d3b Added "Princess Rescue" properties info, now that the ROM has been released.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2780 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-07-31 18:59:33 +00:00
stephena 1e35527f01 Added medium and large console fonts. These aren't exposed to the UI yet.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2779 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-07-31 16:53:39 +00:00
stephena 1619c1a349 Regenerated the UI fonts, included the tool to actually do so (it was
previously on my local system, not in the repo), and fixed some minor
UI layout issues.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2778 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-07-31 15:46:02 +00:00
stephena 12f44a58fa Updated OSX project file for Base class.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2777 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-07-31 00:14:36 +00:00
stephena 4dde5045c0 Updated OSX Intel project file for Base class.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2776 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-07-31 00:13:12 +00:00
stephena 189f10f201 InputTextDialog used in debugger RamWidget wasn't closing properly
on exit; it attempted to close the debugger dialog instead!


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2775 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-07-30 21:43:20 +00:00
stephena 4958e87c3e Cleaned up ContextMenu API wrt multiple setSelected methods; in some cases,
it was confusing which one was being called.

Fixed output in debugger bankstate info; in some cases, hex numbers were shown
when decimal was required.

Fixed regression wrt the last TIA change (incorrect framerate counter); the
PAL autodetection was failing in certain cases.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2774 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-07-30 20:31:14 +00:00
stephena 20b9253430 Moved TIA frame count update code to beginning of frame (instead of the end).
Once a frame has started, it means a new frame should be added.  This
fixes a bug in the debugger UI whereby the frame count showed the previous
value, since sometimes you could enter the debugger (with a cond BP)
before the end of the frame was technically reached.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2773 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-07-30 16:45:23 +00:00
stephena 270abc889d Removed BSPF_toString, since its functionality is now provided by Variant.
This is the beginning of a major cleanup of the bspf.hxx file, which
has gotten unwieldy over the years.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2772 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-07-29 15:10:39 +00:00
stephena 2ed0848392 Added 'Base' class to VS project file.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2771 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-07-27 22:40:56 +00:00
stephena 95fe213f3a Consolidated the code for converting integers to strings in various
bases into a Common::Base class.  Previously, this functionality was
spread across several classes, and used different approaches to formatting.
While the code still mixes C++ streams and C-style sprintf's, at least
it will now be easier to modify it all in one place.

Related to the above, added ability to use upper or lower case
characters for HEX output in the debugger.  This is toggled by the
new debugger prompt command 'uhex', which is also tied to a new
commandline argument, 'dbg.uhex'.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2770 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-07-27 22:28:41 +00:00
stephena 33bcec92be Startup notification protocol patch for the UNIX desktop file,
from Dan Fandrich.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2769 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-07-21 13:47:33 +00:00
stephena a1ac026cbc Added 'cpurandom' commandline argument and associated UI item, to randomize
the CPU registers (A/X/Y/PS) on ROM load.

Added 'INTIM Clks' to the debugger I/O tab, showing the number of clocks
before the current INTIM value decreases by 1.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2768 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-07-21 00:27:52 +00:00
stephena 13c3ca9964 TIA position counters (POSP0, POSM0, etc) in the debugger now show values
in decimal, not hex.

All DataGridWidgets (ie, most of the inputs in the debugger) have more
strict input filtering, allowing to use $,#,\ specifiers for different
bases, as well as restricting input based on the specifier used (ie, if
you've entered a '\', only '0' and '1' are allowed, etc).

Updated libpng to latest version.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2767 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-07-19 13:43:42 +00:00
stephena 04f6a16f97 Fixed error tracking PC changes in disassembly when the PC and bank mirror
didn't match.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2766 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-07-17 23:00:55 +00:00
stephena b6d3098e2c Some work on the TIA class (I don't know how long the current code
will be used, but at least we can improve it a little).

Eliminated the 'alignment' dimension in the various TIATables masks,
reducing the size of the arrays by a factor of 4.  I could never
figure out what alignment meant, until I looked at old TIA code in
the repo.  It seems that originally, there was an optimization
in the code to fill the array on 32-bit boundaries, instead of the
current 8-bit boundary.  As a result, the masks had to be defined
as 32-bits, or 4 groups of 8-bits.  Ah, that's where the 'alignment'
comes from.

Related to this, the colors and pointers in the TIA class are now
8-bit as well.  Essentially, the TIA class has been doing extra
work to align everything to 32-bit and never actually using the
results.  And it's been this way for 4+ years.

Older state files will no longer work, so the version # has been
bumped.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2765 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-07-10 15:40:11 +00:00
stephena 0842c96f7f Updated debugger docs for recent changes.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2764 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-06-29 00:38:20 +00:00
stephena 3f4085f8b9 Added ability to change 'tiadriven' and 'ramrandom' to the debugger UI.
Cleaned up the class comments wrt ScummVM; the attributions only needed to
be in the base classes, since all the derived stuff was written later.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2763 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-06-29 00:02:49 +00:00
stephena 54a9a2d61d Fixed error with maximize button appearing in the app title bar
in Linux/UNIX.  This bug has been present since 3.2; too bad I didn't
find it 24 hours ago, as it could have been included in 3.9.

Bumped version #, and starting all over again ...


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2762 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-06-27 16:25:27 +00:00
stephena daf2691ac7 Updated VS project file with Snapshot Dialog class. There's always one final commit after I tag a release :(
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2760 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-06-26 22:00:48 +00:00
stephena 1f4cf1c0b1 We're close to the 3.9 release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2757 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-06-26 21:34:48 +00:00
stephena 8f8c85250c Preparation for 3.9 release, updated documentation.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2756 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-06-26 16:03:08 +00:00
stephena f5ed7ccf5c When patching code in the disassembly list, the current base is now used.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2755 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-06-23 00:22:16 +00:00
stephena 98886f8850 Updated UI help dialog, fixing some out of date info and adding
a TV filtering section.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2754 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-06-21 13:09:46 +00:00
stephena f3d412fce7 Improved the new Snapshot Settings dialog with more informative text.
Added option to save snapshots using either internal database name
(the default) or actual ROM filename.

Extended FSNode API for parsing filenames and adding/removing extensions,
which was previously being done in different ways throughout the codebase.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2753 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-06-21 12:15:32 +00:00
stephena 41cb93c437 Updated OSX project files for snapshot-related dialog rearrangement.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2752 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-06-19 21:29:18 +00:00
stephena 125d7542d5 Refactored snapshot-related UI code into a new 'Snapshot Settings' dialog,
since it was getting too unwieldy for 'Config Paths', and didn't properly
belong there anyway.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2751 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-06-19 20:28:41 +00:00
stephena f01bd88cfb Updated VS project file for recent class addition.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2750 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-06-19 18:38:30 +00:00