View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
52 [upergrafx] CD-ROM2 minor always 2022-08-04 23:12 2022-08-05 00:04
Reporter: na6ko Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version: upergrafx_xx_20200321.pac  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: HECD4011 ぽっぷるメイル / ビジュアルシーンでとまる
Description:
  • このシーンは upergrafx_hd_20200921.pac で virtual cd drive speed を fast にすると回避できる. (h3 は無条件でダメらしい)
  • mednafen その他エミュレータでもほとんど止まる
  • mednafen で pce_fast.cdspeed を 6 以上にするとなぜか回避可能

以上の現象を考察すると、実機より早い読み込みをすると回避可能かもしれないが実機ではちゃんと動くので CD ドライブのタイミングがうまくいくと止まらないことはわかる.
hd と h3 で結果が変わるのは内部 MCU の instruction RAM が VRAM と共有している関係で、 Video Controller が空いてる時間のみ MCU が動いているから絶妙なタイミングでなぜか動いていると解釈できる.

bios の CD 読み込み高速化パッチが影響しないのも理解に苦しむ. 読み込み時間に絶妙なタイミングを要求するのに bios 側のタイミングがとてもかわるのになぜ影響しないのか謎.

Tags:
Steps To Reproduce:
  • 添付ファイルを backup RAM へ転送
  • ゲームを起動, Continue
  • 上を押して扉に入る
  • 左を押して会話をする
  • 会話が終わるとビジュアルシーンが始まる
  • そのうちとまる
Additional Information:
Attached Files: pp (2,048 bytes) 2022-08-04 23:12
https://dev.upergrafx.com/bt/file_download.php?file_id=38&type=bug
Notes
(0000104)
na6ko   
2022-08-05 00:04   

元のプログラムの解析が望まれるが、開発を止めて1年半以上経っているのでやる気が続かない.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
25 [upergrafx] CD-ROM2 minor always 2020-10-12 05:29 2020-11-09 05:16
Reporter: na6ko Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version: upergrafx_xx_20200321.pac  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: メモリーカードの読み込みが安定しない
Description:

第4次ロットから報告が増えた現象.
手元のメモリーカードでは再現せず把握していなかった問題.

問題の起きるメモリーカードを2枚受け取ったのでようやく調査ができた.

Tags:
Steps To Reproduce:

カードその1) 電源投入後 memory card initial error がでる
009 の通りの問題で、直せない.

カードその2) 電源投入後、IMAGE LIST がでるが II->I で再度表示すると IMAGE LIST の取得途中ですぐにおかしくなる
IMAGE LIST を経由せずに CD ソフトを起動すると、ゲームは起動するが、そのうち動作がおかしくなる.

Additional Information:
Attached Files: IMG_0254.png (94,790 bytes) 2020-10-13 01:09
https://dev.upergrafx.com/bt/file_download.php?file_id=10&type=bug
png
Notes
(0000037)
na6ko   
2020-10-12 05:36   
(Last edited: 2020-10-12 05:44)

カードその1は従来どおり PCE の電源投入後にカードを挿入することで回避可能.

カードその2は SPI busmaster が MCU か SSR (FPGA内 SPI 高速伝送ハードウェア) を切り替えるときに問題があるようだ. 場当たり的にかえてみたら改善した.

SPI busmaster 切り替えは従来のソースは下記になっている.
assign spi_clk = spi_r[1] & ssr.spi_clk;
//assign spi_clk = ssr.spi_busmaster == 0 ? spi_r[1] : ssr.spi_clk;

MUX をケチりたい気持ちで & で1つにしていたが、コメントとして残っていた部分を試しに使ってみたら直った. AND 統合でも処理を適切にやれば動くだろうが、リソースは足りているので MUX 利用にしたい.

他者の問題発生環境で改善するか確認を依頼を出したので報告待ち.

(0000038)
na6ko   
2020-10-12 05:40   

カードその1とカードその2は別の問題なので両方発生するカードも存在すると予想される.

(0000039)
na6ko   
2020-10-13 00:33   

他者の環境では改善しなかった.

(0000040)
na6ko   
2020-10-13 01:09   

