diff options
Diffstat (limited to 'src/emu/bus/intv/rom.c')
-rw-r--r-- | src/emu/bus/intv/rom.c | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/src/emu/bus/intv/rom.c b/src/emu/bus/intv/rom.c new file mode 100644 index 00000000000..6bc190f4a83 --- /dev/null +++ b/src/emu/bus/intv/rom.c @@ -0,0 +1,50 @@ +/*********************************************************************************************************** + + + 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__) +{ +} + |