mirror of
https://github.com/holub/mame
synced 2025-05-25 23:35:26 +03:00
no functional changes
This commit is contained in:
parent
0646440c51
commit
ea0bdee34e
@ -96,14 +96,15 @@ void sega_315_5162_decode(running_machine *machine, const char *cputag)
|
|||||||
{
|
{
|
||||||
static const UINT8 xor_table[128] =
|
static const UINT8 xor_table[128] =
|
||||||
{
|
{
|
||||||
0x40,0x10,0x50,0x04,0x44,0x14,0x54,0x01,0x41,0x11,0x51,0x05,0x45,0x15,0x55,0x00,
|
0x40,0x10,0x50,0x04,0x44,0x14,0x54,0x01,0x41,0x11,0x51,0x05,0x45,0x15,0x55,
|
||||||
0x40,0x10,0x50,0x04,0x44,0x14,0x54,0x01,0x41,0x11,0x51,0x05,0x45,0x15,0x55,0x00,
|
0x00,0x40,0x10,0x50,0x04,0x44,0x14,0x54,0x01,0x41,0x11,0x51,0x05,0x45,0x15,0x55,
|
||||||
0x40,0x10,0x50,0x04,0x44,0x14,0x54,0x01,0x41,0x11,0x51,0x05,0x45,0x15,0x55,0x00,
|
0x00,0x40,0x10,0x50,0x04,0x44,0x14,0x54,0x01,0x41,0x11,0x51,0x05,0x45,0x15,0x55,
|
||||||
0x40,0x10,0x50,0x04,0x44,0x14,0x54,0x01,0x41,0x11,0x51,0x05,0x45,0x15,0x55,0x00,
|
0x00,0x40,0x10,0x50,0x04,0x44,0x14,0x54,0x01,0x41,0x11,0x51,0x05,0x45,0x15,0x55,
|
||||||
0x40,0x10,0x50,0x04,0x44,0x14,0x54,0x01,0x41,0x11,0x51,0x05,0x45,0x15,0x55,0x00,
|
0x00,0x40,0x10,0x50,0x04,0x44,0x14,0x54,0x01,0x41,0x11,0x51,0x05,0x45,0x15,0x55,
|
||||||
0x40,0x10,0x50,0x04,0x44,0x14,0x54,0x01,0x41,0x11,0x51,0x05,0x45,0x15,0x55,0x00,
|
0x00,0x40,0x10,0x50,0x04,0x44,0x14,0x54,0x01,0x41,0x11,0x51,0x05,0x45,0x15,0x55,
|
||||||
0x40,0x10,0x50,0x04,0x44,0x14,0x54,0x01,0x41,0x11,0x51,0x05,0x45,0x15,0x55,0x00,
|
0x00,0x40,0x10,0x50,0x04,0x44,0x14,0x54,0x01,0x41,0x11,0x51,0x05,0x45,0x15,0x55,
|
||||||
0x40,0x10,0x50,0x04,0x44,0x14,0x54,0x01,0x41,0x11,0x51,0x05,0x45,0x15,0x55,0x00,
|
0x00,0x40,0x10,0x50,0x04,0x44,0x14,0x54,0x01,0x41,0x11,0x51,0x05,0x45,0x15,0x55,
|
||||||
|
0x00,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const int swap_table[128] =
|
static const int swap_table[128] =
|
||||||
@ -128,13 +129,19 @@ void sega_315_5177_decode(running_machine *machine, const char *cputag)
|
|||||||
{
|
{
|
||||||
static const UINT8 xor_table[128] =
|
static const UINT8 xor_table[128] =
|
||||||
{
|
{
|
||||||
0x04,0x54,0x51,0x15,0x40,0x44,0x01,0x51,0x55,0x10,0x44,0x41,0x05,0x55,0x50,0x14,0x41,0x45,0x00,0x50,0x54,0x11,0x45,0x40,
|
0x04,0x54,0x51,0x15,0x40,0x44,0x01,0x51,0x55,0x10,0x44,0x41,
|
||||||
0x04,0x54,0x51,0x15,0x40,0x44,0x01,0x51,0x55,0x10,0x44,0x41,0x05,0x55,0x50,0x14,0x41,0x45,0x00,0x50,0x54,0x11,0x45,0x40,
|
0x05,0x55,0x50,0x14,0x41,0x45,0x00,0x50,0x54,0x11,0x45,0x40,
|
||||||
0x04,0x54,0x51,0x15,0x40,0x44,0x01,0x51,0x55,0x10,0x44,0x41,0x05,0x55,0x50,0x14,
|
0x04,0x54,0x51,0x15,0x40,0x44,0x01,0x51,0x55,0x10,0x44,0x41,
|
||||||
|
0x05,0x55,0x50,0x14,0x41,0x45,0x00,0x50,0x54,0x11,0x45,0x40,
|
||||||
|
0x04,0x54,0x51,0x15,0x40,0x44,0x01,0x51,0x55,0x10,0x44,0x41,
|
||||||
|
0x05,0x55,0x50,0x14,
|
||||||
|
|
||||||
0x04,0x54,0x51,0x15,0x40,0x44,0x01,0x51,0x55,0x10,0x44,0x41,0x05,0x55,0x50,0x14,0x41,0x45,0x00,0x50,0x54,0x11,0x45,0x40,
|
0x04,0x54,0x51,0x15,0x40,0x44,0x01,0x51,0x55,0x10,0x44,0x41,
|
||||||
0x04,0x54,0x51,0x15,0x40,0x44,0x01,0x51,0x55,0x10,0x44,0x41,0x05,0x55,0x50,0x14,0x41,0x45,0x00,0x50,0x54,0x11,0x45,0x40,
|
0x05,0x55,0x50,0x14,0x41,0x45,0x00,0x50,0x54,0x11,0x45,0x40,
|
||||||
0x04,0x54,0x51,0x15,0x40,0x44,0x01,0x51,0x55,0x10,0x44,0x41,0x05,0x55,0x50,0x14,
|
0x04,0x54,0x51,0x15,0x40,0x44,0x01,0x51,0x55,0x10,0x44,0x41,
|
||||||
|
0x05,0x55,0x50,0x14,0x41,0x45,0x00,0x50,0x54,0x11,0x45,0x40,
|
||||||
|
0x04,0x54,0x51,0x15,0x40,0x44,0x01,0x51,0x55,0x10,0x44,0x41,
|
||||||
|
0x05,0x55,0x50,0x14,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const int swap_table[128] =
|
static const int swap_table[128] =
|
||||||
@ -179,12 +186,20 @@ void sega_315_5178_decode(running_machine *machine, const char *cputag)
|
|||||||
{
|
{
|
||||||
static const UINT8 xor_table[128] =
|
static const UINT8 xor_table[128] =
|
||||||
{
|
{
|
||||||
0x00,0x55,0x45,0x05,0x11,0x41,0x01,0x14,0x44,0x50,0x10,0x00,0x55,0x15,0x05,0x51,0x41,0x01,0x14,0x44,0x04,0x10,0x40,0x55,0x15,0x05,0x51,0x11,
|
0x00,0x55,0x45,0x05,0x11,0x41,0x01,0x14,0x44,0x50,0x10,
|
||||||
0x01,0x54,0x44,0x04,0x10,0x40,0x00,0x15,0x45,0x51,0x11,0x01,0x54,0x14,0x04,0x50,0x40,0x00,0x15,0x45,0x05,0x11,0x41,0x54,0x14,0x04,0x50,0x10,
|
0x00,0x55,0x15,0x05,0x51,0x41,0x01,0x14,0x44,0x04,0x10,
|
||||||
|
0x40,0x55,0x15,0x05,0x51,0x11,
|
||||||
|
0x01,0x54,0x44,0x04,0x10,0x40,0x00,0x15,0x45,0x51,0x11,
|
||||||
|
0x01,0x54,0x14,0x04,0x50,0x40,0x00,0x15,0x45,0x05,0x11,
|
||||||
|
0x41,0x54,0x14,0x04,0x50,0x10,
|
||||||
0x00,0x55,0x45,0x05,0x11,0x41,0x01,0x14,
|
0x00,0x55,0x45,0x05,0x11,0x41,0x01,0x14,
|
||||||
|
|
||||||
0x00,0x55,0x45,0x05,0x11,0x41,0x01,0x14,0x44,0x50,0x10,0x00,0x55,0x15,0x05,0x51,0x41,0x01,0x14,0x44,0x04,0x10,0x40,0x55,0x15,0x05,0x51,0x11,
|
0x00,0x55,0x45,0x05,0x11,0x41,0x01,0x14,0x44,0x50,0x10,
|
||||||
0x01,0x54,0x44,0x04,0x10,0x40,0x00,0x15,0x45,0x51,0x11,0x01,0x54,0x14,0x04,0x50,0x40,0x00,0x15,0x45,0x05,0x11,0x41,0x54,0x14,0x04,0x50,0x10,
|
0x00,0x55,0x15,0x05,0x51,0x41,0x01,0x14,0x44,0x04,0x10,
|
||||||
|
0x40,0x55,0x15,0x05,0x51,0x11,
|
||||||
|
0x01,0x54,0x44,0x04,0x10,0x40,0x00,0x15,0x45,0x51,0x11,
|
||||||
|
0x01,0x54,0x14,0x04,0x50,0x40,0x00,0x15,0x45,0x05,0x11,
|
||||||
|
0x41,0x54,0x14,0x04,0x50,0x10,
|
||||||
0x00,0x55,0x45,0x05,0x11,0x41,0x01,0x14,
|
0x00,0x55,0x45,0x05,0x11,0x41,0x01,0x14,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -218,12 +233,18 @@ void sega_315_5179_decode(running_machine *machine, const char *cputag)
|
|||||||
{
|
{
|
||||||
static const UINT8 xor_table[128] =
|
static const UINT8 xor_table[128] =
|
||||||
{
|
{
|
||||||
0x00,0x45,0x41,0x14,0x10,0x55,0x51,0x01,0x04,0x40,0x45,0x11,0x14,0x50,0x00,0x05,0x41,0x44,0x10,0x15,0x51,0x54,0x04,
|
0x00,0x45,0x41,0x14,0x10,0x55,0x51,0x01,0x04,0x40,0x45,0x11,0x14,0x50,
|
||||||
0x00,0x45,0x41,0x14,0x10,0x55,0x05,0x01,0x44,0x40,0x15,0x11,0x54,0x50,0x00,0x05,0x41,0x44,0x10,0x15,0x51,0x01,0x04,
|
0x00,0x05,0x41,0x44,0x10,0x15,0x51,0x54,0x04,
|
||||||
0x40,0x45,0x11,0x14,0x50,0x55,0x05,0x01,0x44,0x40,0x15,0x11,0x54,0x04,0x00,0x45,0x41,0x14,
|
0x00,0x45,0x41,0x14,0x10,0x55,0x05,0x01,0x44,0x40,0x15,0x11,0x54,0x50,
|
||||||
0x50,0x00,0x05,0x41,0x44,0x10,0x15,0x51,0x54,0x04,0x00,0x45,0x41,0x14,0x50,0x55,0x05,0x01,0x44,0x40,0x15,0x11,0x54,
|
0x00,0x05,0x41,0x44,0x10,0x15,0x51,0x01,0x04,
|
||||||
0x50,0x00,0x05,0x41,0x44,0x10,0x55,0x51,0x01,0x04,0x40,0x45,0x11,0x14,0x50,0x55,0x05,0x01,0x44,0x40,0x15,0x51,0x54,
|
0x40,0x45,0x11,0x14,0x50,0x55,0x05,0x01,0x44,0x40,0x15,0x11,0x54,0x04,
|
||||||
0x04,0x00,0x45,0x41,0x14,0x10,0x55,0x51,0x01,0x04,0x40,0x45,0x11,0x54,0x50,0x00,0x05,0x41,
|
0x00,0x45,0x41,0x14,0x50,
|
||||||
|
0x00,0x05,0x41,0x44,0x10,0x15,0x51,0x54,0x04,
|
||||||
|
0x00,0x45,0x41,0x14,0x50,0x55,0x05,0x01,0x44,0x40,0x15,0x11,0x54,0x50,
|
||||||
|
0x00,0x05,0x41,0x44,0x10,0x55,0x51,0x01,0x04,
|
||||||
|
0x40,0x45,0x11,0x14,0x50,0x55,0x05,0x01,0x44,0x40,0x15,0x51,0x54,0x04,
|
||||||
|
0x00,0x45,0x41,0x14,0x10,0x55,0x51,0x01,0x04,
|
||||||
|
0x40,0x45,0x11,0x54,0x50,0x00,0x05,0x41,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const int swap_table[128] =
|
static const int swap_table[128] =
|
||||||
@ -253,8 +274,8 @@ void sega_315_5179_decode(running_machine *machine, const char *cputag)
|
|||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
|
||||||
These games (all 317-xxxx CPUs) use the same algorithm, but the key doesn't
|
These games (all 317-000x CPUs) use the same algorithm, but the key doesn't
|
||||||
change much - just one or two positions shift in the table.
|
change much - just a shift in the table.
|
||||||
|
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user