Commit graph

18 commits

Author SHA1 Message Date
Sour
797ef1f57a PCE: Improved timing for SATB/VRAM DMA
Fixes freeze in TV Sports Football's "New Season" screen and is very close to new test rom's timings/results
2025-02-01 19:43:59 +09:00
Sour
c9adff355f PCE: Tweak trigger for RCR counter increments
The RCR counter doesn't appear to increment unless the HDW mode (e.g the visible scanline) actually starts. On the other hand, the vertical mode counter will get clocked even if the VDC doesn't hit HDW (trigger seems to be earlier, currently set to be the same timing as the Y scroll latch). The RCR IRQ could occur later than on hardware because of this
2024-10-19 22:34:39 +09:00
Sour
b6e9dcbc13 PCE: Improved X/Y scroll and CR latch timing
Also update the latched values when a register write occurs at the same time
This matches the results seen in the rcrtest (https://github.com/pce-devel/huc/tree/master/examples/asm/elmer/rom-bare-rcrtest) for all VDC clock speeds
2024-09-21 14:17:06 +09:00
Sour
d3a6aadbef PCE: Block vram accesses at the start of horizontal sync
Makes timing test rom results match hardware a bit better
2023-12-23 22:29:19 +09:00
Sour
b84d4f23cf PCE: Improved VRAM read/write delays
Not perfect, but a lot closer than before. Matches hardware results pretty well in most scenarios, but most of it is guesswork
Fixed Wonder Momo and seems to not have any negative impacts on other games
2023-12-23 13:28:21 +09:00
Sour
5f89c254ad PCE: Improved start timing for the SATB DMA transfer
This was needed to fix a homebrew rom (which works on hardware)
2023-09-15 22:53:24 +09:00
Sour
963f458b90 PCE: Fixed out-of-bounds array access when a sprite was at x>=992 that caused sprites to disappear from the screen
Affected Riot Zone
2023-01-28 17:36:11 -05:00
Sour
7108bdde36 Refactoring - Moved some leftover files out of the root folder 2022-09-08 21:48:49 -04:00
Sour
152abf690b Rename stdafx.h to pch.h 2022-09-08 21:29:52 -04:00
Sour
45287639ca PCE: Added support for frame skipping, moved frame skipping option to global video settings 2022-09-01 14:45:18 -04:00
Sour
6d254cd487 PCE: Optimize DrawScanline using template 2022-08-31 22:16:04 -04:00
Sour
e2672e36ce PCE: Inline functions that are only called once uncondtionally to improve performance 2022-08-31 20:36:57 -04:00
Sour
ebd289182b PCE: Optimize rendering by tracking which pixels potentially have sprites 2022-08-31 20:12:37 -04:00
Sour
1a95508e9c PCE: Optimize GetTilePixelColor 2022-08-31 20:10:28 -04:00
Sour
240e045f99 Debugger: Lua - Added selectDrawSurface API (+ Linux compilation fixes) 2022-08-02 23:25:41 -04:00
Sour
05180385ab PCE: Implemented save states 2022-07-20 18:49:25 -04:00
Sour
0a6a8e92b2 PCE: SuperGrafx support 2022-05-15 20:35:56 -04:00
Sour
6d0fb13cdc PCE: Rename PPU to VDC 2022-05-13 18:02:25 -04:00
Renamed from Core/PCE/PcePpu.h (Browse further)