Commit graph

2040 commits

Author SHA1 Message Date
Sour
9af571cac8 Linux: Fixed video freezing after power cycle/reload rom 2024-01-11 17:51:28 +09:00
Sour
41186ec85a Debugger: Assembler - Allow using label name without +0 for the first byte of multi-byte labels 2024-01-09 22:10:45 +09:00
Sour
6ed7e45bd4 Fixed compilation warnings 2024-01-09 16:46:02 +09:00
Sour
c4743c3cc0 Video: Fixed HUD elements (i.e fps counter) temporarily not appearing properly after changing the overscan settings, etc. 2024-01-09 16:36:31 +09:00
Sour
11561980e2 SMS: Fixed save files not being loaded properly 2024-01-07 22:18:12 +09:00
Sour
7a2e410883 Debugger: PCE - Fixed crashes with Lua tutorial script due to the way overscan/resolution is handled for the PCE 2024-01-05 14:28:44 +09:00
Sour
01a663d19d PCE: Fixed "remove sprite limit" not working properly in some scenarios 2024-01-04 11:15:12 +09:00
Sour
f9614e0b1e PCE: Allow reading back bits 0-3 for 1804 + minor code cleanup 2024-01-03 20:21:50 +09:00
Sour
4696c2ca50 PCE: More CD-ROM emulation improvements
-ADPCM DMA speed now matches what krikzz's test rom expects
-Implemented some delays in CD-ROM interface that mostly match the test rom
-Implemented delay when software fails to read an entire sectore before the next one is ready (improves audio sync in Sherlock Holmes movies)
-Re-fixed issues with Ys IV that were apparently caused by the read command not properly updating the SCSI signals after the drive starts seeking to the requested sector
-Fixed some ADPCM playback flags/timing issues based on okitest test rom (playing/busy flag gets turned off slightly delayed vs end reached flag, etc.)
-Implemented delay for $1805 writes, based on test rom
2023-12-29 23:12:05 +09:00
Sour
b3e414f6f4 NES: HD Packs - Added originPositionCheck conditions, use decimal instead of hex for comparison value 2023-12-29 17:00:36 +09:00
Sour
a3eb6a3183 NES: HD Packs - Added positionCheckX/positionCheckY conditions 2023-12-28 22:46:52 +09:00
Sour
a21035f67f NES: HD Packs - Fixed small audio glitch that would occur when BGM looped 2023-12-28 14:15:06 +09:00
Sour
c325b28d3a Debugger: Fixed rare crash that could occur when loading/saving a save state while emulation is running when the debugger is active
Caused by the stateloaded/statesaved being processed in a separate thread while the emulation is running
2023-12-27 23:27:07 +09:00
Sour
c6b86ba887 PCE: CD-ROM emulation improvements
-ADPCM edge cases work better (reset, length latching, dma, etc.)
-BRAM unlocking/locking fixes
-Read ToC command returns the correct amount of data
-SCSI data port returns the drive's reply whenever a reply is being read, regardless of the value written to the port through $1801
-Implemented/fixed audio sample read behavior (latching, L/R toggle)
-Fixed missing (unused) readable/writable bits in some registes

