Commit graph

9 commits

Author SHA1 Message Date
Sour
64126ace83 PCE: CD-ROM timing improvements
-IRQ/SCSI status should happen after seek is done when a play command is sent (fixes  audio sync in Brandish intro cutscene)
-Fixed seek delay not being applied correctly when swapping from audio playback to data loading and tweaked seek delays to make them a bit slower (fixes Brandish audio glitch during introduction)
-Fixed regression that causes the "transfer ready" irq flag to not be reset when a sector was done reading (this broke the intro sequence in "It came from the desert")
-Improved behavior when a load operation is cancelled (to match the expected results of both scsitest and verificator tests)
2024-02-03 12:00:45 +09:00
Sour
6ed7e45bd4 Fixed compilation warnings 2024-01-09 16:46:02 +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
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
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
36e9db1cb5 PCE: Fixed SCSI drive behavior when an invalid command is received
Fixes crash in It Came from The Desert during the introduction
2023-04-20 20:06:38 -04:00
Sour
fd17a0669b Debugger: PCE - Log SCSI commands in debug log 2023-04-20 20:06:14 -04:00
Sour
c90181c1a2 Refactoring - Moved some GB/PCE files into subfolders 2022-09-08 22:23:30 -04:00
Renamed from Core/PCE/PceScsiBus.cpp (Browse further)