Commit graph

132 commits

Author SHA1 Message Date
Alex W. Jackson
1f21df71df superfx: more multiply timing fixes; de-template-ify opcodes to greatly reduce compiled code size 2015-07-05 06:47:56 -04:00
Alex W. Jackson
f3a1d819ea superfx: make multiply timing match hardware tests 2015-06-25 22:26:41 -04:00
devinacker
cc6cfefae9 some SA-1 bus read changes
(read from SA-1 bus instead of CPU bus from the disassembler, and stop
reading from a different bus than the main SA-1 since it isn't necessary
anymore)
2015-05-30 00:39:38 -04:00
devinacker
5c4cfe8110 more of the above (inc. for additional debuggers) 2015-05-24 20:04:44 -04:00
Alex W. Jackson
dbb4043084 sa1: fix MMIO mapping on SA1 bus 2015-05-19 22:54:56 -04:00
devinacker
95a5f25a29 more of the same for sfx/sa1 debug 2015-05-16 11:11:00 -04:00
Alex.W.Jackson@gmail.com
3eec88bf82 debugger: add a flag indicating that the debugger is accessing the bus; this is used to suppress unwanted side effects of reads (e.g. cothread switches, latch-on-read registers) and to allow ROM to be modified (in place of MappedRAM::write_protect(), which is going away soon)
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@61 fe182637-1eec-a322-cce2-af8e45122353
2015-05-16 10:52:07 -04:00
Alex.W.Jackson@gmail.com
fb4b769e7c Nonexistent MappedRAM's size() is now 0 and not a magic number
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@56 fe182637-1eec-a322-cce2-af8e45122353
2015-05-01 09:34:33 -04:00
Alex.W.Jackson@gmail.com
88da612d6a Various fixes for Clang, some of which were genuine bugs as well
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@45 fe182637-1eec-a322-cce2-af8e45122353
2015-04-26 13:36:11 -04:00
Alex.W.Jackson@gmail.com
0f2f6eaa7b sa1: fix obvious typo, confirmed by byuu
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@43 fe182637-1eec-a322-cce2-af8e45122353
2015-04-24 23:14:43 -04:00
Devin Acker
fc9de55586 Merge pull request #7 from mrehkopf/master
Backport most recent MSU1 behaviour
2015-04-21 13:03:40 -04:00
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
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
devinacker
b8bc79551d don't disassemble every single byte 2015-04-11 17:25:39 -04:00
devinacker
3c26122988 oops 2015-04-06 22:48:14 -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
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
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
e83d211a65 check write breakpoints before writing, not after 2014-12-07 23:34:42 -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
d88ac78d30 initial commit 2014-11-26 18:35:12 -05:00