summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/intv/rom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/intv/rom.c')
-rw-r--r--src/devices/bus/intv/rom.c51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/devices/bus/intv/rom.c b/src/devices/bus/intv/rom.c
new file mode 100644
index 00000000000..74b5664a6fc
--- /dev/null
+++ b/src/devices/bus/intv/rom.c
@@ -0,0 +1,51 @@
+// license:BSD-3-Clause
+// copyright-holders:Fabio Priuli
+/***********************************************************************************************************
+
+
+ Mattel Intellivision cart emulation
+
+
+ ***********************************************************************************************************/
+
+
+#include "emu.h"
+#include "rom.h"
+
+
+//-------------------------------------------------
+// intv_rom_device - constructor
+//-------------------------------------------------
+
+const device_type INTV_ROM_STD = &device_creator<intv_rom_device>;
+const device_type INTV_ROM_RAM = &device_creator<intv_ram_device>;
+const device_type INTV_ROM_GFACT = &device_creator<intv_gfact_device>;
+const device_type INTV_ROM_WSMLB = &device_creator<intv_wsmlb_device>;
+
+
+intv_rom_device::intv_rom_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+ : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
+ device_intv_cart_interface( mconfig, *this )
+{
+}
+
+intv_rom_device::intv_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+ : device_t(mconfig, INTV_ROM_STD, "Intellivision Standard Carts", tag, owner, clock, "intv_rom", __FILE__),
+ device_intv_cart_interface( mconfig, *this )
+{
+}
+
+intv_ram_device::intv_ram_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+ : intv_rom_device(mconfig, INTV_ROM_RAM, "Intellivision Carts w/RAM", tag, owner, clock, "intv_ram", __FILE__)
+{
+}
+
+intv_gfact_device::intv_gfact_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+ : intv_rom_device(mconfig, INTV_ROM_GFACT, "Intellivision Game Factory Cart", tag, owner, clock, "intv_gfact", __FILE__)
+{
+}
+
+intv_wsmlb_device::intv_wsmlb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+ : intv_rom_device(mconfig, INTV_ROM_WSMLB, "Intellivision World Series Baseball Cart", tag, owner, clock, "intv_wsmlb", __FILE__)
+{
+}