Commit graph

41 commits

Author SHA1 Message Date
Devin Acker
c593fd0b96 disasm: treat calls and branches differently for state tracking purposes 2021-08-15 21:52:32 -04:00
devinacker
77af780162 more strictness about when to stop trying to disassemble more code 2019-12-04 21:53:49 -05:00
devinacker
4383a232bb add automatic analysis to sa1 debugger 2019-12-04 21:33:11 -05:00
devinacker
0124ae527c don't bother clearing CPU usage info on a fresh analysis since the debug frontend did that already 2019-12-04 21:09:42 -05:00
devinacker
35ae4da6d2 cpu: stop analyzing code if STP opcode is reached 2019-12-04 20:55:26 -05:00
devinacker
9d0df93b1b better handle some potential weirdness involving automatic code analysis in debugger (should fix #239) 2019-12-02 21:45:56 -05:00
devinacker
df82378fdd add VRAM expansion status to properties viewer when supported 2019-10-09 22:29:49 -04:00
devinacker
9c8495847e run to vblank/hblank options 2019-05-27 00:50:05 -04:00
devinacker
1f10eac106 run to next NMI/IRQ for CPU and SA1 2019-05-26 23:13:04 -04:00
Benjamin Schulte
a85fce3d33 allow to navigate through code 2018-11-25 20:45:51 -05:00
devinacker
b28b5b0c20 don't apply the exec flag when only analyzing code 2018-11-25 18:28:17 -05:00
devinacker
5b7186bdec also don't analyze unused interrupt vectors 2018-11-25 17:49:59 -05:00
devinacker
e9fb53c36f don't try to auto analyze bogus/missing interrupts 2018-11-25 17:45:34 -05:00
Benjamin Schulte
7233da3b87 allow to set symbols by context menu 2018-11-25 17:42:45 -05:00
Benjamin Schulte
01ca91f6cf try to lookahead the current code for better preview 2018-11-25 12:07:14 -05:00
Benjamin Schulte
5ca2da30ce allow to break on startup and on BRK 2018-11-24 20:38:16 -05:00
devinacker
2125f1a5dd accuracy: proper joypad timing (closes #168) 2018-05-20 17:18:34 -04:00
devinacker
c60f0373fc more properties viewer stuff (fixes #152) 2018-04-29 01:13:18 -04:00
devinacker
1bdcd73e17 do better at ignoring dummy reads (fixes #170) 2018-04-29 01:13:17 -04:00
devinacker
4bf8196826 better behavior for M/X flags in register editor 2017-05-03 22:47:47 -04:00
devinacker
7ce1087e60 update+expand properties view for all profiles
closes #60
2016-11-01 00:20:56 -04:00
devinacker
2fe8550c6b use a proper interface to get/set registers 2016-08-03 21:06:34 -04:00
devinacker
29f80681b5 copy-paste strikes again (fixes #39) 2016-02-26 01:38:44 -05:00
devinacker
25375ff064 allow using WDM opcode as a software breakpoint 2015-11-16 20:31:54 -05:00
devinacker
c800e901bf don't use cycle-timed reads in debugger 2015-08-12 22:43:04 -04:00
Alex W. Jackson
5a64f078d5 Use bus_access for disassembler too; remove some dead code 2015-05-29 23:35:12 -04:00
devinacker
5c4cfe8110 more of the above (inc. for additional debuggers) 2015-05-24 20:04:44 -04:00
ikari_01
218066c5c2 Debugger: fix duplicate DMA read
DMA source is read twice in CPUDebugger::dma_read which breaks sources
that change state on read (e.g. MSU1 data). Read only once before
checking breakpoints and return the buffered result.
2015-04-17 13:36:27 +02:00
devinacker
657e1dd1de check MMIO/DMA breakpoints against the correct bus 2015-04-13 02:06:33 -04:00
devinacker
b8bc79551d don't disassemble every single byte 2015-04-11 17:25:39 -04:00
devinacker
770fab87ed SNES-side DMA and MMIO breakpoints (untested) 2015-04-06 20:03:00 -04:00
devinacker
e83d211a65 check write breakpoints before writing, not after 2014-12-07 23:34:42 -05:00
devinacker
fbadb7cfaf mark read/write during DMA and MMIO WRAM access 2014-11-30 19:07:08 -05:00
devinacker
0bd32c44a6 update CPU debugger comment 2014-11-30 05:48:23 -05:00
devinacker
2a3d2e7614 merge redundant CPU debuggers
and enable debugging for all profiles, not just performance
2014-11-30 05:21:29 -05:00
devinacker
a212773205 don't mark bytes as read when executing
and bring back purple text for code+data bytes (TODO: find out why odd
bytes in code still get marked as read, probably something to do with
the way bsnes handles certain instruction types)
2014-11-29 18:27:36 -05:00
devinacker
d54c2bd3ea add cart ROM view to memory editor 2014-11-29 05:50:17 -05:00
devinacker
f754ba0c21 add color coding to memory viewer for usage
(and also mark operand bytes as executed, not just read)
2014-11-29 02:38:43 -05:00
devinacker
49d0af3157 fix step out/over being wonky with multiple CPUs
(and not checking which one is actually being debugged when updating the
call counter, among other things)
2014-11-28 18:48:00 -05:00
devinacker
36cf56e3eb add step over/step out buttons 2014-11-28 05:38:27 -05:00
devinacker
d88ac78d30 initial commit 2014-11-26 18:35:12 -05:00