Commit graph

613 commits

Author SHA1 Message Date
ikari_01
74c080cee7 Backport most recent MSU1 behaviour
v073 has some shortcomings in MSU1 behaviour, most notably it ignores
the DSP mute flag (which will cut off external audio on a real SNES).
Hack authors stumble upon those when running on real hardware for the
first time after testing on less recent bsnes versions.

Backports from higan v094:
- audio error flag
- init behaviour (zero out MSU1 regs)
- initial volume
- DSP mute flag
2015-04-21 17:56:34 +02:00
devinacker
73573ec9ce add SPC dumping support 2015-04-19 01:54:02 -04:00
devinacker
da315c41c9 bye bye mingw32 2015-04-18 20:56:53 -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
Alex.W.Jackson@gmail.com
c32aab37ff Distinguish BS-X Flash Memory Packs from mask ROM data packs (Same Game/SD Gundam G-Next); distinguish slotted SA-1 carts from regular ones; fix SFA2 which the previous commit broke
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@39 fe182637-1eec-a322-cce2-af8e45122353
2015-04-18 19:54:17 -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
Michał Ziąbkowski
8cf98ae7a1 Cast string literals in rawinput as LPCTSTR. Fixes build with mingw-w64. 2015-04-16 20:23:12 +02:00
devinacker
02c626a77e refactor breakpoint mirror check a bit
(similar to bsnes-classic r37 but without the change in how page offsets
are calculated)
2015-04-14 22:10:27 -04: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
Alex W. Jackson
70150d9a25 Tidy up cartridge XML generation; don't map cartridge stuff where WRAM is 2015-04-13 17:19:08 +02:00
Alex W. Jackson
dc23eb1d8b cartridge: reduce duplicated code in XML parsing 2015-04-13 17:19:08 +02:00
Alex W. Jackson
3dd6d2b155 Fix Sufami Turbo mapping and SRAM size; show more Game Boy and Sufami Turbo cartridge info in the file browser 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
c42f1f430b add ranged breakpoints and combinable r/w/x flags 2015-04-09 23:58:54 -04:00
devinacker
b6e1bae36f load/save SA-1 and SuperFX usage logs 2015-04-06 22:54:28 -04:00
devinacker
3c26122988 oops 2015-04-06 22:48:14 -04:00
devinacker
770fab87ed SNES-side DMA and MMIO breakpoints (untested) 2015-04-06 20:03:00 -04:00
devinacker
c389684d29 don't do buffered reads until after breakpoints 2015-04-06 19:54:15 -04:00
devinacker
f4c6a49b1e fixed code/data highlighting for superfx 2015-04-06 00:32:52 -04:00
devinacker
f829da5f53 some SA-1 properties also 2015-04-05 20:54:15 -04:00
devinacker
f754ce650b keep track of sfx registers correctly 2015-04-05 20:51:52 -04:00
devinacker
42dfb242fe more superfx debug fixes
(including showing the right address in the debugger and using the
address correctly when disassembling)
2015-04-05 20:38:25 -04:00
devinacker
9a8415505a super fx properties 2015-03-31 01:14:12 -04:00
devinacker
49d66ef630 add superfx to debug properties tab
(no actual stuff in it yet...)
2015-03-31 00:36:14 -04:00
devinacker
11c4d42566 init superfx debug bus correctly
(oops)
2015-03-26 00:38:07 -04:00
devinacker
c279345201 sfx: limit shown branch addr to 4 digits 2015-03-25 23:18:22 -04:00
devinacker
864192798b Revert "fix superfx disasm always using pipeline contents"
This reverts commit f67aee60be.
2015-03-25 23:06:43 -04:00
devinacker
f67aee60be fix superfx disasm always using pipeline contents
todo: make sure register displays, etc are still correct
2015-03-24 22:44:57 -04:00
Devin Acker
23e04b2f59 Merge pull request #1 from mziab/bsnes-vram-viewer-show-address
Show tile address on click in VRAM viewer.
2015-03-18 17:38:41 -04:00
Michał Ziąbkowski
eda6cc780b Fixed indentation. 2015-03-18 22:17:50 +01:00
Michał Ziąbkowski
6ce06d1e95 Renamed Canvas to VramCanvas and changed it back to struct. 2015-03-18 22:17:11 +01:00
Devin Acker
4b07c3df75 Merge pull request #2 from mziab/bsnes-reload-current-rom
Implement ReloadCartridge as menu action and hotkey.
2015-03-18 16:09:34 -04:00
Michał Ziąbkowski
4be60c309d Show tile address on click in VRAM viewer. 2015-03-18 19:01:56 +01:00
Michał Ziąbkowski
b911ed1e81 Implement ReloadCartridge as menu action and hotkey. 2015-03-18 18:58:00 +01:00
devinacker
b9cfb885d4 create output dirs on checkout 2015-03-18 13:38:32 -04:00
devinacker
aad36eb2b0 clear superfx trace mask 2015-03-07 16:41:45 -05:00
devinacker
239cc5767d print some superfx register status in debug window 2015-03-07 16:23:35 -05:00
devinacker
f2f7152e91 add totally halfassed superfx debugger
that probably doesn't work right mostly
2015-03-05 01:22:57 -05:00
devinacker
7a280d9a25 safer memory viewing/editing 2014-12-09 19:33:05 -05:00
devinacker
e83d211a65 check write breakpoints before writing, not after 2014-12-07 23:34:42 -05:00
devinacker
1968ea22c1 . 2014-12-07 01:32:24 -05:00
devinacker
2eefc8d377 better accounting for mirroring with breakpoints 2014-12-07 01:30:14 -05:00
devinacker
6bbe9643a4 yep, this again 2014-12-06 06:09:59 -05:00
devinacker
c693aea653 bye bye tabs
(i really hate byuu's 2-space indentation)
2014-12-06 06:06:38 -05:00
devinacker
f1581e8464 SA-1 debugging/disasm/viewing/tracing
(still needs read/write logging for MMIO, DMA, bitmap RAM accesses, and
other stuff, as well as the properties window items, but it's 6 am and
i'm tired)
2014-12-06 06:03:02 -05:00
devinacker
87b923ffad add SA-1 bus viewing to memory editor 2014-12-06 04:04:20 -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