2020年8月に同様の問題で連絡してもらったユーザーに確認依頼をした.

(0000041)
na6ko   
2020-10-18 17:21   

他者1以外に問題が起きるメモリーカードを所持する他者2と他者3に確認をした.
他者2が確認した5枚のうち下記の内訳となった.

  • カード1,同3は電源投入時に挿入していると初期化ができないタイプ
  • カード2は改善なし
  • カード4は以前から正常で今回も正常
  • カード5は今回から正常ということで改善した

他者3が確認した1枚は改善した.

以上より今回の対応で改善するカードは3例となるが、別の原因で動作しないものが2例あることが判明した.

(0000042)
na6ko   
2020-10-18 17:26   

今回の2つの SPI CLOCK 共用方法を AND から MUX に替えたことで改善した. 他者1と他者2のカード2が改善しない対策として SPI CLOCK のレジスタを2つから1つに減らして精度をあげてみたが、これでは改善しないと報告が来た.

よって別の原因を調査すべきである.

(0000043)
na6ko   
2020-10-24 21:21   

カードその2を交渉して譲ってもらった.
カードその2の動作不具合は 3/10 の UGX-02 で発生した. 傾向は下記である.

  • 不具合の発生条件は UGX-02 個体によって違うが、個体としては起きる場所が同じ
  • 2020年7月製造分だけでなく2017年製のサンプルでも発生
  • EP2C8 を載せた開発機では起きず signaltap II 経由での解析が困難
(0000044)
na6ko   
2020-10-24 21:29   

08> 000E3A 0C.00[-264B:0273ms]SDC DMA ERROR 02

このエラーがでる場所は HDL で1箇所だけだった.
state machine label: token_wait1 で発生する. この箇所は if() の分岐が3つ、 if() の中の比較 bit 数が 9bit x3 だったので、試しに分散して軽量化した.
このあと SDC DMA ERROR 02 は発生しなくなったが、CDDA の再生が途中で止まる不具合が別途発生している.

同様の多ビット比較(一般的には9bitが多いとは思えないが性能不足のつけがあるのかもしれない)と複雑な分岐はかなり多く、同様の分散軽量化を他にも実施してみる.

(0000045)
na6ko   
2020-10-25 22:04   

軽量分散化は改善にはならなかった.

(0000046)
na6ko   
2020-10-25 22:39   

2018年11月頃の pac を利用してみたが問題は発生した.
037 で直した spi clock の問題とは違いソースコードからの改善は困難かもしれない. 今後はんだ付けなど物理的な問題か確認してみる.

(0000047)
na6ko   
2020-11-09 05:16   

メモリーカードその2の不具合に関しては下記の2点が判明している.

  • HDL ソースでは修正不可
  • UGX-02 であれば製造時期は関係なく起きる

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
24 [upergrafx] CD-ROM2 minor always 2020-08-26 11:23 2020-08-28 19:19
Reporter: na6ko Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version: upergrafx_xx_20200321.pac  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 非公開の開発途中版  
    Target Version:  
Summary: HCD2035 井上麻美 - 絵が化ける
Description:

添付のセーブデータをロード. セーブデータ1 の家老の家を見ると発生.
ほかはいまのところ未確認.

  • ロード時間には依存せず、化け方は同じ.
  • mame では起きない
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: asami.sav (2,048 bytes) 2020-08-26 11:23
https://dev.upergrafx.com/bt/file_download.php?file_id=6&type=bug
normal.png (15,066 bytes) 2020-08-26 11:23
https://dev.upergrafx.com/bt/file_download.php?file_id=7&type=bug
png

Clipboard02.png (23,064 bytes) 2020-08-27 12:59
https://dev.upergrafx.com/bt/file_download.php?file_id=9&type=bug
png
Notes
(0000026)
na6ko   
2020-08-26 11:56   

この家老の庭に関しては 6270.VRAM address 0xA200 付近の書き込みが変.

(0000027)
na6ko   
2020-08-26 21:09   

