カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
デバッガ仮承認未処理2010-02-02 02:092010-02-17 12:45
 
テスターsmkdan担当者 ソースneodriv.hxx
バージョン0.136発生バージョン修正バージョン
修正コミットプルリク
フラグ
セット
セット詳細
 
概 要書き込みデータが00(Z80) でない場合、wpisetウォッチポイントがスナップしない。
詳 細When running the Z80 debugger, wpiset will not snap the debugger unless wpdata is 00. It will simply ignore any others. For example:

wpiset 4,1,w

Only snaps when data=0

wpiset 4,1,w,wpdata>0

Will never snap. I ran into this when running Neo Geo Z80 program in the debugger and watching writes to YM2610 address port 0. Instances of OUT ($04),a where a != 0 will simply be ignored.
再現手順Run lbowling.zip with -debug switch. Enter:

Make sure you have (audiocpu) - Z80 focus in the debugger

wpiset 4,1,w

Get to the title screen and insert a coin (you may need to insert two to make the coin sound). The debugger should snap with PC=13BB. Note the OUT ($04),a directly above.

Note PC=13C2 which is another OUT ($04),a. Step until this is reached, the debugger will not snap because A!=00.
追加情報I do not know how broad this issue is but it seems very general so I just picked neodrv.c since that's what I do all my debugging in.

The example applies to a write to YM2610 from the Z80 using the OUT instruction that is triggered by the insert coin sound, it's one of the only sounds that seem to cause the debugger to actually snap (since it writes 00 to the 2610).
 
添付ファイル