Commit graph

1478 commits

Author SHA1 Message Date
Sour
079564cb25 Debugger: Fixed out-of-range memory read bug in memory import logic 2019-01-13 19:15:37 -05:00
Sour
a27cf40e96 Debugger: Memory Viewer - Added nametable ram option to dropdown 2019-01-13 19:04:43 -05:00
Sour
76f64b19ef Debugger: Added access counters for CHR ROM/RAM and nametable memory
+Added read/write highlighting, etc. for memory viewer tabs
+Improved show tile/attribute updates in PPU viewer
2019-01-13 18:32:27 -05:00
Sour
a00a36256a MMC5: Allow NES 2.0 headers to control the work/save ram sizes properly
+ Fixed debugger always showing work ram as "save ram" in the debugger for MMC5 titles
2019-01-13 15:20:57 -05:00
Sour
8f53659d5f Namco163: Fixed save games for games that use the mapper's 128-byte internal RAM as save data 2019-01-13 15:20:57 -05:00
Sour
72d9e7ee13 Core: Remove old savestate compatibility code
No longer needed since the previous commit broke compatibility completely.
2019-01-13 15:20:57 -05:00
Sour
ce68ce57c0 Core: Refactored nametable RAM management to fix some issues and remove some limitations
(This breaks save state compatibility)
2019-01-13 15:20:57 -05:00
Sour
cab24bbd70 Debugger: Fixed issues with break on uninit reads
-Break did not trigger properly when using the new breakpoint logic
-Fixed issue with step back not working when using the new breakpoint logic
2019-01-13 14:53:14 -05:00
Sour
8027cd0c26 Shortcuts: Allow "Run Single Frame" to auto-repeat after being held for over half a second 2019-01-13 14:10:46 -05:00
Sour
70ca31e560 Fixed compilation warnings 2019-01-11 21:20:26 -05:00
Sour
7962b847cd Debugger: Lua - Added support for sockets (by incorporating LuaSocket) 2019-01-11 21:19:48 -05:00
Sour
1a84ef8c4f Debugger: Added support for multi-byte labels 2019-01-11 00:09:51 -05:00
Sour
6d693a432d Debugger: Break on decayed OAM read option no longer triggers when sprite rendering is disabled 2019-01-10 18:40:53 -05:00
Sour
945b043c98 Debugger: Fixed "any address" breakpoints triggering on the wrong memory type
(e.g an "any address" work ram read breakpoint would break on any CPU read)
2019-01-07 20:10:30 -05:00
Sour
2da8c70482 Debugger: Fixed issues with unary operators in expression evaluation
Also fixes issues with some operator combinations (e.g: && followed by !) and adds basic unit tests to simplify regression testing in the future
2019-01-06 18:41:43 -05:00
Sour
7b9f8d5c0f BaseMapper: Minor code refactoring/simplification 2019-01-06 15:02:12 -05:00
Sour
b01c2d3f83 Fixed issues when loading states for mapper 48 games (e.g: Don Doko Don 2)
This was caused by an old fix for MMC3 save states (AfterLoadState) that is no longer needed (because using SetCpuMemoryMapping no longer requires manually restoring the state)
2019-01-06 15:01:52 -05:00
Sour
a78b14e1ab Input: Fix - SNES mouse only has 3 levels of sensitivity, not 4 2019-01-05 09:53:14 -05:00
Sour
6ccd9b0a8e Fixed compilation warning 2019-01-03 19:43:53 -05:00
Sour
86ff0cdf2b Debugger: Fixed disassembler incorrectly calculating jump destinations and caching the wrong data as a result 2019-01-03 14:49:30 -05:00
Sour
a18a3b7e95 Debugger: Memory Viewer - Fixed "Highlight labels" option for work/save ram memory types (+ some refactoring) 2019-01-03 12:06:37 -05:00
Sour
2c9d6aabd7 Debugger: Improved CA/CC65 integration
-Auto-detect all function entry points
-Auto-detect all jump targets
-Fixed a bug where jump targets were being disassembled when loading a CDL file, potentially causing data to be shown as code
-Fixed some valid data block being shown as unidentified data
2019-01-02 23:26:54 -05:00
Sour
a3a91ede59 Debugger: Fixed effective address display for indirect jump 2019-01-02 23:26:54 -05:00
Sour
7e8b89cf42 Fixed compilation warning 2018-12-31 15:05:29 -05:00
Sour
2383499533 Build: Simplify PGO builds and allow it to be used when building the libretro core 2018-12-31 14:59:00 -05:00
Sour
a86bfa7636 Libretro: Fixed long compilation/linking times 2018-12-31 09:40:38 -05:00
Sour
ce893167c6 Debugger: Added "Go to All" feature 2018-12-29 14:25:49 -05:00
Sour
c29ceb79ef Debugger: Fixed bug that caused debugger window to automatically appear when active breakpoints were hit 2018-12-28 13:01:57 -05:00
Sour
6763d346d6 Debugger: Memory Viewer - Show palette at PPU addresses $3F00-$3FFF (more intuitive for most users) 2018-12-28 12:07:55 -05:00
Zorchenhimer
bca96de531 Debugger: Lua - Add new getLabelAddress() function
This adds a new function GetLabelAddress() to the Lua API.  It takes a
single string parameter of a label to lookup and returns its integer
address.  The return value can be passed directly to read() and
readWord().

