Commit graph

52 commits

Author SHA1 Message Date
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
devinacker
822df30bb2 small formatting cleanup 2019-05-26 02:19:51 -04:00
devinacker
39903688d5 show labels for base addresses and not effective addresses (fixes #218) 2019-05-26 02:18:11 -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
Benjamin Schulte
e7e6ba5be2 simple syntax highlighting for disassembler 2018-11-24 20:06:23 -05:00
devinacker
a878c6aaea backport (H)DMA timing info, closes #197 2018-11-22 03:58:26 -05:00
devinacker
401db2a4b5 https://board.byuu.org/viewtopic.php?f=4&t=2134 2018-07-22 02:28:40 -04: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
758363b890 small cleanup 2016-11-19 00:04:53 -05:00
devinacker
074326b45d add option to show hdot or hcounter in log 2016-11-06 19:55:45 -05:00
devinacker
7ce1087e60 update+expand properties view for all profiles
closes #60
2016-11-01 00:20:56 -04:00
Alex W. Jackson
939163688b Fix disassembly of pea/pei/per 2016-08-09 20:35:37 -04:00
Alex W. Jackson
d73911a06e superfx: shave some duplicate code here too 2016-08-09 20:28:44 -04:00
devinacker
2fe8550c6b use a proper interface to get/set registers 2016-08-03 21:06:34 -04:00
Alex W. Jackson
a5f7e62e91 cpucore: fix direct page wrapping in emulation mode; clean up some duplicate code 2016-05-24 19:47:52 -04:00
devinacker
d308c1be15 allow debugger to read MMIO without side effects
(closes #46 assuming I didn't screw anything up)
2016-05-06 20:37:37 -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
5d16bcc629 ppu: non-ambiguous function name for frame counter 2015-05-25 03:03:10 -04:00
devinacker
6f300e6889 keep a proper frame count from the PPU
that updates when the V-count rolls around instead of whenever the
frontend tells it to (unlike the other PPU counter values, this isn't
serialized since it has no effect on actual system state)
2015-05-25 01:06:43 -04:00
devinacker
5c4cfe8110 more of the above (inc. for additional debuggers) 2015-05-24 20:04:44 -04:00
Alex.W.Jackson@gmail.com
8450956758 ppu/counter: enable two-way time travel; use it to simplify VRAM access timing tests
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@60 fe182637-1eec-a322-cce2-af8e45122353
2015-05-10 13:21:56 -04:00
Alex.W.Jackson@gmail.com
d58a0f0fd5 memory: Make breakpoint mirroring work with MMIO (requiring some changes to BSXCart). While at it, remove some redundant masking and replace some magic numbers with enums
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@40 fe182637-1eec-a322-cce2-af8e45122353
2015-04-18 19:54:25 -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
Alex W. Jackson
835727b74b smp: move the SMP I/O ports into the SMP itself, instead of half in the CPU and half in the APU RAM. I don't care what byuu thinks blargg's hardware tests showed, it is literally impossible for hardware to work that way 2015-04-13 17:19:08 +02:00
devinacker
657e1dd1de check MMIO/DMA breakpoints against the correct bus 2015-04-13 02:06:33 -04:00
devinacker
c401f756ad show correct branch distances for cpu+smp
regardless of the actual current PC location, so that disassembling at
*other* locations shows the expected results
2015-04-11 17:51:40 -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
17830b0407 add cart RAM view, new readme, other cleanup 2014-12-03 22:13:43 -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