Commit graph

47 commits

Author SHA1 Message Date
devinacker
1f10eac106 run to next NMI/IRQ for CPU and SA1 2019-05-26 23:13:04 -04:00
Devin Acker
98ea9059a7
Merge pull request #207 from undisbeliever/new-oam-viewer
New OAM Viewer
2019-01-19 16:37:48 -05:00
devinacker
98f4e1f102 use same uint16 joypad values in performance builds 2019-01-05 18:25:02 -05:00
Marcus Rowe
b612abe57d Add first sprite support to Sprite Viewer 2018-12-05 21:46:24 +10:00
devinacker
06838845af Merge branch 'more-ppu-debugger-updates' 2018-05-09 21:45:10 -04:00
Marcus Rowe
8c66734c11 Add Mode 7 EXTBG format to the PPU Debugger 2018-05-07 18:21:53 +10: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
Alex W. Jackson
cbd7b99785 dsp: change initial ENDX register state to match current higan; fixes Magical Drop 2017-08-19 00:15:14 -04:00
Alex W. Jackson
085b8ea0de ppu: improve BGnHOFS latching, fixes Super Pac-Man (PD) 2017-07-11 23:43:24 -04:00
devinacker
988a78f657 Revert "fix horizontal scroll latching bug"
This reverts commit a6c9f1db00.
2017-07-11 23:27:36 -04:00
devinacker
a6c9f1db00 fix horizontal scroll latching bug
see http://forums.nesdev.com/viewtopic.php?f=12&t=16200
2017-07-11 18:52:16 -04:00
devinacker
cb93231908 Merge branch 'spcplayer' 2017-01-21 05:46:46 -05:00
devinacker
696a5101fb add experimental SPC/SNSF playback plugin 2017-01-21 05:45:17 -05:00
Jeremy Chadwick
adb306b680 Add $2134-$2136 to debugger Properties Viewer
Attempt #2, per pull request discussion.

Reference: https://github.com/devinacker/bsnes-plus/pull/103
Reference: http://forums.nesdev.com/viewtopic.php?p=186767#p186767
2017-01-16 14:29:26 -08:00
Jeremy Chadwick
0c647e62fa Revert ab26483 per pull req discussion
https://github.com/devinacker/bsnes-plus/pull/103
2017-01-16 13:47:39 -08:00
Jeremy Chadwick
ab26483f0c Add $2134-$2136 to debugger Properties Viewer
Reference: http://forums.nesdev.com/viewtopic.php?p=186767#p186767
2017-01-15 12:38:38 -08:00
devinacker
441de3b40f don't over-stretch lowres lines during frameskip
fixes #92
2016-12-18 16:56:26 -05:00
devinacker
f8b36f4e55 reset emulation speed when breakpoints occur 2016-11-19 22:22:02 -05:00
devinacker
262c431bea expand PPU debugger interface some more 2016-11-16 23:52:15 -05:00
devinacker
7fe51690ec add some info to the PPUDebugger interface (WIP) 2016-11-13 19:02:07 -05:00
Jeremy Chadwick
8e282cfb9b Fix BG screen sizes in Properties
Currently 32x64 is depicted as 64x32, and vice versa.  Per offical
documentation -- $2107-210a, bits 1-0, define screen size/layout:

%00 = 32x32 (one screen)
%01 = 64x32 (2 screens "wide", a.k.a. vertical mirroring)
%10 = 32x64 (2 screens "tall", a.k.a. horizontal mirroring)
%11 = 64x64 (4 screens (2 wide, 2 tall))

While I'm here: modify ppu-compatibility/debugger/debugger.cpp to
also mask off all bits other than 1-0.
2016-11-09 21:39:07 -08:00
devinacker
8d32000893 support PPU breakpoints in accuracy/performance
closes #72
2016-11-04 22:43:10 -04:00
devinacker
7ce1087e60 update+expand properties view for all profiles
closes #60
2016-11-01 00:20:56 -04:00
Marcus Rowe
12d2dc1ff4 Add OAM Second Name Table Address to PPUDebugger and VramViewer 2016-10-22 17:51:40 +10:00
devinacker
6978786fba fix a typo that broke $213f in compatibility 2016-08-14 21:42:38 -04:00
devinacker
ed1a89e09f fix tabs (again) and a missing paren 2016-05-19 19:02:23 -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
Alex W. Jackson
7be2a02453 ui: replace most '#if defined(PROFILE...' with specific PPU/DSP feature checks; allows PPU and DSP components to be mixed and matched 2015-06-01 12:26:45 -04:00
Alex W. Jackson
6877c5efa0 Merge alt/cpu/debugger with cpu/debugger by renaming a few member variables; also remove some unused variables 2015-05-24 19:57:21 -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
7f118bd484 Emulate long scanline in PAL interlace mode; fix bug in performance CPU affecting Tetris Attack
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@57 fe182637-1eec-a322-cce2-af8e45122353
2015-05-02 20:41:33 -04:00
Alex.W.Jackson@gmail.com
96638715fd alt/dsp: don't let blargg disable asserts throughout the whole application
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@54 fe182637-1eec-a322-cce2-af8e45122353
2015-04-30 21:18:20 -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
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
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
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
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