Commit graph

69 commits

Author SHA1 Message Date
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
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