mirror of
https://github.com/holub/mame
synced 2025-06-13 08:05:31 +03:00
make puzzli2 play some intro music (nw)
This commit is contained in:
parent
6cf4b6c27f
commit
37f6fd066c
@ -570,8 +570,12 @@ void pgm_arm_type1_state::command_handler_puzzli2(int pc)
|
|||||||
|
|
||||||
switch (m_ddp3lastcommand)
|
switch (m_ddp3lastcommand)
|
||||||
{
|
{
|
||||||
case 0x13: // ASIC status?
|
case 0x13: // getting some kind of list maybe?
|
||||||
|
{
|
||||||
|
|
||||||
m_valueresponse = 0x74<<16; // 2d or 74! (based on?)
|
m_valueresponse = 0x74<<16; // 2d or 74! (based on?)
|
||||||
|
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x31:
|
case 0x31:
|
||||||
@ -626,12 +630,30 @@ void pgm_arm_type1_state::command_handler_puzzli2(int pc)
|
|||||||
m_valueresponse = 0x36<<16;
|
m_valueresponse = 0x36<<16;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
||||||
|
// 63/67 are used on startup to get the z80 music at least
|
||||||
|
|
||||||
case 0x63: // used as a read address by the 68k code (related to previous uploaded values like cave?) should point at a table of ~0x80 in size? seems to use values as further pointers?
|
case 0x63: // used as a read address by the 68k code (related to previous uploaded values like cave?) should point at a table of ~0x80 in size? seems to use values as further pointers?
|
||||||
m_valueresponse = 0x00600000;
|
if (m_value0==0x0002)
|
||||||
|
{
|
||||||
|
m_valueresponse = 0x0016ebf2; // right for puzzli2 , wrong for puzzli2s, probably calculated from the writes then?
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
m_valueresponse = 0x00600000; // wrong
|
||||||
|
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x67: // used as a read address by the 68k code (related to previous uploaded values like cave?) directly reads ~0xDBE from the address..
|
case 0x67: // used as a read address by the 68k code (related to previous uploaded values like cave?) directly reads ~0xDBE from the address..
|
||||||
m_valueresponse = 0x00400000;
|
if (m_value0==0x0002)
|
||||||
|
{
|
||||||
|
m_valueresponse = 0x00166178; // right for puzzli2 , wrong for puzzli2s, probably calculated from the writes then?
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
m_valueresponse = 0x00400000; // wrong
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user