Commit graph

701 commits

Author SHA1 Message Date
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
Sour
eceb8d790b GB: PPU - Removed unnecessary sort operation 2020-05-26 00:14:19 -04:00
Sour
faf4d62ef4 GB: Allow picking GB model (original vs color) and using a boot rom
+Adds boot rom/sprite ram in hex editor
+Allow colorized GB games in GBC mode
2020-05-26 00:05:35 -04:00
Sour
8b2a6b5fa6 GB: Fixed crash on reload when frame count is shown
+ Fixed game timer not being accurate for GB
2020-05-25 19:43:57 -04:00
Sour
9f7ee662f9 GB: APU - Implemented volume update behavior on register writes
Fixes sound in Prehistorik intro
2020-05-24 22:41:54 -04:00
Sour
4274c481d7 GB: Added missing variables in save states 2020-05-24 22:04:47 -04:00
Sour
18c96c8402 GB: Improved PPU LCD timings 2020-05-24 21:57:38 -04:00
Sour
bcf36df5f2 Debugger: GB - Fixed relative address calculation 2020-05-24 21:57:38 -04:00
Sour
fb3bf73ba6 GB: Improved timer implementaion
Passes all(?) mooneye-gb timer tests
2020-05-24 21:57:38 -04:00
Sour
b758e97753 GB: Fixed open bus behavior for some registers
Fixes unused_hwio-GS and if_ie_registers
2020-05-24 21:57:38 -04:00
Sour
72cd44393a GB: OAM DMA has priority over PPU rendering (?)
Partially fixes prehistorik man intro
2020-05-24 21:57:38 -04:00
Sour
bc90c489c1 GB: Improved EI and IRQ behavior
Passes ei_sequence, ei_timing, ie_push, rapid_di_ei, reti_intr_timing
2020-05-24 21:57:38 -04:00
Sour
32db3f9d15 GB: Fixed idle cycle timing for CALL 2020-05-24 21:57:38 -04:00
Sour
c33f1d99ea GB: Fixed RST/PUSH idle cycle timing 2020-05-24 21:57:38 -04:00
Sour
9305c432b4 GB: Added open bus bits on $FF07 2020-05-24 21:57:38 -04:00
Sour
5279ebb688 GB: Fixed OAM write behavior during DMA 2020-05-24 21:57:38 -04:00
Sour
10be89012c GB: Various emulation improvements
-Better OAM DMA emulation
-Better STAT IRQ  emulation
-Better LCD power on state
-Moved DMA logic to GbDmaController
2020-05-24 21:57:38 -04:00
Sour
2f511530bd GB: Stat IRQ logic improvements 2020-05-22 00:47:55 -04:00
Sour
713d18c2d4 GB: Fixed sprites with x < 8 (e.g partially offscreen) not being shown at their correct position
+ Re-implement BG priority flag for GBC
2020-05-21 23:55:01 -04:00
Sour
134c28ed9f GB: Replace scanline renderer with pixel renderer
Probably still not very accurate
2020-05-21 20:57:00 -04:00
Sour
435051f73d Debugger: Lua - Fixed incorrect runtime check for removeEventCallback 2020-05-19 22:33:51 -04:00
Sour
920fec1f66 Debugger: Fixed modulo operator in expressions 2020-05-19 21:55:52 -04:00
Sour
371a7a1ac8 Added basic support for GBC games 2020-05-19 21:31:33 -04:00
Sour
5f055110fa Added Game Boy support
CPU/APU are decent - PPU is still just a scanline renderer
No Super Game Boy support yet
2020-05-18 16:11:08 -04:00
Sour
9dbca4f26d Libretro: Fixed save ram not being saved/loaded by frontend 2020-05-17 17:27:49 -04:00
Sour
2fa5ec2bc3 Debugger: Fixed 15-bit to 24-bit color conversion for tile/tilemap/sprite viewers 2020-05-17 01:05:45 -04:00
Sour
c4389d63ba Debugger: Lua - Added missing definition for getInput API 2020-05-16 12:02:10 -04:00
Sour
a402a2c569 Debugger: Fixed deadlock when reloading ROM 2020-05-16 11:56:52 -04:00
Sour
6d9dc99814 Debugger: Fixed crash when repeatedly pressing step (or run single frame) buttons 2020-05-08 22:15:27 -04:00
Sour
7a929b56f3 Cart: Fixed data in the last ~4kb of the rom file being ignored when rom's size is not a multiple of 4kb 2020-05-07 17:03:27 -04:00
Sour
5daa1b6225 Video: Fixed/changed some aspect ratio calculations
-Fixed calculation for width for NTSC/PAL
-NTSC/PAL are PAR, as before, but 4:3/16:9 are now DAR instead, since their purpose is to fill the user's screen, regardless of overscan settings
2020-04-29 20:24:21 -04:00
Sour
5ff456bc09 Audio: Added cubic interpolation option 2020-04-28 17:56:57 -04:00
Sour
dd0287088c Version Update: 0.4.0 2020-04-25 14:43:50 -04:00
Sour
2abf39cda5 Debugger: Fixed crash when displaying CPU/SA-1 instructions in the debugger for another cpu type (e.g CX4) 2020-04-25 14:13:11 -04:00
Sour
d4a9ed3677 Linux: Fixed some crashes and layout issues 2020-04-25 14:12:32 -04:00
Sour
70cf446697 Debugger: Lua - Added complete PPU state to emu.getState API 2020-04-24 22:07:20 -04:00
Sour
34fbe980de UI: Added shortcut to increase/decrease volume 2020-04-24 21:15:46 -04:00
Sour
f7a4fd6dbd Debugger: Lua - Fixed crash when calling emu.reset() outside callbacks 2020-04-21 20:24:44 -04:00
Sour
b09017d17d Debugger: Fixed parsing issue with expression evaluator 2020-04-19 16:06:41 -04:00
Sour
1015ed6850 Libretro: Fixed uninitalized variable causing core to freeze after loading rom 2020-03-27 19:58:00 -04:00
Sour
7c79bf2974 Debugger: Added SA-1 tab to register viewer 2020-03-02 23:08:28 -05:00
Sour
5812fb3667 PPU: Fixed crash when switching overscan mid-screen
Caused by yesterday's fix for Chrono Trigger - for now, just assume overscan flag is only processed once at the top of the screen
2020-03-01 18:36:52 -05:00
Sour
6539b92502 SA-1: Fixed timing regressions
Memory handlers did not have the _memoryType value set, which caused some memory accesses to be much faster than expected
2020-03-01 18:24:33 -05:00
Sour
1d6253d2e5 SA-1: Fixed SA-1 vector logic
Reads done by the code should return the values at the read address, rather than returning the vector register value (fixes Gradius/Contra 3 SA-1 romhacks that are known to work on hardware)
2020-03-01 18:24:24 -05:00
Sour
806523055f Debugger: Fixed crashes when power cycling while debugger is opened with SA-1 games 2020-03-01 17:48:22 -05:00
Sour
468eb8e796 SPC7110: Banks 40-4F should be open bus for regular carts 2020-03-01 11:25:46 -05:00
Sour
d32f512b7b NMI: Set CPU's nmi flag during irq/nmi flag update instead of right away
Fixes a freeze at power on in Chou Aniki.
The game writes to 4200+4201 (16-bit write) to enable NMIs in the middle of vblank and expects the instruction after the write to run BEFORE the nmi handler is called (not doing so causes the game to freeze)
2020-03-01 11:25:40 -05:00
Sour
dc6d295b1a PPU: Fixed glitches when games turn overscan + interlace on and back off mid-frame
(Chrono Trigger does this for a couple of frames when a battle starts)
2020-02-29 19:36:17 -05:00
Sour
8798a73deb SPC7110: Added support for the mappings used by the tenkai translation rom 2020-02-29 17:15:23 -05:00
Sour
9c20e48957 Fixed power cycle bug - memory handlers were not reset and kept piling up, which caused mirroring issues. 2020-02-29 17:14:30 -05:00