The documentation has also been updated to reflect the changes.
2018-12-28 12:01:26 -05:00
Sour
59195da588 Fixed compilation warning 2018-12-26 13:28:27 -05:00
Sour
de7ded3139 NSF: Added support for history viewer 2018-12-26 13:28:17 -05:00
Sour
8c27322d85 NSF: Fixed init problem with VRC6 (NSF-only) that could cause distorted audio 2018-12-26 13:04:40 -05:00
Sour
d6d188282c NSF: Allow rewinding in NSF player 2018-12-26 11:49:09 -05:00
Sour
9666426dc1 Debugger: Fixed multi-threading crash when calling PeekRAM for $4015 from another thread 2018-12-25 22:40:41 -05:00
Sour
071f69520b Linux: Fixed compilation warning 2018-12-25 22:40:05 -05:00
Sour
ae0822e7cd Linux: Fixed compilation warnings 2018-12-25 00:32:33 -05:00
Sour
d8097a1c94 Debugger: Display read/written value when breaking execution 2018-12-25 00:07:45 -05:00
Sour
8deb63e646 Debugger: Avoid setting debug PC value if debugger is not running (performance) 2018-12-25 00:07:45 -05:00
Sour
40710c3665 Debugger: Allow debugger to peek at APU/PPU registers without altering the state 2018-12-25 00:07:45 -05:00
Sour
60e0bd4e01 Debugger: Fixed issues & improved performance with new breakpoint logic 2018-12-25 00:07:38 -05:00
Sour
937a90626d Debugger: Added option to evaluate all breakpoints on the first cycle of an instruction 2018-12-24 15:21:21 -05:00
Sour
35192daeed Debugger: Add option to trigger breakpoints on dummy read/writes (+ distinguish between writes & dummy writes) 2018-12-23 13:12:46 -05:00
Sour
022085082b Debugger: Added option to show current instruction's progress (cycle count, exec/read/write cycle display) 2018-12-23 11:56:28 -05:00
Sour
4459b18fa3 Debugger: Added option to display why the debugger breaks (breakpoint, break options, etc.) 2018-12-23 00:10:00 -05:00
Sour
080d25349d Debugger: Fixed deadlock when debugger is closed and reopened right away (e.g by a CPU crash)
2 debugger instances ended up being active at the same time
2018-12-19 20:47:47 -05:00
Sour
c54fad0325 Debugger: Fixed sub entry point markers disappearing from the code window after using the "mark as ..." functions 2018-12-16 11:38:00 -05:00
Sour
2a2717b125 HD Packs: Improve/fix hires.txt file output when re-recording over an existing HD pack 2018-12-12 20:47:23 -05:00
Sour
0dee6ac845 HD Packs: Tile indexes for conditions are now written in hex format 2018-12-12 20:46:23 -05:00
Sour
a46493c6bd Debugger: Fixed register labels not being used for addresses (roughly) outside the $2000-$5FFF range 2018-12-10 19:52:16 -05:00