Commit graph

24 commits

Author SHA1 Message Date
devinacker
eab55199b3 Merge branch 'sgbdebug' 2020-02-10 18:41:47 -05:00
devinacker
2f344d27fe properly display hires tilemaps for mode 5/6 in the tilemap viewer 2020-02-09 23:00:34 -05:00
devinacker
95c8b63da6 don't autoupdate debug windows that aren't currently visible 2020-01-04 12:04:18 -05:00
devinacker
c9eae6a047 add VRAM expansion support to PPU debugging tools 2019-10-09 22:08:35 -04:00
Marcus Rowe
8fd0301299 Show character address in the Tilemap Viewer 2018-12-22 21:18:09 +10:00
devinacker
15ed6bc5d4 use more native-looking save dialogs for VRAM views 2018-07-28 16:17:33 -04:00
Marcus Rowe
3baf50c689 Fix form not updating when cartridge is not loaded 2018-05-07 18:33:12 +10:00
Marcus Rowe
8c66734c11 Add Mode 7 EXTBG format to the PPU Debugger 2018-05-07 18:21:53 +10:00
Marcus Rowe
6acb760664 Fix missing size check on selectedFiles list
(selectedFiles should always contain one element, but it is better to be
safe then sorry)
2017-11-02 15:00:45 +10:00
Marcus Rowe
a0ad336236 Optimize Tile/Tilemap Viewer sidebar signals
This commit reduces the number of times the refresh() slot is called in
the Tile Viewer and the Tilemap Viewer.

The `inUpdateFormCall` flag is still required because the QSpinBox and
CgramWidget does not have any "user edited value" signals.
2017-10-30 21:56:43 +10:00
Marcus Rowe
003e54e113 Disable refresh when the export dialog is open 2017-10-30 20:46:01 +10:00
Marcus Rowe
47cb9d9b29 Move low-level functions from TilemapRenderer into a base class 2017-10-29 19:23:23 +10:00
Marcus Rowe
bdd9db21c8 Override the background color in the Tilemap Viewer 2017-10-29 16:06:25 +10:00
Marcus Rowe
76938fecbe Add export tilemap button to TilemapViewer 2017-10-28 15:14:54 +10:00
Marcus Rowe
ee89171d53 Keep QImage in TilemapRenderer when drawing tilemap
This commit will allow the image created by drawTilemap() to be
accessed multiple times.

It will also save a memory allocation if the image size does not change
in-between two drawTilemap() calls.

The low-level tile drawing functions keep wordsPerScanline as a function
argument in order to save 1024 function calls per map drawn (16K calls
for a mode7 map).
2017-10-28 14:53:17 +10:00
Marcus Rowe
62b4b4aff9 Add tile properties for selected tile in Tilemap Viewer 2017-03-16 21:42:56 +10:00
Marcus Rowe
f13c9a894f Add optional grid to Tilemap Viewer 2017-03-16 20:16:52 +10:00
Marcus Rowe
485669e73d Disable TilemapViewer addr/size textboxes when in Mode 7 2017-03-16 19:02:06 +10:00
Marcus Rowe
113da8ea29 Simplify code for TilemapViewer sidebar 2017-03-16 19:00:40 +10: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
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
Marcus Rowe
2afe07b663 Add Tilemap Viewer Window 2016-11-16 17:39:11 +10:00