Previous 199869 Revisions Next

r24666 Friday 2nd August, 2013 at 17:27:53 UTC by David Haywood
attempting to improve the accuracy of the table by validating the data (nw)
[src/mame/machine]pgmprot_igs027a_type1.c

trunk/src/mame/machine/pgmprot_igs027a_type1.c
r24665r24666
5795790x03, 0x0b, 0xbb, 0xc1, 0xe2, 0x4c, 0x04, 0xc5, 0x8c, 0x09, 0x0e, 0xbf, 0x62, 0x48, 0x75, 0x59,
5805800x1d, 0x80, 0xdf, 0x60, 0x07, 0xe2, 0x1b, 0x67, 0xa5, 0xbf, 0xcd, 0x86, 0xdc, 0xc3, 0x6a, 0x4e,
5815810xd0, 0xfc, 0xd5, 0x3f, 0x98, 0x96, 0x2e, 0x4c, 0xb3, 0xea, 0x2d, 0x75, 0xe6, 0xc0, 0x6c, 0x69,
5820x9b, 0xb7, 0x43, 0x8b, 0x41, 0x47, 0x02, 0xda, 0x98, 0x3d, 0xa3, 0x79, 0x10, 0x4f, 0xb4, 0x55,
5820x9b, 0xb7, 0x43, 0x8b, 0x41, 0x47, 0x02, 0xda, 0x98, 0x3d, 0xa3, 0x79, 0x50, 0x4f, 0xb4, 0x55,
5835830x5a, 0x25, 0xf4, 0xc8, 0x58, 0x30, 0xc4, 0x12, 0xa9, 0x45, 0xda, 0x91, 0xa4, 0xaa, 0xfc, 0x84,
5845840xfa, 0x88, 0x06, 0xce, 0xfe, 0x32, 0xd5, 0x28, 0x1d, 0x19, 0x4b, 0xb1, 0x83, 0xf2, 0x72, 0x26,
585585};
r24665r24666
18221822   m_maincpu->space(AS_PROGRAM).install_read_handler(0x4f0000, 0x4f003f, read16_delegate(FUNC(pgm_arm_type1_state::pgm_arm7_type1_sim_protram_r),this));
18231823   m_irq4_disabled = 1; // // doesn't like this irq??
18241824
1825
1825//#define PUZZLI2_LEVEL_STRUCTURE_LOG
18261826#ifdef PUZZLI2_LEVEL_STRUCTURE_LOG
18271827   UINT8 *src2 = (UINT8 *) (machine().root_device().memregion("maincpu")->base());
18281828
r24665r24666
19081908               {
19091909                  // for 0 entries skip back to state 1 instead of 3, because there is nothing following
19101910                  stage = 1;
1911                  currentcolumn++;
19111912               }
19121913
19131914            }
r24665r24666
19321933         printf("last (pre-decrypted) byte in stream was %02x if this is 00 we're probably ok\n", lastbyte);
19331934      }
19341935
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
19351941      printf("\n");
19361942
19371943   }

Previous 199869 Revisions Next


© 1997-2024 The MAME Team