trunk/src/mame/machine/pgmprot_igs027a_type1.c
| r24582 | r24583 | |
| 570 | 570 | |
| 571 | 571 | switch (m_ddp3lastcommand) |
| 572 | 572 | { |
| 573 | | case 0x13: // ASIC status? |
| 573 | case 0x13: // getting some kind of list maybe? |
| 574 | { |
| 575 | |
| 574 | 576 | m_valueresponse = 0x74<<16; // 2d or 74! (based on?) |
| 577 | |
| 578 | } |
| 575 | 579 | break; |
| 576 | 580 | |
| 577 | 581 | case 0x31: |
| r24582 | r24583 | |
| 626 | 630 | m_valueresponse = 0x36<<16; |
| 627 | 631 | break; |
| 628 | 632 | |
| 633 | |
| 634 | // 63/67 are used on startup to get the z80 music at least |
| 635 | |
| 629 | 636 | 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? |
| 630 | | m_valueresponse = 0x00600000; |
| 637 | if (m_value0==0x0002) |
| 638 | { |
| 639 | m_valueresponse = 0x0016ebf2; // right for puzzli2 , wrong for puzzli2s, probably calculated from the writes then? |
| 640 | } |
| 641 | else |
| 642 | { |
| 643 | m_valueresponse = 0x00600000; // wrong |
| 644 | |
| 645 | } |
| 631 | 646 | break; |
| 632 | 647 | |
| 633 | 648 | case 0x67: // used as a read address by the 68k code (related to previous uploaded values like cave?) directly reads ~0xDBE from the address.. |
| 634 | | m_valueresponse = 0x00400000; |
| 649 | if (m_value0==0x0002) |
| 650 | { |
| 651 | m_valueresponse = 0x00166178; // right for puzzli2 , wrong for puzzli2s, probably calculated from the writes then? |
| 652 | } |
| 653 | else |
| 654 | { |
| 655 | m_valueresponse = 0x00400000; // wrong |
| 656 | } |
| 635 | 657 | break; |
| 636 | 658 | |
| 637 | 659 | default: |