All of these fixes are based on the test results from krikzz's test rom here: https://github.com/krikzz/turbo-ed-pro-pub/tree/main/tcd-verificator
2023-12-27 23:27:07 +09:00
Sour
79915cc557 GB: Remove unnecessary data from save states 2023-12-27 23:27:07 +09:00
Sour
dcd9c2249e Debugger: PCE - Highlight arcade card accesses in memory viewer 2023-12-27 23:27:07 +09:00
Sour
f545e4123e NES: Fixed mapper 16 IRQ logic for submapper 4 2023-12-26 17:17:32 +09:00
Sour
64e189f047 PCE: Improve cd-rom seek time emulation + adpcm read/write delays
Fixes issues in Ys IV (black bars while scrolling), F1 Team Simulation (loud noise at start of intro), Mugen Senshi Valis (de-synced audio/video)
2023-12-26 17:08:54 +09:00
Sour
04793df83c PCE: Fixed (?) arcade card register mirroring
Unsure if any games depend on this
2023-12-25 16:50:37 +09:00
Sour
b984985f88 PCE: Allow 6-button controllers to be connected to the turbo tap 2023-12-25 16:31:00 +09:00
Sour
e521fe700f PCE: Fixed arcade card shift register behavior for right shifts
Garou Densetsu Special was broken because of this - going in the  stage's back row would cause character sprites to disappear for several seconds
2023-12-25 15:40:51 +09:00
Sour
9a7e52d820 PCE: Log unexpected arcade card reads/writes in debug 2023-12-25 15:39:26 +09:00
Sour
b6d865fdcd Debugger: PCE - Event Viewer - Split CD-ROM and Arcade Card reads/writes into 2 separate categories 2023-12-25 15:29:39 +09:00
Sour
30a564d932 PCE: Allow vram reads/writes during sprite fetching if the VDC is done fetching all of the sprite data required for the next scanline 2023-12-24 17:25:26 +09:00
Sour
1204a399f9 PCE: Fixed typo in previous commit which broke the intended logic 2023-12-24 15:00:16 +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
0cb1c2bc5e PCE: VDC - Allow VRAM transfers to run at any time when rendering is disabled
Fixes issues in movies in both Cosmic Fantasy 4 and Flash Hiders
2023-12-23 21:33:19 +09:00
Sour
935df44068 PCE: VDC - Allow vram read/writes during sprite fetching if no sprites need to be fetched for the next scanline
Fixes last remaning issues in Popful Mail's intro scene
2023-12-23 21:31:49 +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
7298c236c5 PCE: Fixed timer IRQ regression that caused a freeze in After Burner 2 2023-12-22 14:19:42 +09:00
Sour
9258d1453f Debugger: Lua - Add folder that contains the current script to the folders that scripts can require other Lua scripts from 2023-12-18 22:04:47 +09:00
Sour
ec6e66524f SMS: Added option to blend frames for GG 2023-12-16 20:06:40 +09:00
Sour
5a17c88148 SMS: Added region selection for GG 2023-12-16 19:01:13 +09:00
Sour
660c7c3970 SMS: Fixed LD A, R/I not updating flags properly
Ristar's intro breaks (loops multiple times and eventually freezes) without this
2023-12-16 17:04:35 +09:00
Sour
90fe3a7405 SMS: Reset noise channel LSFR when control register is written 2023-12-16 08:39:54 +09:00
Sour
35440bcbaa Audio: Fixed muted audio when using 96khz sample rate 2023-12-15 18:02:38 +09:00
Sour
469734dc02 Linux: Fixed compilation errors/warnings 2023-12-15 03:43:37 -05:00
Sour
5308983ebb Added SMS/GG/SG-1000 support 2023-12-14 22:23:27 +09:00
Sour
08424ceba8 NES: Make OAM decay more obvious by displaying a diagonal line of sprites 2023-12-03 14:12:03 +09:00
Sour
6142ba3557 PCE: Allow SF2 mapper to access more ROM 2023-12-03 12:41:41 +09:00
Sour
3c94fe6245 Debugger: SNES - Fixed effective address display for indirect JMP
Effective address always had the upper 8 bits of the address as 0 instead of using the current value of K
2023-11-29 17:56:25 +09:00
Sour
c0e7d9faac NES: HD Packs - Fixed issues with some games (e.g MMC5) caused by unintended calls to ReadVram 2023-11-22 16:36:29 +09:00
Sour
3cbe2bebfe Linux: Fixed clang warnings 2023-11-21 20:05:27 +09:00
Sour
2926a49dbe PCE: Fixed endless intro restart bug in Tenshi no Uta 2 2023-11-19 23:39:54 +09:00
Sour
5f48a82ea3 NES: Fixed missing BaseMapper state in save state data for some mappers 2023-11-19 09:22:21 +09:00
Sour
13be4e8d99 Debugger: SNES - Fixed crash in GSU debugger when negative jump target wraps past 0 2023-11-16 17:11:15 +09:00
Sour
10aa708c07 NES: Tweak behavior of halt/dummy reads during DMA
These halt/dummy reads shouldn't trigger the DMA issues - only actual DMA reads should
2023-11-15 22:31:36 +09:00
Sour
9751fbdf06 Debugger: SNES - Fixed jump address in disassembly for DBNZ Y,[...] 2023-11-14 21:05:10 +09:00
Sour
1a5cadbe41 NES: Fixed crash when loading mapper 91 games 2023-11-02 17:22:55 +09:00
Sour
94927419d6 PCE: Fixed (?) frequency for noise
Matches what PCEHawk and Mednafen sound like
2023-11-01 22:39:31 +09:00