CDIC: Added seek wait time

- Fixes sound hiccups in "Felix the Cat"
This commit is contained in:
Andre Zeps
2025-02-13 23:02:24 +01:00
parent 2c5b60519e
commit 94f1355ef6
2 changed files with 4 additions and 4 deletions

View File

@@ -23,8 +23,8 @@ CD images can be stored as CHD or CUE/BIN format.
Core Utilization:
Logic utilization (in ALMs) 13,730 / 41,910 ( 33 % )
Total registers 15503
Logic utilization (in ALMs) 13,669 / 41,910 ( 33 % )
Total registers 15516
Total block memory bits 637,639 / 5,662,720 ( 11 % )
Total DSP Blocks 72 / 112 ( 64 % )
@@ -41,7 +41,6 @@ Core Utilization:
the audio channel mask is set one sector too late.
* Investigate sound hiccups in both 2D Zelda games
* Probably the same as with "Zelda's Adventure"
* Investigate "Felix the Cat" sound problems
* Fix hang on audio track stop or change
* Investigate red bars in Hotel Mario intro
* Investigate single blur line in Hotel Mario at the top

View File

@@ -421,7 +421,8 @@ module cdic (
`ifdef VERILATOR
localparam bit [5:0] kSeekTime = 1;
`else
localparam bit [5:0] kSeekTime = 2;
// Seeking on a real 210/05 takes about 200ms
localparam bit [5:0] kSeekTime = 14;
`endif
// Simulates reading time. Remaining sectors to wait.
bit [5:0] start_cd_reading_cnt = 0;