summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes
diff options
context:
space:
mode:
author Roberto Fresca <robbie@robertofresca.com>2021-02-16 01:53:06 +0100
committer Roberto Fresca <robbie@robertofresca.com>2021-02-16 01:53:06 +0100
commit61e0c1d4da0c146412fcde3713c760dd5a432d57 (patch)
tree7360e4153c9ded6be7776a906de3340a76195572 /src/mame/includes
parent26bf6638a994a9fd5d4c980575d1a7e0c018a51f (diff)
New working machines
-------------------- Ms PacMan Twin (Argentina) [Roberto Fresca, Mirko Buffoni, ArcadeHacker, Rick2000, ytsejam, recreativas.org]
Diffstat (limited to 'src/mame/includes')
-rw-r--r--src/mame/includes/pacman.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/mame/includes/pacman.h b/src/mame/includes/pacman.h
index dbf4ec7ef5f..29d870394d9 100644
--- a/src/mame/includes/pacman.h
+++ b/src/mame/includes/pacman.h
@@ -10,6 +10,7 @@
#include "machine/watchdog.h"
#include "sound/namco.h"
#include "emupal.h"
+#include "screen.h"
#include "tilemap.h"
/*************************************************************************
@@ -292,4 +293,38 @@ protected:
required_ioport_array<2> m_players;
};
+class mspactwin_state : public clubpacm_state
+{
+public:
+ mspactwin_state(const machine_config &mconfig, device_type type, const char *tag)
+ : clubpacm_state(mconfig, type, tag)
+ , m_screen(*this, "screen")
+ , m_decrypted_opcodes(*this, "decrypted_opcodes")
+ , m_decrypted_opcodes_mirror(*this, "decrypted_opcodes_mirror")
+ , m_decrypted_opcodes_high(*this, "decrypted_opcodes_high")
+ { }
+
+ void mspactwin(machine_config &config);
+
+ void init_mspactwin();
+
+ DECLARE_WRITE_LINE_MEMBER(flipscreen_w);
+
+private:
+ required_device<screen_device> m_screen;
+
+protected:
+
+ void mspactwin_map(address_map &map);
+ void mspactwin_decrypted_map(address_map &map);
+
+ void mspactwin_videoram_w(offs_t offset, uint8_t data);
+
+ optional_shared_ptr<uint8_t> m_decrypted_opcodes;
+ optional_shared_ptr<uint8_t> m_decrypted_opcodes_mirror;
+ optional_shared_ptr<uint8_t> m_decrypted_opcodes_high;
+
+};
+
+
#endif // MAME_INCLUDES_PACMAN_H