summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/gaelco2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/gaelco2.cpp')
-rw-r--r--src/mame/machine/gaelco2.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/mame/machine/gaelco2.cpp b/src/mame/machine/gaelco2.cpp
index 2f35a40aa3a..e19392a0062 100644
--- a/src/mame/machine/gaelco2.cpp
+++ b/src/mame/machine/gaelco2.cpp
@@ -136,6 +136,29 @@ DRIVER_INIT_MEMBER(gaelco2_state,snowboar)
}
+DRIVER_INIT_MEMBER(gaelco2_state,wrally2)
+{
+ /*
+ For "gfx2" we have this memory map:
+ 0x0000000-0x03fffff ROM wr2_ic69.ic69
+ 0x0400000-0x05fffff ROM wr2_ic70.ic70
+ 0x0600000-0x07fffff ROM_FILL 00
+
+ and we are going to construct this one for "gfx1":
+ 0x0000000-0x01fffff ROM wr2_ic69.ic69 even bytes
+ 0x0200000-0x03fffff ROM wr2_ic69.ic69 odd bytes
+ 0x0400000-0x04fffff ROM wr2_ic70.ic70 even bytes
+ 0x0600000-0x06fffff ROM wr2_ic70.ic70 odd bytes
+ */
+
+ /* split ROM wr2_ic69.ic69 */
+ gaelco2_ROM16_split_gfx("gfx2", "gfx1", 0x0000000, 0x0400000, 0x0000000, 0x0200000);
+
+ /* split ROM wr2_ic70.ic70 */
+ gaelco2_ROM16_split_gfx("gfx2", "gfx1", 0x0400000, 0x0200000, 0x0400000, 0x0600000);
+}
+
+
/***************************************************************************
MCU communication