summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/goldstar.h
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2019-06-20 22:24:38 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2019-06-20 22:24:38 +0200
commit3e8d6aadc8a3b9a7efaecc852d32c3d6d833b7e5 (patch)
tree04c7cb14d69ffad53d5230cfc42051897bbcb348 /src/mame/includes/goldstar.h
parent1b6826d572a4c193254159d22d3ac1d5a2370219 (diff)
goldstar.cpp: decrypted chryangl and chryangla (nw)
chryangl gets in game but gets stuck when betting or after some time in attract mode; chryangla shows a black screen but can enter various test screens. I'm decently confident these aren't decryption issues but maybe extra protection
Diffstat (limited to 'src/mame/includes/goldstar.h')
-rw-r--r--src/mame/includes/goldstar.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mame/includes/goldstar.h b/src/mame/includes/goldstar.h
index 659daaa2616..eefc37738d4 100644
--- a/src/mame/includes/goldstar.h
+++ b/src/mame/includes/goldstar.h
@@ -26,6 +26,7 @@ public:
m_reel1_scroll(*this, "reel1_scroll"),
m_reel2_scroll(*this, "reel2_scroll"),
m_reel3_scroll(*this, "reel3_scroll"),
+ m_decrypted_opcodes(*this, "decrypted_opcodes"),
m_maincpu(*this, "maincpu"),
m_ppi(*this, "ppi8255_%u", 0U),
m_gfxdecode(*this, "gfxdecode"),
@@ -47,6 +48,7 @@ public:
DECLARE_WRITE8_MEMBER(goldstar_fa00_w);
DECLARE_WRITE8_MEMBER(ay8910_outputa_w);
DECLARE_WRITE8_MEMBER(ay8910_outputb_w);
+ void init_chryangl();
void init_goldstar();
void init_jkrmast();
void init_cmast91();
@@ -114,6 +116,8 @@ protected:
optional_shared_ptr<uint8_t> m_reel2_scroll;
optional_shared_ptr<uint8_t> m_reel3_scroll;
+ optional_shared_ptr<uint8_t> m_decrypted_opcodes;
+
tilemap_t *m_reel1_tilemap;
tilemap_t *m_reel2_tilemap;
tilemap_t *m_reel3_tilemap;
@@ -175,9 +179,12 @@ public:
void nfm(machine_config &config);
void amcoe2(machine_config &config);
void amcoe1(machine_config &config);
+ void chryangl(machine_config &config);
void amcoe1_portmap(address_map &map);
void amcoe2_portmap(address_map &map);
void cm_portmap(address_map &map);
+ void chryangl_decrypted_opcodes_map(address_map &map);
+
protected:
// installed by various driver init handlers to get stuff to work
READ8_MEMBER(fixedval09_r) { return 0x09; }
@@ -244,6 +251,7 @@ public:
void mbstar(machine_config &config);
void flam7_tw(machine_config &config);
void magodds_map(address_map &map);
+
protected:
TILE_GET_INFO_MEMBER(get_magical_fg_tile_info);
@@ -272,12 +280,16 @@ public:
void init_chry10();
void cherrys(machine_config &config);
+ void chryangla(machine_config &config);
void chrygld(machine_config &config);
void cb3c(machine_config &config);
void cb3e(machine_config &config);
void ncb3(machine_config &config);
void cm97(machine_config &config);
void ncb3_map(address_map &map);
+ void chryangla_map(address_map &map);
+ void chryangla_decrypted_opcodes_map(address_map &map);
+
protected:
void do_blockswaps(uint8_t* ROM);
void dump_to_file(uint8_t* ROM);