18:夢幻戦士ヴァリス/CDDAと映像がずれる

最終状態:完了
report#18.1
投稿者:na6ko
時刻:2018-02-08 15:27:28
状態:新規
頻度:必ず起きる
再現方法:
起動後ビジュアルシーンを見る.
学校が終わった後のシーンで映像と音声がとてもずれている.
report#18.2
投稿者:na6ko
時刻:2018-02-11 16:02:26
状態:受付済
頻度:必ず起きる
状態変更
report#18.3
投稿者:na6ko
時刻:2018-09-09 14:52:59
状態:受付済
頻度:必ず起きる
mednafen pce_fast module でも再現.
report#18.4
投稿者:na6ko
時刻:2018-09-11 14:18:03
状態:受付済
頻度:必ず起きる
CD読み込み時間を等速相当に設定してもあまりかわらず.
seek 時間も入れる必要があるかもしれない.
report#18.5
投稿者:na6ko
時刻:2018-09-11 23:42:21
状態:受付済
頻度:必ず起きる
ずれるビジュアルシーン前の読み込み.
drive stop
08> 000F88 1C-> 6280
08> 001008 15-> ADPCM RAM 02
08> 001588 14-> 6280
08> 00159C 14-> 6280
08> 0015B0 14-> 6280
08> 0015C4 14-> 6280
08> 0015D8 14-> 6280
08> 0015EC 14-> 6280
08> 001600 08-> 6280
D8> 42:07:35
D9> 45:10:27 play+IRQ2
audio play
report#18.6
投稿者:na6ko
時刻:2018-09-21 22:45:05
状態:保留
頻度:必ず起きる
IFU-30 と DUO-R で実機での動作確認を取ってもらったところ, DUO-R では音と絵があるが、IFU-30 ではずれるとのこと. おそらく DUO シリーズでのみ for ループのようなタイマで時間調節をしている模様. もちろんハードウェアで同期なんかとってない.

根本的な改善には DUO-R での seek 時間の計測資料が必要. 状態を保留にする.
report#18.7
投稿者:Dave Shadoff
時刻:2018-12-13 03:27:01
状態:保留
頻度:必ず起きる
The seek from sector 0x1608 to 0x2E3E2 is quite long, and different machines take different amounts of time. One of my machines averaged 104 VSYNC (1,733 milliseconds), while another averaged 93 VSYNC (1,550 milliseconds).

This game uses a machine timer to wait for the head seek; most other games would do it differently: they would send the command to move the head, wait for 'ready', then start processing again... this would accommodate different hardware speeds.

I have tested different timings with Mednafen for the best match, and found that it should be in the range from 93 to 104 VSYNCs (1,550 to 1,733 milliseconds).

However, even real machines will see a desynchronization sometimes.
report#18.8
投稿者:na6ko
時刻:2018-12-17 03:00:26
状態:保留
頻度:必ず起きる
SEEK TIME 仮実装により改善しました.
優子のしゃべりのタイミングは無難になりました.れいこのしゃべりはすこしずれてる気がします. 以前のように映像と音声のずれはかなり少なくなりました.

こちらもタイマの精度を見直してから再度報告します.
report#18.9
投稿者:na6ko
時刻:2018-12-23 10:29:39
状態:修正済
頻度:必ず起きる
状態変更
report#18.10
投稿者:na6ko
時刻:2019-02-28 22:58:23
状態:完了
頻度:必ず起きる
終了