このソフトは CD の読み込みのあと ADPCM 用 RAM へ DMA 転送をやたらと利用していて、 0x20 sectors, つまり ADPCM 用 RAM address 0x0000-0xffff に書き込んだ後 BIOS 経由で 6280 から全部読み出すという変な手法をとっている.

(0000028)
na6ko   
2020-08-26 21:10   

前回の VRAM address 0xa200 は MAME 特有の byte 単位の考えで、正式には 0x5100 の値.

(0000029)
na6ko   
2020-08-26 23:50   

UGXのGPRAMとエミュレータのRAMを比較したところ下記の 1 byte の違いがあり、エミュレータで該当部をUGXを同じにしたら再現した.
address data
emu ugx
0x0f7fff 0x81 0x80

(0000031)
na6ko   
2020-08-27 12:58   

ADPCM 用 RAM address 0xffff の読み込みで正常なデータがでていないことを確認. 読み込み処理には問題がなく、書き込み処理に問題があった.
serial SRAM address 0x0ffff の書き込みは 0xfa なのだが 0xf0 になっている. ADPCM 用 RAM controller の data 入力が cdrom data fifo と 6280 data bus になっていて、切り替えが早すぎた.
切替条件を 6280 address 0x1ff80b.w0 | w1 に変更し改善を確認.

いままで結構な数の ADPCM 用 RAM への DMA 転送で最後の 4bits が正常に転送されていなかったので結構深刻なバグだった.

(0000033)
na6ko   
2020-08-27 12:59   
(0000034)
na6ko   
2020-08-27 13:06   
(Last edited: 2020-08-27 13:17)

このバグの原因ではないが ADPCM 用 RAM address 0xffff での 6280 の読み込みの処理が不適切で次の address 0x00000 が正常に読めないバグが有ったので修正. たぶん、実用はされてないと思う.

(0000036)
na6ko   
2020-08-28 19:19   

このゲームのほかの箇所でも問題があるが修正済みの状態では発生しない. 原因は ADPCM 用 RAM への書き込みで最後の1nibbleの不正書き込みであると考えられる.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
15 [upergrafx] CD-ROM2 minor always 2020-01-16 06:33 2020-08-28 11:42
Reporter: na6ko Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: confirmed Product Version: upergrafx_h3_20191005.pac  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: It Came From the Desert/とまる
Description:

https://dev.upergrafx.com/kagemai/report087.html の続きです.
簡単に再現できるのですが、エミュレータ側のデバッグ機能が貧弱で比較調査できずにとまっています.

Tags:
Steps To Reproduce:

ゲームを初めて、すぐに起こります。

Additional Information:
Attached Files:
Notes
(0000035)
na6ko   
2020-08-28 11:42   

024 で改善したかみましたが直っていませんでした.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
14 [upergrafx] CD-ROM2 minor always 2020-01-16 06:31 2020-01-16 06:45
Reporter: na6ko Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version: upergrafx_h3_20191005.pac  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: モンスターメーカー -闇の竜騎士-/たまに起動しない
Description:

https://dev.upergrafx.com/kagemai/report007.html のつづきです.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000007)
na6ko   
2020-01-16 06:44   

1年間放置状態になっておりますが、
クマの子さんが12月末ごろにやられていて起動はするみたいです.

(0000008)
na6ko   
2020-01-16 06:45   

https://twitter.com/qqmg4a39k4/status/1215275351036710912


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
17 [upergrafx] CD-ROM2 minor always 2020-01-16 06:35 2020-01-16 06:35
Reporter: na6ko Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version: upergrafx_h3_20191005.pac  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: NXCD3024 闇の血族 遥かなる記憶 / たまにはスクロール不安定
Description:

https://dev.upergrafx.com/kagemai/report093.html のつづきです.

Tags:
Steps To Reproduce:

This game is a long visual scene, like an anime.
Once in a while (not often), the screen flashes in the same way that Doraemon does (seems to be scroll register on VDC).

Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
16 [upergrafx] CD-ROM2 minor always 2020-01-16 06:34 2020-01-16 06:34
Reporter: na6ko Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version: upergrafx_h3_20191005.pac  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: とらべらーず!伝説をぶっとばせ / 声と動作がずれた
Description:

