Commit graph

3354 commits

Author SHA1 Message Date
Sour
e73cfe8f7f Debugger: Fixed break in window not working at all
Value was always 0 due to incorrect binding
2024-01-05 15:11:48 +09:00
Sour
b693b0a54e Debugger: Profiler - Fixed list not refreshing after adding/changing a label while paused 2024-01-05 14:54:40 +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
1d7285d58e Linux: Remove LIBGL_ALWAYS_INDIRECT patch
This allowed SDL rendering to work (despite the recent issues that seem to be mesa-related) but it causes it to have much higher CPU usage than normal. Probably better to use the software rendering option instead, for now.
2023-12-28 22:45:33 +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
4c6c6ce836 UI: Update to Avalonia 11.0.6 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
zohassadar
b6e01868ea
Linux build: force delete of Dependencies (#35) 2023-12-27 08:23:33 +09:00
Sour
4168583fb5 Debugger: Auto-save debug workspace periodically to prevent data loss if a crash occurs 2023-12-26 18:15:15 +09:00
Sour
f545e4123e NES: Fixed mapper 16 IRQ logic for submapper 4 2023-12-26 17:17:32 +09:00
Sour
71ea2b9f85 UI: Allow using SMS keybindings to navigate game selection screen 2023-12-26 17:09:19 +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
52b3196abb Debugger: Update viewers when loading a save state 2023-12-25 22:21:41 +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
44f19e1934 Debugger: Register Viewer - PCE - Fixed incorrect increment value for arcade card 2023-12-25 15:16:43 +09:00
Sour
5ad3f9c689 UI: Try to prevent rare crashes when tooltips open/close 2023-12-25 15:14:42 +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
d0f8980d2b Debugger: Lua - Fixed rare crash when loading script due to uninitialized memory when Lua io/os access is enabled 2023-12-23 12:07:34 +09:00
Sour
f2b0afa892 Debugger: Script Window - Fixed recent scripts menu not updating properly 2023-12-23 09:33:37 +09:00
Sour
6b9af14386 Debugger: Lua - Fixed a crash when using coroutines that was caused by customizations that were previously done to Lua's code 2023-12-22 23:14:20 +09:00
Sour
9ce627ae02 Linux: Fixed blank screen with recent SDL2/libGL versions
Workaround the problem by forcing LIBGL_ALWAYS_INDIRECT to true, which allows rendering to work properly
2023-12-22 15:04:13 +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
a640f04f10 Debugger: Linux - Fixed display problems with non-latin characters when using TBL files in some distributions (characters were shown as empty blocks) 2023-12-18 21:41:44 +09:00
Sour
973cf7008c Debugger: Fixed display issue in memory viewer when using TBL files that replace values with more than 1 non-latin character 2023-12-18 21:41:02 +09:00
Sour
4b81e8bce0 UI: Display error messages when command line arguments/files are invalid/not found 2023-12-17 12:39:53 +09:00
Sour
f66ebfafd7 Debugger: Fixed actions on effective addresses in disassembly 2023-12-16 20:56:45 +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
SourMesen
f4efe42b50
Updated readme 2023-12-15 18:39:55 +09:00
Sour
35440bcbaa Audio: Fixed muted audio when using 96khz sample rate 2023-12-15 18:02:38 +09:00