make puzzli2 play some intro music (nw)

This commit is contained in:
David Haywood 2013-07-30 19:39:49 +00:00
parent 6cf4b6c27f
commit 37f6fd066c

View File

@ -570,8 +570,12 @@ void pgm_arm_type1_state::command_handler_puzzli2(int pc)
switch (m_ddp3lastcommand)
{
case 0x13: // ASIC status?
case 0x13: // getting some kind of list maybe?
{
m_valueresponse = 0x74<<16; // 2d or 74! (based on?)
}
break;
case 0x31:
@ -626,12 +630,30 @@ void pgm_arm_type1_state::command_handler_puzzli2(int pc)
m_valueresponse = 0x36<<16;
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?
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;
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;
default: