Commit graph

578 commits

Author SHA1 Message Date
Marcus Rowe
9eabab41ac Add Mode0 palette offset to TilemapRenderer 2016-11-17 23:35:55 -05:00
Marcus Rowe
baa6721a70 Load data from PPU interface into TilemapRenderer 2016-11-17 23:35:55 -05:00
Marcus Rowe
f1e7f42ac3 Add Mode 7 to Tilemap Viewer 2016-11-17 23:35:55 -05:00
Marcus Rowe
d2e6efd105 Fix 16px tile bug in TilemapRenderer 2016-11-17 23:35:54 -05:00
devinacker
b63f50f3cd Revert "get tilemap viewer info from PPU interface"
This reverts commit c50526eb66.
2016-11-17 23:35:54 -05:00
devinacker
c50526eb66 get tilemap viewer info from PPU interface 2016-11-16 23:54:31 -05:00
devinacker
262c431bea expand PPU debugger interface some more 2016-11-16 23:52:15 -05:00
Marcus Rowe
71976a62f7 Rewrite TilemapRenderer to draw one tile at a time 2016-11-17 04:05:06 +10:00
Marcus Rowe
2afe07b663 Add Tilemap Viewer Window 2016-11-16 17:39:11 +10:00
luigiblood
5300d506e2 AND byte on write to Memory Pack
Fixes Sound Novel Tsukuru save
2016-11-16 01:39:24 +01:00
Devin Acker
2db8f57542 Merge pull request #79 from undisbeliever/update-debugger
Fix typo that prevented OamCanvas from auto-updating
2016-11-15 08:39:34 -05:00
Marcus Rowe
0af335c739 Fix typo that prevented OamCanvas from auto-updating 2016-11-15 16:27:02 +10:00
devinacker
701e7fd218 view actual SMP bus instead of APU RAM 2016-11-15 00:22:19 -05:00
Marcus Rowe
273600d5c3 Allow the user to sort the Sprite Viewer columns
Decided to move the OAM name table bit into the "Char" column so it will
be included in the sort.

Also decided that refresh() should not change the user selected row.
This required me remember the selected row so it could be re-selected
after QTreeWidget has sorted the model. Unfortunately this can lead to
the occasional infinite signal call loop, necessitating the
inRefreshCall test to ensure refresh() is only called once.
2016-11-15 08:49:57 +10:00
Marcus Rowe
6148b37070 Improve column spacing in Sprite Viewer 2016-11-14 22:56:13 +10:00
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