summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/pacman.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/pacman.cpp')
-rw-r--r--src/mame/drivers/pacman.cpp59
1 files changed, 29 insertions, 30 deletions
diff --git a/src/mame/drivers/pacman.cpp b/src/mame/drivers/pacman.cpp
index 1a3d3b12b2b..1d3473648b2 100644
--- a/src/mame/drivers/pacman.cpp
+++ b/src/mame/drivers/pacman.cpp
@@ -338,7 +338,6 @@ Boards:
#include "emu.h"
#include "includes/pacman.h"
-#include "machine/epos.h"
#include "machine/jumpshot.h"
#include "machine/pacplus.h"
@@ -1175,12 +1174,12 @@ void pacman_state::dremshpr_map(address_map &map)
}
-void pacman_state::epos_map(address_map &map)
+void epospm_state::epos_map(address_map &map)
{
map(0x0000, 0x3fff).mirror(0x8000).bankr("bank1");
- map(0x4000, 0x43ff).mirror(0xa000).ram().w(FUNC(pacman_state::pacman_videoram_w)).share("videoram");
- map(0x4400, 0x47ff).mirror(0xa000).ram().w(FUNC(pacman_state::pacman_colorram_w)).share("colorram");
- map(0x4800, 0x4bff).mirror(0xa000).r(FUNC(pacman_state::pacman_read_nop)).nopw();
+ map(0x4000, 0x43ff).mirror(0xa000).ram().w(FUNC(epospm_state::pacman_videoram_w)).share("videoram");
+ map(0x4400, 0x47ff).mirror(0xa000).ram().w(FUNC(epospm_state::pacman_colorram_w)).share("colorram");
+ map(0x4800, 0x4bff).mirror(0xa000).r(FUNC(epospm_state::pacman_read_nop)).nopw();
map(0x4c00, 0x4fef).mirror(0xa000).ram();
map(0x4ff0, 0x4fff).mirror(0xa000).ram().share("spriteram");
map(0x5000, 0x5007).mirror(0xaf38).w(m_mainlatch, FUNC(ls259_device::write_d0));
@@ -1398,10 +1397,10 @@ void pacman_state::nmouse_portmap(address_map &map)
map(0x00, 0x00).w(FUNC(pacman_state::nmouse_interrupt_vector_w));
}
-void pacman_state::epos_portmap(address_map &map)
+void epospm_state::epos_portmap(address_map &map)
{
writeport(map);
- map(0x00, 0xff).r(FUNC(pacman_state::epos_decryption_w)); /* Switch protection logic */
+ map(0x00, 0xff).r(FUNC(epospm_state::epos_decryption_w)); /* Switch protection logic */
}
void pacman_state::mschamp_portmap(address_map &map)
@@ -3687,42 +3686,42 @@ void pacman_state::dremshpr(machine_config &config)
}
-void pacman_state::theglobp(machine_config &config)
+void epospm_state::theglobp(machine_config &config)
{
pacman(config);
/* basic machine hardware */
- m_maincpu->set_addrmap(AS_PROGRAM, &pacman_state::epos_map);
- m_maincpu->set_addrmap(AS_IO, &pacman_state::epos_portmap);
+ m_maincpu->set_addrmap(AS_PROGRAM, &epospm_state::epos_map);
+ m_maincpu->set_addrmap(AS_IO, &epospm_state::epos_portmap);
- MCFG_MACHINE_START_OVERRIDE(pacman_state,theglobp)
- MCFG_MACHINE_RESET_OVERRIDE(pacman_state,theglobp)
+ MCFG_MACHINE_START_OVERRIDE(epospm_state,theglobp)
+ MCFG_MACHINE_RESET_OVERRIDE(epospm_state,theglobp)
}
-void pacman_state::acitya(machine_config &config)
+void epospm_state::acitya(machine_config &config)
{
pacman(config);
/* basic machine hardware */
- m_maincpu->set_addrmap(AS_PROGRAM, &pacman_state::epos_map);
- m_maincpu->set_addrmap(AS_IO, &pacman_state::epos_portmap);
+ m_maincpu->set_addrmap(AS_PROGRAM, &epospm_state::epos_map);
+ m_maincpu->set_addrmap(AS_IO, &epospm_state::epos_portmap);
- MCFG_MACHINE_START_OVERRIDE(pacman_state,acitya)
- MCFG_MACHINE_RESET_OVERRIDE(pacman_state,acitya)
+ MCFG_MACHINE_START_OVERRIDE(epospm_state,acitya)
+ MCFG_MACHINE_RESET_OVERRIDE(epospm_state,acitya)
}
-void pacman_state::eeekkp(machine_config &config)
+void epospm_state::eeekkp(machine_config &config)
{
pacman(config);
/* basic machine hardware */
- m_maincpu->set_addrmap(AS_PROGRAM, &pacman_state::epos_map);
- m_maincpu->set_addrmap(AS_IO, &pacman_state::epos_portmap);
+ m_maincpu->set_addrmap(AS_PROGRAM, &epospm_state::epos_map);
+ m_maincpu->set_addrmap(AS_IO, &epospm_state::epos_portmap);
- MCFG_MACHINE_START_OVERRIDE(pacman_state,eeekkp)
- MCFG_MACHINE_RESET_OVERRIDE(pacman_state,eeekkp)
+ MCFG_MACHINE_START_OVERRIDE(epospm_state,eeekkp)
+ MCFG_MACHINE_RESET_OVERRIDE(epospm_state,eeekkp)
}
@@ -7711,15 +7710,15 @@ GAME( 1983, vanvan, 0, vanvan, vanvan, pacman_state, empty_init,
GAME( 1983, vanvank, vanvan, vanvan, vanvank, pacman_state, empty_init, ROT270, "Sanritsu (Karateco license?)", "Van-Van Car (Karateco set 1)", MACHINE_SUPPORTS_SAVE ) // or bootleg?
GAME( 1983, vanvanb, vanvan, vanvan, vanvank, pacman_state, empty_init, ROT270, "Sanritsu (Karateco license?)", "Van-Van Car (Karateco set 2)", MACHINE_SUPPORTS_SAVE ) // "
-GAME( 1983, bwcasino, 0, acitya, bwcasino, pacman_state, empty_init, ROT90, "Epos Corporation", "Boardwalk Casino", MACHINE_SUPPORTS_SAVE )
-GAME( 1983, acitya, bwcasino, acitya, acitya, pacman_state, empty_init, ROT90, "Epos Corporation", "Atlantic City Action", MACHINE_SUPPORTS_SAVE )
+GAME( 1983, bwcasino, 0, acitya, bwcasino, epospm_state, empty_init, ROT90, "Epos Corporation", "Boardwalk Casino", MACHINE_SUPPORTS_SAVE )
+GAME( 1983, acitya, bwcasino, acitya, acitya, epospm_state, empty_init, ROT90, "Epos Corporation", "Atlantic City Action", MACHINE_SUPPORTS_SAVE )
-GAME( 1983, theglobp, suprglob, theglobp, theglobp, pacman_state, empty_init, ROT90, "Epos Corporation", "The Glob (Pac-Man hardware)", MACHINE_SUPPORTS_SAVE )
-GAME( 1983, sprglobp, suprglob, theglobp, theglobp, pacman_state, empty_init, ROT90, "Epos Corporation", "Super Glob (Pac-Man hardware)", MACHINE_SUPPORTS_SAVE )
-GAME( 1984, sprglbpg, suprglob, pacman, theglobp, pacman_state, empty_init, ROT90, "bootleg (Software Labor)", "Super Glob (Pac-Man hardware) (German bootleg)", MACHINE_SUPPORTS_SAVE )
-GAME( 1983, theglobme,suprglob, woodpek, theglobp, pacman_state, empty_init, ROT90, "Magic Electronics Inc.", "The Glob (Pacman hardware, Magic Electronics Inc. license)", MACHINE_SUPPORTS_SAVE )
-GAME( 1984, beastfp, suprglob, theglobp, theglobp, pacman_state, empty_init, ROT90, "Epos Corporation", "Beastie Feastie (Pac-Man conversion)", MACHINE_SUPPORTS_SAVE )
-GAME( 1984, eeekkp, eeekk, eeekkp, eeekkp, pacman_state, empty_init, ROT90, "Epos Corporation", "Eeekk! (Pac-Man conversion)", MACHINE_SUPPORTS_SAVE )
+GAME( 1983, theglobp, suprglob, theglobp, theglobp, epospm_state, empty_init, ROT90, "Epos Corporation", "The Glob (Pac-Man hardware)", MACHINE_SUPPORTS_SAVE )
+GAME( 1983, sprglobp, suprglob, theglobp, theglobp, epospm_state, empty_init, ROT90, "Epos Corporation", "Super Glob (Pac-Man hardware)", MACHINE_SUPPORTS_SAVE )
+GAME( 1984, sprglbpg, suprglob, pacman, theglobp, epospm_state, empty_init, ROT90, "bootleg (Software Labor)", "Super Glob (Pac-Man hardware) (German bootleg)", MACHINE_SUPPORTS_SAVE )
+GAME( 1983, theglobme,suprglob, woodpek, theglobp, epospm_state, empty_init, ROT90, "Magic Electronics Inc.", "The Glob (Pacman hardware, Magic Electronics Inc. license)", MACHINE_SUPPORTS_SAVE )
+GAME( 1984, beastfp, suprglob, theglobp, theglobp, epospm_state, empty_init, ROT90, "Epos Corporation", "Beastie Feastie (Pac-Man conversion)", MACHINE_SUPPORTS_SAVE )
+GAME( 1984, eeekkp, eeekk, eeekkp, eeekkp, epospm_state, empty_init, ROT90, "Epos Corporation", "Eeekk! (Pac-Man conversion)", MACHINE_SUPPORTS_SAVE )
GAME( 1984, drivfrcp, 0, drivfrcp, drivfrcp, pacman_state, init_drivfrcp, ROT90, "Shinkai Inc. (Magic Electronics Inc. license)", "Driving Force (Pac-Man conversion)", MACHINE_SUPPORTS_SAVE )