Commit graph

867 commits

Author SHA1 Message Date
Sour d204485153 Added Super Game Boy support
Missing support for SGB2's timings and still needs a few tweaks and more testing
2020-06-18 00:58:39 -04:00
Sour 01dd319c9a HDMA: Added missing condition for indirect HDMA glitch
Fixes Touge Densetsu color corruption in bike configuration screen
2020-06-10 18:08:08 -04:00
Sour 8d43594d7c GB: Pause OAM DMA when CPU is halted + return $FF during sprite evaluation while OAM DMA is active
Both of these together make the naughtyemu test display a blank screen as expected
2020-06-09 22:40:35 -04:00
Sour 43b43a6397 GB: PPU - Fix default OBJ palettes on power on
The naughtyemu.gb test seems to except this, otherwise the text (sprites) is white, on a white background
2020-06-09 22:34:32 -04:00
Sour f75ca7c5d0 GB: Halt bug emulation 2020-06-09 22:17:52 -04:00
Sour c47f0d642f Debugger: GB - Added more APU info to register viewer 2020-06-09 19:36:00 -04:00
Sour b5ad8cbd9e Debugger: GB - Only trigger special breakpoints if debugger window is opened 2020-06-09 19:35:37 -04:00
Sour 1be95417b8 GB: APU - Implement extra length counter clocking bug when enabling length counter
Passes 03-trigger test
2020-06-09 18:48:06 -04:00
Sour 03f8361437 Debugger: GB - Fixed DebugRead behavior (fixes deadlocks) 2020-06-09 18:16:13 -04:00
Sour f265312b4a GB: Minor tweaks to behavior when disabling/enabling LCD screen
Fixes Men in Black (and seems to match test rom behavior, but is probably not quite correct still)
2020-06-08 19:05:42 -04:00
Sour 415ac61ffa GB: Allow loading 16kb rom files 2020-06-08 19:04:27 -04:00
Rupert Carmichael 1dcb3cdbb0
BSD: Improve compatibility with BSD family operating systems (#137) 2020-06-08 19:01:16 -04:00
Sour 4e77e6caef Debugger: GB - Added GB-specific "break on" options 2020-06-07 16:50:55 -04:00
Sour 78dc5d3d1c Debugger: Prevent uninit read breakpoint from triggering when debugger window is closed 2020-06-07 13:50:14 -04:00
Sour 9dd836c28b Debugger: GB - Added more information to register viewer 2020-06-07 13:09:43 -04:00
Sour a9075e1df3 Debugger: Assembler - Fixed code highlight issue with label declarations 2020-06-06 23:36:50 -04:00
Sour e3323c6722 Debugger: GB - Fixed assembler not recognizing register labels 2020-06-06 23:36:16 -04:00
Sour 9b1f6ef3f9 Debugger: GB - Added uninit read break option 2020-06-06 23:12:03 -04:00
Sour 556d060b02 Debugger: Fixed deadlock/crash when attempting to break execution when CPU is halted 2020-06-06 23:11:03 -04:00
Sour 6ed9ed094a Debugger: GB - Added support for register labels + added default labels for GB registers 2020-06-06 22:35:17 -04:00
Sour 8324da37d2 Debugger: GB - Save debugger labels/watch entries 2020-06-06 22:34:49 -04:00
Sour bdecd6270b Debugger: GB - Allow saving rom modifications as .gb or .ips files 2020-06-06 22:34:40 -04:00
Sour 704598212a Debugger: GB - CDL support 2020-06-06 22:27:58 -04:00
Sour 9c4fb9c45c Debugger: GB - Added assembler tool 2020-06-06 22:27:54 -04:00
Sour 7852d6f75c Mono: Fixed unbound debugger shortcuts being triggered by pressing the windows key 2020-06-04 17:46:32 -04:00
Sour e4a28625f5 Debugger: Fixed missing IRQ/NMI events for Lua 2020-06-04 17:25:48 -04:00
Sour e6a483c525 SA1: Fixed crash when loading SA1 games with no SRAM
+ If battery flag is set but sram size is 0, backup IRAM instead
2020-06-03 20:37:36 -04:00
Sour 8a37a7ed76 Debugger: GB Event Viewer - Fixed tooltip display for DMA reads/writes 2020-06-02 20:42:58 -04:00
Sour 1689ea4d3f Linux: Fixed crash when opening event viewer
(+ fixed some compilation warnings)
2020-06-02 20:05:21 -04:00
Sour 79197dfe49 Debugger: GB - Added support for RGBDS .sym files 2020-06-02 19:41:47 -04:00
Sour 4db6c08822 Debugger: GB - Added sprite viewer 2020-06-01 23:36:18 -04:00
Sour 6bccfa874f Debugger: GB - Tilemap viewer improvements
-Show tilemap/tile information
-Show overlay option
2020-06-01 22:17:14 -04:00
Sour 2355ef6550 Debugger: GB - Fixed some issues with disassembly style 2020-06-01 20:07:20 -04:00
Sour bab36b826f Debugger: Tweak WLA-DX .sym regex to allow more .sym files to load properly 2020-05-31 17:24:12 -04:00
Sour 67f000c18c GB: PPU - Implement STAT bug emulation
Fixes Zerd no Densetsu and Road Rash
2020-05-31 17:24:10 -04:00
Sour 6edccc00b9 GB: Update coincidence flag and STAT IRQ when writing to LYC
Fixes ly_lyc_153_write-GS
2020-05-31 17:23:55 -04:00
Sour 86bd6c4deb GB: Fix LYC behavior on scanline 0 2020-05-31 17:21:19 -04:00
Sour 2ccef88375 GB: PPU accuracy improvements
Passes all moooneye-gb tests
2020-05-31 17:19:53 -04:00
Sour a9c456b75a GB: Display first frame after enabling LCD as a blank frame
Fixes bad frames that show up in various games during screen transitions
2020-05-28 23:58:22 -04:00
Sour dc986b72b7 GB: PPU - Improved window emulation
-Latch x/y/enabled values for the scanline (can't be changed midscanline based on wx_split test)
-Keep count of the scanlines where window rendering occurs to render the excepted lines in the window
2020-05-28 22:07:34 -04:00
Sour fd1ff4cb3e GB: Added HDMA support (GBC) 2020-05-28 00:15:37 -04:00
Sour 06376f8ca9 GB: Improved DMA support for GBC (timing + bug fixes)
Fixes issues in Star Wars Racer
2020-05-27 22:50:27 -04:00
Sour dae99e0a75 Debugger: GB - Added missing wram mirror at $E000 in memory mappings 2020-05-27 22:48:59 -04:00
Sour ade29a0627 GB: Fixed draw priority issues with CGB 2020-05-27 21:09:53 -04:00
Sour 4b86601faf GB: Improved serial link emulation stub 2020-05-27 19:54:12 -04:00
Sour 5e6e9e41aa GB: PPU - Fixed $FF44 return value for scanline 153
Fixes Aladdin (GBC) opening screen
2020-05-26 23:57:28 -04:00
Sour d1952d33f9 Debugger: GB - Fixed disassembly for CB prefixed instructions 2020-05-26 23:56:34 -04:00
Sour b22f514ae5 Debugger: Fixed crash when opening up debugger window for SNES games
(caused by GB support)
2020-05-26 19:49:38 -04:00
Sour bdce582677 PPU: Fixed sprite display when sprite interlace mode is turned on 2020-05-26 18:58:13 -04:00
Sour 2a6504c2d4 PPU: Fixed mirroring behavior when vram address is over $7FFF
Prevents graphical glitches in Lemmings 2 (which appeared because the game uses addresses over $7FFF, which loaded random data outside the vram buffer)
2020-05-26 18:10:19 -04:00