カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
DIP/入力認証済み未処理2008-01-31 14:082008-04-10 06:02
 
テスターThenasty担当者 ソースtoaplan/toaplan2.cpp
バージョン0.37b13発生バージョン修正バージョン
修正コミットプルリク
フラグバグかもね旧BugIDothldrby062gra
セット othldrby
セット詳細
othldrby - オセロダービー (日本版)
 
概 要5キーでクレジットを入れた後、6キーを押してもクレジットが入らない。5なら続けて入る。同じく6で始めたときには5は使えない。059~062で確認。
詳 細When you insert a credit using 5, then you insert another credit using 6, it won't accept it. If you keep inserting it with 5, it gives you credits. Same goes if you start inserting coins in 6 first, then 5 won't give you credit. You can insert more credits using 6. So bottom line is that whatever you use first to insert the credit, thats the only credit button you can use. The other one won't work.
再現手順 
追加情報This strange behaviour exists since the game is emulated.

<B>Stephh observations</B>:
From MAME othldrby.c driver :

static WRITE16_HANDLER( coinctrl_w )
{
	if (ACCESSING_BITS_0_7)
	{
		coin_counter_w(0,data & 1);
		coin_counter_w(1,data & 2);
		coin_lockout_w(0,~data & 4);
		coin_lockout_w(1,~data & 8);
	}
}

static ADDRESS_MAP_START( writemem, ADDRESS_SPACE_PROGRAM, 16 )
	...
	AM_RANGE(0x700034, 0x700035) AM_WRITE(coinctrl_w)
ADDRESS_MAP_END


The only place where there's a write to 0x700035 is here :

0001E8: 13F9 0010 2F7A 0070 0035   move.b  $102f7a.l, $700035.l

So you need to find when contents of 0x102f7a changes ...


During initialisation, 0x102f7a is set to 0x00, so both coin slots are locked.


After initialisation :

0002F6: 0039 000C 0010 2F7A        ori.b   #$c, $102f7a.l

So both coin slots are now unlocked.


When you press COIN1 (A0 = 0x102f70) :

000660: 08E8 0000 000A             bset    #$0, ($a,A0)        Trigger coin counter 1
000666: 0239 00F3 0010 2F7A        andi.b  #$f3, $102f7a.l     Lock both slots
...
000676: 08A8 0000 000A             bclr    #$0, ($a,A0)        Untrigger coin counter 1
00067C: 0028 0004 000A             ori.b   #$4, ($a,A0)        Unlock slot 1 (but slot 2 remains locked)


When you press COIN2 (A0 = 0x102f72) :

0006A0: 08E8 0001 0008             bset    #$1, ($8,A0)        Trigger coin counter 2
0006A6: 0239 00F3 0010 2F7A        andi.b  #$f3, $102f7a.l     Lock both slots
...
0006B8: 08A8 0001 0008             bclr    #$1, ($8,A0)        Untrigger coin counter 2
0006BE: 0028 0008 0008             ori.b   #$8, ($8,A0)        Unlock slot 2 (but slot 1 remains locked)
 
添付ファイル