trunk/src/mame/machine/pgmprot_igs027a_type1.c
| r24665 | r24666 | |
| 579 | 579 | 0x03, 0x0b, 0xbb, 0xc1, 0xe2, 0x4c, 0x04, 0xc5, 0x8c, 0x09, 0x0e, 0xbf, 0x62, 0x48, 0x75, 0x59, |
| 580 | 580 | 0x1d, 0x80, 0xdf, 0x60, 0x07, 0xe2, 0x1b, 0x67, 0xa5, 0xbf, 0xcd, 0x86, 0xdc, 0xc3, 0x6a, 0x4e, |
| 581 | 581 | 0xd0, 0xfc, 0xd5, 0x3f, 0x98, 0x96, 0x2e, 0x4c, 0xb3, 0xea, 0x2d, 0x75, 0xe6, 0xc0, 0x6c, 0x69, |
| 582 | | 0x9b, 0xb7, 0x43, 0x8b, 0x41, 0x47, 0x02, 0xda, 0x98, 0x3d, 0xa3, 0x79, 0x10, 0x4f, 0xb4, 0x55, |
| 582 | 0x9b, 0xb7, 0x43, 0x8b, 0x41, 0x47, 0x02, 0xda, 0x98, 0x3d, 0xa3, 0x79, 0x50, 0x4f, 0xb4, 0x55, |
| 583 | 583 | 0x5a, 0x25, 0xf4, 0xc8, 0x58, 0x30, 0xc4, 0x12, 0xa9, 0x45, 0xda, 0x91, 0xa4, 0xaa, 0xfc, 0x84, |
| 584 | 584 | 0xfa, 0x88, 0x06, 0xce, 0xfe, 0x32, 0xd5, 0x28, 0x1d, 0x19, 0x4b, 0xb1, 0x83, 0xf2, 0x72, 0x26, |
| 585 | 585 | }; |
| r24665 | r24666 | |
| 1822 | 1822 | m_maincpu->space(AS_PROGRAM).install_read_handler(0x4f0000, 0x4f003f, read16_delegate(FUNC(pgm_arm_type1_state::pgm_arm7_type1_sim_protram_r),this)); |
| 1823 | 1823 | m_irq4_disabled = 1; // // doesn't like this irq?? |
| 1824 | 1824 | |
| 1825 | | |
| 1825 | //#define PUZZLI2_LEVEL_STRUCTURE_LOG |
| 1826 | 1826 | #ifdef PUZZLI2_LEVEL_STRUCTURE_LOG |
| 1827 | 1827 | UINT8 *src2 = (UINT8 *) (machine().root_device().memregion("maincpu")->base()); |
| 1828 | 1828 | |
| r24665 | r24666 | |
| 1908 | 1908 | { |
| 1909 | 1909 | // for 0 entries skip back to state 1 instead of 3, because there is nothing following |
| 1910 | 1910 | stage = 1; |
| 1911 | currentcolumn++; |
| 1911 | 1912 | } |
| 1912 | 1913 | |
| 1913 | 1914 | } |
| r24665 | r24666 | |
| 1932 | 1933 | printf("last (pre-decrypted) byte in stream was %02x if this is 00 we're probably ok\n", lastbyte); |
| 1933 | 1934 | } |
| 1934 | 1935 | |
| 1936 | printf("total number of valid columns was %02x\n", currentcolumn); |
| 1937 | |
| 1938 | if ((currentcolumn!=0x6) && (currentcolumn!=0x7) && (currentcolumn!=0x8) && (currentcolumn!=0x5)) // 5 is suspicious |
| 1939 | fatalerror("invalid number of columns?\n"); |
| 1940 | |
| 1935 | 1941 | printf("\n"); |
| 1936 | 1942 | |
| 1937 | 1943 | } |