summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/nb1412m2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/nb1412m2.cpp')
-rw-r--r--src/mame/machine/nb1412m2.cpp60
1 files changed, 30 insertions, 30 deletions
diff --git a/src/mame/machine/nb1412m2.cpp b/src/mame/machine/nb1412m2.cpp
index 047e9e2eda9..3e1c3ba3c84 100644
--- a/src/mame/machine/nb1412m2.cpp
+++ b/src/mame/machine/nb1412m2.cpp
@@ -7,51 +7,51 @@ Nichibutsu 1412M2 device emulation
Written by Angelo Salese
Fancy data decrypter + timer + ?
-Most creative usage is hooked up in Mighty Guy sound CPU,
-other games just uses it as a much simpler protection chip providing code
+Most creative usage is hooked up in Mighty Guy sound CPU,
+other games just uses it as a much simpler protection chip providing code
snippets.
-It is unknown at current stage if inside the chip there's a MCU
+It is unknown at current stage if inside the chip there's a MCU
(with internal ROM).
TODO:
-- understand how Mighty Guy decrypts data (uses port adjuster in a
+- understand how Mighty Guy decrypts data (uses port adjuster in a
different way than the other games);
Legacy notes from drivers:
-- m_mAmazonProtReg[4] bit 0 used on hiscore data (clear on code),
- 0x29f vs 0x29e (not an offset?)
+- m_mAmazonProtReg[4] bit 0 used on hiscore data (clear on code),
+ 0x29f vs 0x29e (not an offset?)
- static const uint16_t mAmazonProtData[] =
{
- 0x0000,0x5000,0x5341,0x4b45,0x5349,0x4755,0x5245, <- default high scores (0x40db4) - wrong data ?
- 0x0000,0x4000,0x0e4b,0x4154,0x5544,0x4f4e,0x0e0e,
- 0x0000,0x3000,0x414e,0x4b41,0x4b45,0x5544,0x4f4e,
- 0x0000,0x2000,0x0e0e,0x4b49,0x5455,0x4e45,0x0e0e,
- 0x0000,0x1000,0x0e4b,0x414b,0x4553,0x4f42,0x410e,
-
- 0x4ef9,0x0000,0x62fa,0x0000,0x4ef9,0x0000,0x805E,0x0000, <- code (0x40d92)
- 0xc800 <- checksum
+ 0x0000,0x5000,0x5341,0x4b45,0x5349,0x4755,0x5245, <- default high scores (0x40db4) - wrong data ?
+ 0x0000,0x4000,0x0e4b,0x4154,0x5544,0x4f4e,0x0e0e,
+ 0x0000,0x3000,0x414e,0x4b41,0x4b45,0x5544,0x4f4e,
+ 0x0000,0x2000,0x0e0e,0x4b49,0x5455,0x4e45,0x0e0e,
+ 0x0000,0x1000,0x0e4b,0x414b,0x4553,0x4f42,0x410e,
+
+ 0x4ef9,0x0000,0x62fa,0x0000,0x4ef9,0x0000,0x805E,0x0000, <- code (0x40d92)
+ 0xc800 <- checksum
};
- static const uint16_t mAmatelasProtData[] =
{
- 0x0000,0x5000,0x5341,0x4b45,0x5349,0x4755,0x5245, <- default high scores (0x40db4)
- 0x0000,0x4000,0x0e4b,0x4154,0x5544,0x4f4e,0x0e0e,
- 0x0000,0x3000,0x414e,0x4b41,0x4b45,0x5544,0x4f4e,
- 0x0000,0x2000,0x0e0e,0x4b49,0x5455,0x4e45,0x0e0e,
- 0x0000,0x1000,0x0e4b,0x414b,0x4553,0x4f42,0x410e,
- 0x4ef9,0x0000,0x632e,0x0000,0x4ef9,0x0000,0x80C2,0x0000, <- code (0x40d92)
- 0x6100 <- checksum
+ 0x0000,0x5000,0x5341,0x4b45,0x5349,0x4755,0x5245, <- default high scores (0x40db4)
+ 0x0000,0x4000,0x0e4b,0x4154,0x5544,0x4f4e,0x0e0e,
+ 0x0000,0x3000,0x414e,0x4b41,0x4b45,0x5544,0x4f4e,
+ 0x0000,0x2000,0x0e0e,0x4b49,0x5455,0x4e45,0x0e0e,
+ 0x0000,0x1000,0x0e4b,0x414b,0x4553,0x4f42,0x410e,
+ 0x4ef9,0x0000,0x632e,0x0000,0x4ef9,0x0000,0x80C2,0x0000, <- code (0x40d92)
+ 0x6100 <- checksum
};
- static const uint16_t mHoreKidProtData[] =
{
- 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, <- N/A
- 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
- 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
- 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
- 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
- 0x4e75,0x4e75,0x4e75,0x4e75,0x4e75,0x4e75,0x4e75,0x4e75, <- code (0x40dba) It actually never jumps there?
- 0x1800 <- checksum
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, <- N/A
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
+ 0x4e75,0x4e75,0x4e75,0x4e75,0x4e75,0x4e75,0x4e75,0x4e75, <- code (0x40dba) It actually never jumps there?
+ 0x1800 <- checksum
};
-
+
***************************************************************************/
#include "emu.h"
@@ -117,7 +117,7 @@ READ8_MEMBER( nb1412m2_device::data_r )
return m_data[m_rom_address & 0x1fff] - prot_adj;
}
-
+
return 0;
}