https://dev.upergrafx.com/kagemai/report090.html のつづきです.
これは CD-ROM 読み込み速度を速くすると正常になるというよくわからない動作をしています.

Tags:
Steps To Reproduce:

Game Start
Introduction Scene, after about 1 minute - the part showing 4 people in a house.

Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
13 [upergrafx] CD-ROM2 minor always 2020-01-16 06:28 2020-01-16 06:28
Reporter: na6ko Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version: upergrafx_h3_20191005.pac  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: HCD2030 ドラえもんのび太のドラビアンナイト/3-4のボスのあと止まる
Description:

https://dev.upergrafx.com/kagemai/report098.html の続きです.
計測しづらいので放置しています.

Tags:
Steps To Reproduce:

3-4 のボスを倒す

Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
12 [upergrafx] CD-ROM2 minor always 2020-01-16 06:27 2020-01-16 06:27
Reporter: na6ko Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version: upergrafx_h3_20191005.pac  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: F1チームシミュレーション PROJECT.F / ノイズが出ます
Description:

https://dev.upergrafx.com/kagemai/report089.html の続きです.
Virtual CD Drive Speed = Fast なら確実で、 Normal でも起きるようです. 開発版でも設定 Normal で発生してます.

問題の原因は同期をとらずにシビアなCD read/seek タイミングを要求していることが原因です.

Tags:
Steps To Reproduce:

ソフト起動直後、「CD Laser Soft」の画面表れて、ホーンの音が出て、直後ノイズが出ます

Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
11 [upergrafx] CD-ROM2 minor always 2020-01-16 06:23 2020-01-16 06:23
Reporter: na6ko Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version: upergrafx_h3_20191005.pac  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: HCD2030 ドラえもん,スチームハーツ/スクロールとCDDAの再生が変
Description:

https://dev.upergrafx.com/kagemai/report085.html の続きです.
無限に発生する Audio Seek Command を無視して正常に再生できる理由がわからないので直せていません.

Tags:
Steps To Reproduce:

ドラえもん:
ゲームを開始
何度かRUNを押してゲームのメイン画面にする
(はなびセットをとると一時的に直る)

スチームハーツ: ゲームを開始し本編にいく.

Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
10 [upergrafx] CD-ROM2 minor always 2020-01-16 06:19 2020-01-16 06:19
Reporter: na6ko Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version: upergrafx_h3_20191005.pac  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: TJCD3034 コズミック・ファンタジー ビジュアル集/ 音が変
Description:

https://dev.upergrafx.com/kagemai/report082.html の続きです.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
9 [upergrafx] MCU minor always 2020-01-16 06:18 2020-01-16 06:18
Reporter: na6ko Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version: 非公開の開発途中版  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: SDC/電源投入直後PLEASE CLOSE THE COVER!
Description:

https://dev.upergrafx.com/kagemai/report030.html の続きです.
これは計測できなくて直せないというやるせない問題です.

Tags:
Steps To Reproduce:

1.SDカードを入れたまま電源ON
2.CD-ROM起動画面でRUNボタン押下
3.PLEASE CLOSE THE COVER!が表示される
4.SDカードを抜き差し
5.Audio CD playerに移行。以後通常手順でゲーム起動可能
6.電源を切るまで正常にAudio CD playerからゲーム起動
RUN+SELECTリセットでCD-ROM起動画面に戻っても正常に動作

Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
8 [upergrafx] CD-ROM2 minor sometimes 2020-01-16 06:17 2020-01-16 06:17
Reporter: na6ko Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version: upergrafx_20190212.pac  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: てきぱきワーキン・ラブ/停まる
Description:

https://dev.upergrafx.com/kagemai/report012.html の続きです.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
7 [upergrafx] CD-ROM2 minor always 2020-01-16 06:15 2020-01-16 06:15
Reporter: na6ko Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version: upergrafx_h3_20191005.pac  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: 風の伝説ザナドゥ/CDDAと映像がずれる
Description:

https://dev.upergrafx.com/kagemai/report005.html の続きです.

Tags:
Steps To Reproduce:

プロローグを選んで長いビジュアルシーンを見る.

Additional Information:
Attached Files:
There are no notes attached to this issue.