Commit Graph

811 Commits

Author SHA1 Message Date
Christian Speckner ec35026329 Ystart is sleeping with the fishes. 2019-12-19 18:01:54 +01:00
thrust26 980f5b92fa Fixed my merge chaos (sorry) 2019-12-16 09:47:56 +01:00
Stephen Anthony b6122f136f More fixes for issues reported by cppcheck. 2019-12-15 12:32:49 -03:30
Stephen Anthony d129ffc12a Use make_unique/make_shared to eliminate raw pointers. 2019-12-13 19:24:36 -03:30
Stephen Anthony 025eeba38c Convert some raw arrays to std::array.
Some fixes for warnings from Coverity.
2019-11-14 20:12:45 -03:30
thrust26 12fffa1690 add missing files 2019-11-02 13:23:23 +01:00
thrust26 ed42374644 adds FC bankswitching for Amiga's Power Play Arcade cart #1 2019-11-02 12:23:03 +01:00
thrust26 bc191ecd46 display debugger cart type info disabled
align further options to cart type info
2019-11-02 11:57:50 +01:00
thrust26 0dbd505b9b updated WD bankswitching (incl. detection) 2019-10-16 22:05:33 +02:00
Stephen Anthony ab9f060c04 One final fix for clang warning. 2019-09-24 10:36:32 -02:30
Stephen Anthony 8fa253d68e Fixed minor warnings in Windows. 2019-09-23 20:18:54 -02:30
Stephen Anthony f591ba92ce A few more std::array updates. 2019-09-22 20:42:46 -02:30
Stephen Anthony 218969eb59 Changed uInt32 to size_t where necessary.
Finally decided to stop fighting C++, and just use size_t everywhere an
array is used.
Even though this is a 64-bit value, it seems that C++/STL expects it
when dealing with arrays, so I guess we will too.
2019-09-16 21:29:08 -02:30
Stephen Anthony 354d5aa35a Fixed gcc warnings wrt getBank virtual methods.
Converted many C-style arrays to C++ std::array.  In the process, cleaned up a lot of magic constants.

Replaced most C-style memset/memcpy operations with C++ equivalents: std::fill/std::copy.
std::copy in particular fixes a few potential bugs, since it operates on the datatype size,
and not just on raw bytes.
2019-09-16 19:46:15 -02:30
thrust26 d7c4b1a7b9 Add considering addresses for current bank. This is important for types where the 4K ROM address space is segmented into smaller slices, so there can be more than one bank at a time.
This addresses #536.
2019-09-07 14:29:33 +02:00
Thomas Jentzsch 628baef1d2 add 'breaklabel' command for 16 bit address breaks in all banks 2019-08-31 11:37:29 +02:00
Thomas Jentzsch 0048beaa89 add a quick fix for #532
fix comment for FE detection
2019-08-31 10:21:30 +02:00
Stephen Anthony 5f660383e5 Removed 'cfgdir', and have Distella config files placed with the ROM file they refer to.
Updated docs for removal of statedir, propsfile, etc.
Added 'basedir' and 'baseinappdir' to the docs.
Updated changelog for above changes.
2019-08-30 23:32:57 -02:30
Thomas Jentzsch 3112c4deb0 improve 'break' command output 2019-08-27 23:27:28 +02:00
Thomas Jentzsch 5dbb5b8957 return sorted list of breakpoints 2019-08-26 10:11:41 +02:00
Thomas Jentzsch d35aaa3252 refine 'break' command (using ff instead of -1, which indicates an invalid argument) 2019-08-26 09:44:30 +02:00
Thomas Jentzsch 2f8fa198d3 Merge branch 'master' of https://github.com/stella-emu/stella 2019-08-24 14:12:32 +02:00
Thomas Jentzsch 696ae4ae3a forgot the new files, oops again! 2019-08-24 14:12:07 +02:00
Stephen Anthony 0c6e6602fc Fix build file for Linux. 2019-08-24 09:17:24 -02:30
Thomas Jentzsch bd3545bfff small fix `listbreaks` for single bank ROMs 2019-08-24 12:21:17 +02:00
Thomas Jentzsch f4a0c38e59 reworked breakpoints to use hash map (and % $1fff addresses) 2019-08-24 11:59:31 +02:00
Thomas Jentzsch 7ee9573646 fixed some breakpoint issues regarding #512 2019-08-21 10:23:54 +02:00
Thomas Jentzsch 9aecdf3873 improve breakpoint calculation, only consider low 13 bit for PC 2019-08-20 15:33:41 +02:00
Thomas Jentzsch 4232d964a3 add some more keypad keys support 2019-08-20 12:09:31 +02:00
Thomas Jentzsch b1f841cccc add commands from 'exec' script to prompt history 2019-08-20 10:27:42 +02:00
Thomas Jentzsch c3f379b45d make breakpoints consider banks (fixes #512) 2019-08-19 22:12:49 +02:00
Thomas Jentzsch 55d3c9106f made EventMode an enum class 2019-08-15 10:12:37 +02:00
Stephen Anthony 0e341a2467 Fix compile warning for strncpy in Visual Studio.
Hopefully this will make Thomas happy :)
2019-08-14 18:10:56 -02:30
Thomas Jentzsch d731b71afb propagate 'repeated' to dialogs 2019-08-14 17:25:42 +02:00
Thomas Jentzsch 950068ba60 fix #513
support using ESC to exit debugger
2019-08-14 14:52:28 +02:00
Thomas Jentzsch c68e8f1c30 fix #393 by using one-shot breakpoints 2019-08-13 17:27:23 +02:00
Thomas Jentzsch b965842975 fix TiaInfoWidget display 2019-08-10 22:39:02 +02:00
Thomas Jentzsch 5dcc687f35 add mouse wheel zooming to TIA zoom widget in debugger
fix coordinates for handleMouseWheel()
2019-08-02 14:07:05 +02:00
Thomas Jentzsch eb9bca9a81 allow dragging debugger zoom widget with mouse 2019-07-29 13:40:43 +02:00
Thomas Jentzsch 47457664e2 Improve zooming 2019-07-28 19:55:36 +02:00
Thomas Jentzsch c53fb6ab00 implement left button zoom and extra options in zom window (#506) 2019-07-28 14:15:03 +02:00
Thomas Jentzsch db7def887d implement swapped hotspot option for UA (for Mickey) 2019-07-28 11:11:27 +02:00
Thomas Jentzsch bd39c0836f adapted UA bankswitching to new Brazilian carts (except Mickey) 2019-07-28 09:58:38 +02:00
Thomas Jentzsch 78cce1e50b fixed hotspot address 2019-07-28 08:19:24 +02:00
Thomas Jentzsch 8e177cf627 fix #507 2019-07-27 11:45:50 +02:00
Thomas Jentzsch 0112b89666 add load and save all states commands to debugger 2019-07-26 15:46:24 +02:00
Stephen Anthony 5e6db1be0d Some UI code refactoring.
Since 'repeat' is now enabled below the UI level, we no longer need to track key presses.
2019-06-15 19:58:45 -02:30
thrust26 802b5a33bc make prompt tab initial tab in debugger
fix Dialog class for R77
2019-06-15 14:47:12 +02:00
Stephen Anthony 4a8f2f80b6 Fix PopupWidget/ContextMenu not positioned correctly in fullscreen mode.
Refactored Rect class.
2019-06-03 19:28:56 -02:30
Stephen Anthony 4de5098373 Fix compiler warning. 2019-06-02 10:22:26 -02:30