summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame
diff options
context:
space:
mode:
authorGravatarGravatar cracyc <cracyc@users.noreply.github.com>2020-11-23 12:10:41 -0600
committerGravatarGravatar cracyc <cracyc@users.noreply.github.com>2020-11-23 12:10:41 -0600
commit1e26666839686ec0f92bebfa7e1d06c16c86d102 (patch)
treec5ac13adb45fceb5f00a4994076bab4b13f2fa0d /src/mame
parentdc7c6cafb53cb82326d00017df133ff3c5dcb3bf (diff)
p8000_16: bring back the ram shares
Diffstat (limited to 'src/mame')
-rw-r--r--src/mame/drivers/p8k.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/drivers/p8k.cpp b/src/mame/drivers/p8k.cpp
index 2f959add48d..e6940f28eef 100644
--- a/src/mame/drivers/p8k.cpp
+++ b/src/mame/drivers/p8k.cpp
@@ -327,15 +327,16 @@ void p8k_state::init_p8k()
void p8k_state::p8k_16_memmap(address_map &map)
{
- map(0x00000, 0x03fff).rom();
- map(0x04000, 0x07fff).ram();
- map(0x08000, 0xfffff).ram();
+ map(0x00000, 0x03fff).rom().region("maincpu",0);
+ map(0x04000, 0x07fff).ram().share("share1");
+ map(0x08000, 0xfffff).ram().share("share2");
}
void p8k_state::p8k_16_datamap(address_map &map)
{
map(0x00000, 0x03fff).rom().region("maincpu",0);
- map(0x04000, 0x07fff).ram();
+ map(0x04000, 0x07fff).ram().share("share1");
+ map(0x08000, 0xfffff).ram().share("share2");
}