Commit graph

613 commits

Author SHA1 Message Date
Marcus Rowe
d4122d2d5b Display selected object in Sprite Viewer 2016-11-14 22:37:37 +10:00
Marcus Rowe
c87a589cc8 Only scale the vram canvas once.
On my system this dramatically reduces cpu usage from 18.5% to 4.6%
when quickly scrolling the VRAM viewer scrollbar[1].

[1]: Tested on a i5-3317U 1.70GHz CPU and no ROM loaded in the emulator.
2016-11-14 21:03:07 +10: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
074326b45d add option to show hdot or hcounter in log 2016-11-06 19:55:45 -05:00
devinacker
57de710dea only open debug log files at cart load time 2016-11-06 19:13:47 -05:00
devinacker
8d32000893 support PPU breakpoints in accuracy/performance
closes #72
2016-11-04 22:43:10 -04:00
devinacker
60e41d46a2 smp: don't make dummy reads trigger breakpoints
fixes #71
2016-11-03 21:19:53 -04:00
David Lindecrantz
6c027c8aa8 vram debugger: draw image/palette with nearest neighbour interpolation 2016-11-01 12:48:19 +01:00
David Lindecrantz
ccd8d1df52 vram debugger: minor logic error fix 2016-11-01 12:48:06 +01:00
devinacker
7ce1087e60 update+expand properties view for all profiles
closes #60
2016-11-01 00:20:56 -04:00
devinacker
f287a36341 tweak cheat finder layout/defaults 2016-10-30 19:37:19 -04:00
Grieverheart
2b119152b9 Interface for comparisons added to cheatfinder. 2016-10-30 03:15:54 -04:00
Devin Acker
b3c448ded1 Merge pull request #67 from undisbeliever/update-debugger
Updates to the debugger
2016-10-30 00:32:19 -04:00
devinacker
59253c9e17 make power-on state less deterministic
(a la later bsnes/higan behavior; mostly affects the accuracy core)
2016-10-29 22:46:12 -04:00
Marcus Rowe
bc6f2c3ead Create breakpoints using the command line arguments
This allows me to use a script to automatically fill the bsnes debugger
with breakpoints. For instance, the following bash line:

    bsnes --show-debugger `grep BREAKPOINT "$symfile" | awk '{print "-b " $1 ":x"}'` "$romfile"

Will open the debugger window and create a CPUBus execute breakpoint
for all symbols containing BREAKPOINT in the symbol file.

See `bsnes --help` or `Application::printArguments` for the format of
the breakpoint string.
2016-10-27 05:47:56 +10:00
David Lindecrantz
c28a0538cd OSX flags 2016-10-25 13:34:07 +02:00
David Lindecrantz
f1e362f8a8 Added OS X version deployment target 2016-10-25 13:30:14 +02:00
devinacker
6dfebcc886 msu1: return to previous flag behavior for $2005
per byuu, this is the intended behavior and the removal was an
unintended regression in higan v95. reverting will continue to keep it
compatible with most higan versions and the sd2snes
2016-10-24 19:27:39 -04:00
Marcus Rowe
64890654be Select VramViewer palette using a cgram widget
Also updated CgramViewer so that it uses the CgramWidget.
2016-10-23 22:09:06 +10:00
Marcus Rowe
94cf77d65a Render the VramCanvas using CGRAM palette data 2016-10-22 20:42:25 +10:00
Marcus Rowe
658468d60c Indent register property names in Properties Table 2016-10-22 18:36:55 +10:00
Marcus Rowe
12d2dc1ff4 Add OAM Second Name Table Address to PPUDebugger and VramViewer 2016-10-22 17:51:40 +10:00
devinacker
bed80e8636 msu1: adhere to current spec init volume 2016-10-21 21:39:11 -04:00
devinacker
6cb7e30a2d msu1: don't break playback after loading a state
fixes #54
2016-10-21 21:22:46 -04:00
Marcus Rowe
1e0837b873 Fix the width of the run / break button 2016-10-22 02:53:27 +10:00
Marcus Rowe
187f6678cd Make the width of the Vram Viewer fixed
Had to calculate the width manually, requesting the minimum width of the
layout caused glitches.
2016-10-22 02:42:28 +10:00
Marcus Rowe
32c95d370d Show BG/OAM Tile addresses in the Vram Viewer 2016-10-21 21:47:10 +10:00
Marcus Rowe
b5bc76e5d8 Add zoom setting to the Vram Viewer 2016-10-21 20:54:06 +10:00
Marcus Rowe
3d8d6c961c Change the width of the VRAM viewer to 16 tiles
This is to match the internal width of the tilemap on a real SNES
2016-10-21 18:24:38 +10:00
devinacker
3d7b4e3785 msu1: seek to resume position correctly 2016-10-21 01:22:10 -04:00
devinacker
d8f9a5cc8e msu1: don't stop playing audio when writing $2005
see comments on #64
2016-10-20 21:54:20 -04:00
devinacker
3908d5ef94 add (finally) msu-1 pause/resume support 2016-10-20 20:51:55 -04:00
devinacker
e1c0f49300 msu1: don't use the same offset for seek+read
fixes #61
2016-10-18 00:57:53 -04:00
devinacker
c36e59a39f and F2/F3 just to be safe 2016-09-05 02:22:24 -04:00
devinacker
597069cc7a handle 00F0 - 00FF better when dumping SPCs 2016-09-05 01:34:12 -04:00
devinacker
79052b3ac5 registeredit: only commit flags on changes by user 2016-08-23 22:39:03 -04:00
devinacker
e33be62a1c fix accidental fallthrough in SA1Debugger:setFlag 2016-08-23 20:14:32 -04:00
devinacker
d62dd6ba3a generate trace.log path correctly 2016-08-23 13:07:54 -04:00
luigiblood
84e0d532eb Fix BSCLoROM Memory Map
(Makes RPG Maker 2, Sound Novel Maker, and Derby Stallion 96 actually detect the Memory Pack)
2016-08-18 16:58:54 +02:00
luigiblood
645de714c0 Memory Pack Vendor Info/Page Buffer at 0x7F00 and 0xFF00
SD Gundam G-NEXT Memory Pack ROM has it at 0x7F00.
2016-08-18 13:18:49 +02:00
luigiblood
46bbd2fc95 Memory Pack Type 7 detection on nall instead 2016-08-18 13:12:23 +02:00
luigiblood
b211c5f2bc Revert "Memory Pack Type 7 (ROM) support"
This reverts commit 14082efa8d.
2016-08-18 12:30:09 +02:00
luigiblood
14082efa8d Memory Pack Type 7 (ROM) support 2016-08-17 18:16:14 +02:00
devinacker
6978786fba fix a typo that broke $213f in compatibility 2016-08-14 21:42:38 -04:00
devinacker
2f5a3d087e display current address at bottom of memory window 2016-08-09 23:01:15 -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
e2fb772322 display correct string on SMP breakpoint
fixes #53
2016-08-09 20:22:21 -04:00
devinacker
9a4dbeea09 improve management of debugger UI state
i.e. enabling/disabling/switching of the run/break/step buttons and
register edit tabs
2016-08-06 23:25:38 -04:00