summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author angelosa <salese_corp_ltd@email.it>2017-09-17 00:55:11 +0200
committer angelosa <salese_corp_ltd@email.it>2017-09-17 01:39:17 +0200
commit81939d86343c06520f34d1d93f09f40be64365cf (patch)
tree80459340ead98fd247a3fe2622db0e8aa005d650
parentc2b15cefaef64a625841d9b7dc3665b5c7cb2016 (diff)
Not a mirror (nw)
-rw-r--r--src/mame/drivers/model2.cpp5
-rw-r--r--src/mame/includes/model2.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/mame/drivers/model2.cpp b/src/mame/drivers/model2.cpp
index 3cd23bbd543..c891c52f1aa 100644
--- a/src/mame/drivers/model2.cpp
+++ b/src/mame/drivers/model2.cpp
@@ -1506,8 +1506,9 @@ static ADDRESS_MAP_START( model2_base_mem, AS_PROGRAM, 32, model2_state )
AM_RANGE(0x10000000, 0x101fffff) AM_WRITE(mode_w)
AM_RANGE(0x10400000, 0x105fffff) AM_READ(polygon_count_r)
- AM_RANGE(0x11600000, 0x1167ffff) AM_RAM AM_SHARE("share1") // framebuffer (last bronx)
- AM_RANGE(0x11680000, 0x116fffff) AM_RAM AM_SHARE("share1") // FB mirror
+ // format is xGGGGGBBBBBRRRRR (512x400)
+ AM_RANGE(0x11600000, 0x1167ffff) AM_RAM AM_SHARE("fbvram1") // framebuffer A (last bronx title screen)
+ AM_RANGE(0x11680000, 0x116fffff) AM_RAM AM_SHARE("fbvram2") // framebuffer B
ADDRESS_MAP_END
READ8_MEMBER(model2_state::virtuacop_lightgun_r)
diff --git a/src/mame/includes/model2.h b/src/mame/includes/model2.h
index 965584d8702..bca46afe77a 100644
--- a/src/mame/includes/model2.h
+++ b/src/mame/includes/model2.h
@@ -28,6 +28,8 @@ public:
m_textureram0(*this, "textureram0"),
m_textureram1(*this, "textureram1"),
m_lumaram(*this, "lumaram"),
+ m_fbvram1(*this, "fbvram1"),
+ m_fbvram2(*this, "fbvram2"),
m_soundram(*this, "soundram"),
m_tgp_program(*this, "tgp_program"),
m_tgpx4_program(*this, "tgpx4_program"),
@@ -60,6 +62,8 @@ public:
required_shared_ptr<uint32_t> m_textureram0;
required_shared_ptr<uint32_t> m_textureram1;
required_shared_ptr<uint32_t> m_lumaram;
+ required_shared_ptr<uint32_t> m_fbvram1;
+ required_shared_ptr<uint32_t> m_fbvram2;
optional_shared_ptr<uint16_t> m_soundram;
optional_shared_ptr<uint32_t> m_tgp_program;
optional_shared_ptr<uint64_t> m_tgpx4_program;