diff --git a/.gitattributes b/.gitattributes index 60f385af576..d619cc3a00c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2584,8 +2584,6 @@ src/emu/image.c svneol=native#text/plain src/emu/image.h svneol=native#text/plain src/emu/imagedev/bitbngr.c svneol=native#text/plain src/emu/imagedev/bitbngr.h svneol=native#text/plain -src/emu/imagedev/cartslot.c svneol=native#text/plain -src/emu/imagedev/cartslot.h svneol=native#text/plain src/emu/imagedev/cassette.c svneol=native#text/plain src/emu/imagedev/cassette.h svneol=native#text/plain src/emu/imagedev/chd_cd.c svneol=native#text/plain diff --git a/src/emu/bus/c64/ross.h b/src/emu/bus/c64/ross.h index 5d95cc2396f..1697fad4885 100644 --- a/src/emu/bus/c64/ross.h +++ b/src/emu/bus/c64/ross.h @@ -16,7 +16,6 @@ #include "emu.h" -#include "imagedev/cartslot.h" #include "exp.h" diff --git a/src/emu/bus/c64/std.h b/src/emu/bus/c64/std.h index 70c0e37f3b4..7abb8e2ea6e 100644 --- a/src/emu/bus/c64/std.h +++ b/src/emu/bus/c64/std.h @@ -16,7 +16,6 @@ #include "emu.h" -#include "imagedev/cartslot.h" #include "exp.h" diff --git a/src/emu/bus/c64/structured_basic.h b/src/emu/bus/c64/structured_basic.h index 089298b7980..e6b419dd596 100644 --- a/src/emu/bus/c64/structured_basic.h +++ b/src/emu/bus/c64/structured_basic.h @@ -16,7 +16,6 @@ #include "emu.h" -#include "imagedev/cartslot.h" #include "exp.h" diff --git a/src/emu/bus/cbm2/std.h b/src/emu/bus/cbm2/std.h index 45534b54530..8c2106fd8b1 100644 --- a/src/emu/bus/cbm2/std.h +++ b/src/emu/bus/cbm2/std.h @@ -16,7 +16,6 @@ #include "emu.h" #include "exp.h" -#include "imagedev/cartslot.h" diff --git a/src/emu/bus/coco/coco_pak.c b/src/emu/bus/coco/coco_pak.c index f106d7617cc..6a381568322 100644 --- a/src/emu/bus/coco/coco_pak.c +++ b/src/emu/bus/coco/coco_pak.c @@ -9,7 +9,6 @@ #include "emu.h" #include "coco_pak.h" #include "includes/coco.h" -#include "imagedev/cartslot.h" #define CARTSLOT_TAG "cart" @@ -21,8 +20,8 @@ static MACHINE_CONFIG_FRAGMENT(coco_pak) MACHINE_CONFIG_END ROM_START( coco_pak ) - ROM_REGION(0x8000,CARTSLOT_TAG,ROMREGION_ERASE00) - ROM_CART_LOAD(CARTSLOT_TAG, 0x0000, 0x8000, ROM_OPTIONAL | ROM_MIRROR) + ROM_REGION(0x8000, CARTSLOT_TAG, ROMREGION_ERASE00) + // this region is filled by cococart_slot_device::call_load() ROM_END //************************************************************************** diff --git a/src/emu/bus/plus4/std.h b/src/emu/bus/plus4/std.h index 99d57227f42..1bb7d440bb3 100644 --- a/src/emu/bus/plus4/std.h +++ b/src/emu/bus/plus4/std.h @@ -16,7 +16,6 @@ #include "emu.h" #include "exp.h" -#include "imagedev/cartslot.h" diff --git a/src/emu/bus/vc4000/slot.c b/src/emu/bus/vc4000/slot.c index 9812a235489..065408b9430 100644 --- a/src/emu/bus/vc4000/slot.c +++ b/src/emu/bus/vc4000/slot.c @@ -16,7 +16,7 @@ const device_type VC4000_CART_SLOT = &device_creator; //************************************************************************** -// APF Cartridges Interface +// VC4000 Cartridges Interface //************************************************************************** //------------------------------------------------- @@ -112,7 +112,7 @@ void vc4000_cart_slot_device::device_config_complete() //------------------------------------------------- -// APF PCB +// VC4000 PCB //------------------------------------------------- struct vc4000_slot diff --git a/src/emu/emu.mak b/src/emu/emu.mak index 1ea93112a57..1d7ee55c4aa 100644 --- a/src/emu/emu.mak +++ b/src/emu/emu.mak @@ -178,7 +178,6 @@ EMUMACHINEOBJS = \ EMUIMAGEDEVOBJS = \ $(EMUIMAGEDEV)/bitbngr.o \ - $(EMUIMAGEDEV)/cartslot.o \ $(EMUIMAGEDEV)/cassette.o \ $(EMUIMAGEDEV)/chd_cd.o \ $(EMUIMAGEDEV)/diablo.o \ diff --git a/src/emu/imagedev/cartslot.c b/src/emu/imagedev/cartslot.c deleted file mode 100644 index 51daf166adb..00000000000 --- a/src/emu/imagedev/cartslot.c +++ /dev/null @@ -1,236 +0,0 @@ -/********************************************************************** - - cartslot.c - - Cartridge device - -**********************************************************************/ - -#include -#include "emu.h" -#include "cartslot.h" - - -// device type definition -const device_type CARTSLOT = &device_creator; - -//------------------------------------------------- -// cartslot_image_device - constructor -//------------------------------------------------- - -cartslot_image_device::cartslot_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, CARTSLOT, "Cartslot", tag, owner, clock, "cartslot_image", __FILE__), - device_image_interface(mconfig, *this), - m_extensions("bin"), - m_interface(NULL), - m_must_be_loaded(0), - m_device_image_partialhash(NULL) -{ -} - -//------------------------------------------------- -// cartslot_image_device - destructor -//------------------------------------------------- - -cartslot_image_device::~cartslot_image_device() -{ -} - -//------------------------------------------------- -// device_config_complete - perform any -// operations now that the configuration is -// complete -//------------------------------------------------- - -void cartslot_image_device::device_config_complete() -{ - // set brief and instance name - update_names(); -} - -/*************************************************************************** - IMPLEMENTATION -***************************************************************************/ - -/*------------------------------------------------- - load_cartridge --------------------------------------------------*/ - -int cartslot_image_device::load_cartridge(const rom_entry *romrgn, const rom_entry *roment, bool load) -{ - const char *region; - const char *type; - UINT32 flags; - offs_t offset, size, read_length, pos = 0, len; - UINT8 *ptr; - UINT8 clear_val; - int datawidth, littleendian, i, j; - device_t *cpu; - - astring regiontag; - device().siblingtag(regiontag, ROMREGION_GETTAG(romrgn)); - region = regiontag.cstr(); - offset = ROM_GETOFFSET(roment); - size = ROM_GETLENGTH(roment); - flags = ROM_GETFLAGS(roment); - ptr = ((UINT8 *) device().machine().root_device().memregion(region)->base()) + offset; - - if (load) - { - if (software_entry() == NULL) - { - /* must this be full size */ - if (flags & ROM_FULLSIZE) - { - if (length() != size) - return IMAGE_INIT_FAIL; - } - - /* read the ROM */ - pos = read_length = fread(ptr, size); - - /* reset the ROM to the initial point. */ - /* eventually, we could add a flag to allow the ROM to continue instead of restarting whenever a new cart region is present */ - fseek(0, SEEK_SET); - } - else - { - /* must this be full size */ - if (flags & ROM_FULLSIZE) - { - if (get_software_region_length("rom") != size) - return IMAGE_INIT_FAIL; - } - - /* read the ROM */ - pos = read_length = get_software_region_length("rom"); - memcpy(ptr, get_software_region("rom"), read_length); - } - - /* do we need to mirror the ROM? */ - if (flags & ROM_MIRROR) - { - while(pos < size) - { - len = MIN(read_length, size - pos); - memcpy(ptr + pos, ptr, len); - pos += len; - } - } - - /* postprocess this region */ - type = regiontag.cstr(); - littleendian = ROMREGION_ISLITTLEENDIAN(romrgn); - datawidth = ROMREGION_GETWIDTH(romrgn) / 8; - - /* if the region is inverted, do that now */ - device_memory_interface *memory; - cpu = device().machine().device(type); - if (cpu!=NULL && cpu->interface(memory)) - { - datawidth = cpu->memory().space_config(AS_PROGRAM)->m_databus_width / 8; - littleendian = (cpu->memory().space_config()->m_endianness == ENDIANNESS_LITTLE); - } - - /* swap the endianness if we need to */ -#ifdef LSB_FIRST - if (datawidth > 1 && !littleendian) -#else - if (datawidth > 1 && littleendian) -#endif - { - for (i = 0; i < size; i += datawidth) - { - UINT8 temp[8]; - memcpy(temp, &ptr[i], datawidth); - for (j = datawidth - 1; j >= 0; j--) - ptr[i + j] = temp[datawidth - 1 - j]; - } - } - } - - /* clear out anything that remains */ - if (!(flags & ROM_NOCLEAR)) - { - clear_val = (flags & ROM_FILL_FF) ? 0xFF : 0x00; - memset(ptr + pos, clear_val, size - pos); - } - return IMAGE_INIT_PASS; -} - - - -/*------------------------------------------------- - process_cartridge --------------------------------------------------*/ - -int cartslot_image_device::process_cartridge(bool load) -{ - const rom_entry *romrgn, *roment; - int result = 0; - - device_iterator deviter(device().mconfig().root_device()); - for (device_t *device = deviter.first(); device != NULL; device = deviter.next()) - for (romrgn = rom_first_region(*device); romrgn != NULL; romrgn = rom_next_region(romrgn)) - { - roment = romrgn + 1; - while(!ROMENTRY_ISREGIONEND(roment)) - { - if (ROMENTRY_GETTYPE(roment) == ROMENTRYTYPE_CARTRIDGE) - { - astring regiontag; - this->device().siblingtag(regiontag, roment->_hashdata); - - if (strcmp(regiontag.cstr(),this->device().tag())==0) - { - result |= load_cartridge(romrgn, roment, load); - - /* if loading failed in any cart region, stop loading */ - if (result) - return result; - } - } - roment++; - } - } - - return IMAGE_INIT_PASS; -} - -//------------------------------------------------- -// device_start - device-specific startup -//------------------------------------------------- - -void cartslot_image_device::device_start() -{ -} - - -/*------------------------------------------------- - call_load --------------------------------------------------*/ - -bool cartslot_image_device::call_load() -{ - /* if this cartridge has a custom DEVICE_IMAGE_LOAD, use it */ - if (!m_device_image_load.isnull()) - return m_device_image_load(*this); - - /* otherwise try the normal route */ - return process_cartridge(true); -} - - -/*------------------------------------------------- - call_unload --------------------------------------------------*/ -void cartslot_image_device::call_unload() -{ - /* if this cartridge has a custom DEVICE_IMAGE_UNLOAD, use it */ - if (!m_device_image_unload.isnull()) - { - m_device_image_unload(*this); - return; - } - process_cartridge(false); -} diff --git a/src/emu/imagedev/cartslot.h b/src/emu/imagedev/cartslot.h deleted file mode 100644 index d4b5b0322d1..00000000000 --- a/src/emu/imagedev/cartslot.h +++ /dev/null @@ -1,113 +0,0 @@ -/*************************************************************************** - - Cartrige loading - -***************************************************************************/ - -#ifndef __CARTSLOT_H__ -#define __CARTSLOT_H__ - - - -/*************************************************************************** - MACROS -***************************************************************************/ -#define ROM_CART_LOAD(tag,offset,length,flags) \ - { NULL, tag, offset, length, ROMENTRYTYPE_CARTRIDGE | (flags) }, - -#define ROM_MIRROR 0x01000000 -#define ROM_NOMIRROR 0x00000000 -#define ROM_FULLSIZE 0x02000000 -#define ROM_FILL_FF 0x04000000 -#define ROM_NOCLEAR 0x08000000 - -/*************************************************************************** - TYPE DEFINITIONS -***************************************************************************/ - -// ======================> cartslot_image_device - -class cartslot_image_device : public device_t, - public device_image_interface -{ -public: - // construction/destruction - cartslot_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - virtual ~cartslot_image_device(); - - static void static_set_device_load(device_t &device, device_image_load_delegate callback) { downcast(device).m_device_image_load = callback; } - static void static_set_device_unload(device_t &device, device_image_func_delegate callback) { downcast(device).m_device_image_unload = callback; } - static void static_set_partialhash(device_t &device, device_image_partialhash_func callback) { downcast(device).m_device_image_partialhash = callback; } - - static void static_set_extensions(device_t &device, const char *_extensions) { downcast(device).m_extensions = _extensions; } - static void static_set_interface(device_t &device, const char *_interface) { downcast(device).m_interface = _interface; } - static void static_set_must_be_loaded(device_t &device, bool _must_be_loaded) { downcast(device).m_must_be_loaded = _must_be_loaded; } - - // image-level overrides - virtual bool call_load(); - virtual void call_unload(); - virtual bool call_softlist_load(software_list_device &swlist, const char *swname, const rom_entry *start_entry) { load_software_part_region( *this, swlist, swname, start_entry ); return TRUE; } - virtual device_image_partialhash_func get_partial_hash() const { return m_device_image_partialhash; } - - virtual iodevice_t image_type() const { return IO_CARTSLOT; } - - virtual bool is_readable() const { return 1; } - virtual bool is_writeable() const { return 0; } - virtual bool is_creatable() const { return 0; } - virtual bool must_be_loaded() const { return m_must_be_loaded; } - virtual bool is_reset_on_load() const { return 1; } - virtual const char *image_interface() const { return m_interface; } - virtual const char *file_extensions() const { return m_extensions; } - virtual const option_guide *create_option_guide() const { return NULL; } - -protected: - // device-level overrides - virtual void device_config_complete(); - virtual void device_start(); - - int load_cartridge(const rom_entry *romrgn, const rom_entry *roment, bool load); - int process_cartridge(bool load); - - - const char * m_extensions; - const char * m_interface; - bool m_must_be_loaded; - device_image_load_delegate m_device_image_load; - device_image_func_delegate m_device_image_unload; - device_image_partialhash_func m_device_image_partialhash; -}; - -// device type definition -extern const device_type CARTSLOT; - -/*************************************************************************** - DEVICE CONFIGURATION MACROS -***************************************************************************/ - -#define MCFG_CARTSLOT_ADD(_tag) \ - MCFG_DEVICE_ADD(_tag, CARTSLOT, 0) -#define MCFG_CARTSLOT_MODIFY(_tag) \ - MCFG_DEVICE_MODIFY(_tag) - -#define MCFG_CARTSLOT_EXTENSION_LIST(_extensions) \ - cartslot_image_device::static_set_extensions(*device, _extensions); - -#define MCFG_CARTSLOT_INTERFACE(_interface) \ - cartslot_image_device::static_set_interface(*device, _interface); - -#define MCFG_CARTSLOT_NOT_MANDATORY \ - cartslot_image_device::static_set_must_be_loaded(*device, FALSE); - -#define MCFG_CARTSLOT_MANDATORY \ - cartslot_image_device::static_set_must_be_loaded(*device, TRUE); - -#define MCFG_CARTSLOT_LOAD(_class,_method) \ - cartslot_image_device::static_set_device_load(*device, device_image_load_delegate(&DEVICE_IMAGE_LOAD_NAME(_class,_method), #_class "::device_image_load_" #_method, downcast<_class *>(owner))); - -#define MCFG_CARTSLOT_UNLOAD(_class,_method) \ - cartslot_image_device::static_set_device_unload(*device, device_image_func_delegate(&DEVICE_IMAGE_UNLOAD_NAME(_class,_method), #_class "::device_image_unload_" #_method, downcast<_class *>(owner))); - -#define MCFG_CARTSLOT_PARTIALHASH(_partialhash) \ - cartslot_image_device::static_set_partialhash(*device, _partialhash); - -#endif /* __CARTSLOT_H__ */ diff --git a/src/mame/drivers/famibox.c b/src/mame/drivers/famibox.c index 4b77e8eb556..727b54a7f4c 100644 --- a/src/mame/drivers/famibox.c +++ b/src/mame/drivers/famibox.c @@ -60,7 +60,6 @@ Notes/ToDo: #include "emu.h" #include "video/ppu2c0x.h" #include "cpu/m6502/n2a03.h" -#include "imagedev/cartslot.h" #include "sound/nes_apu.h" #include "sound/dac.h" #include "debugger.h" diff --git a/src/mame/drivers/neogeo.c b/src/mame/drivers/neogeo.c index c212572bc8e..de21769c8b8 100644 --- a/src/mame/drivers/neogeo.c +++ b/src/mame/drivers/neogeo.c @@ -442,7 +442,6 @@ #include "machine/nvram.h" #include "cpu/z80/z80.h" #include "sound/2610intf.h" -#include "imagedev/cartslot.h" #include "neogeo.lh" diff --git a/src/mess/drivers/atm.c b/src/mess/drivers/atm.c index 361e89c8281..06941fb001d 100644 --- a/src/mess/drivers/atm.c +++ b/src/mess/drivers/atm.c @@ -12,7 +12,6 @@ computer to boot up (with keyboard problems). #include "emu.h" #include "includes/spectrum.h" #include "imagedev/snapquik.h" -#include "imagedev/cartslot.h" #include "imagedev/cassette.h" #include "sound/ay8910.h" #include "sound/speaker.h" diff --git a/src/mess/drivers/bbc.c b/src/mess/drivers/bbc.c index f357f2e364f..81218455d69 100644 --- a/src/mess/drivers/bbc.c +++ b/src/mess/drivers/bbc.c @@ -56,7 +56,6 @@ /* Devices */ #include "imagedev/flopdrv.h" #include "formats/basicdsk.h" -#include "imagedev/cartslot.h" #include "imagedev/cassette.h" #include "formats/uef_cas.h" #include "formats/csw_cas.h" diff --git a/src/mess/drivers/c128.c b/src/mess/drivers/c128.c index abc5d328757..1d46c03f87e 100644 --- a/src/mess/drivers/c128.c +++ b/src/mess/drivers/c128.c @@ -13,7 +13,6 @@ #include "bus/cbmiec/c1581.h" #include "cpu/z80/z80.h" #include "machine/cbm_snqk.h" -#include "imagedev/cartslot.h" #include "sound/dac.h" diff --git a/src/mess/drivers/cgenie.c b/src/mess/drivers/cgenie.c index 00dd1700e27..7e2422f466f 100644 --- a/src/mess/drivers/cgenie.c +++ b/src/mess/drivers/cgenie.c @@ -31,7 +31,6 @@ NMI #include "includes/cgenie.h" #include "imagedev/flopdrv.h" #include "formats/basicdsk.h" -#include "imagedev/cartslot.h" #include "imagedev/cassette.h" #include "sound/ay8910.h" #include "sound/dac.h" diff --git a/src/mess/drivers/comquest.c b/src/mess/drivers/comquest.c index 98ab322f274..6a2652344b3 100644 --- a/src/mess/drivers/comquest.c +++ b/src/mess/drivers/comquest.c @@ -42,7 +42,6 @@ icq3250a-d #include "emu.h" #include "cpu/m6805/m6805.h" #include "includes/comquest.h" -#include "imagedev/cartslot.h" #ifdef UNUSED_FUNCTION READ8_MEMBER(comquest_state::comquest_read) diff --git a/src/mess/drivers/megadriv.c b/src/mess/drivers/megadriv.c index 0527f2345d0..6758b97fc10 100644 --- a/src/mess/drivers/megadriv.c +++ b/src/mess/drivers/megadriv.c @@ -655,7 +655,6 @@ MACHINE_CONFIG_END ROM_LOAD( "32x_g_bios.bin", 0x000000, 0x000100, CRC(5c12eae8) SHA1(dbebd76a448447cb6e524ac3cb0fd19fc065d944) ) \ ROM_REGION16_BE( 0x400000, "maincpu", ROMREGION_ERASE00 ) \ /* temp, rom should only be visible here when one of the regs is set, tempo needs it */ \ - /* ROM_CART_LOAD("cart", 0x000000, 0x400000, ROM_NOMIRROR) */ \ ROM_COPY( "32x_68k_bios", 0x0, 0x0, 0x100) \ ROM_REGION32_BE( 0x400000, "master", 0 ) /* SH2 Code */ \ ROM_SYSTEM_BIOS( 0, "retail", "Mars Version 1.0 (retail)" ) \ diff --git a/src/mess/drivers/mikro80.c b/src/mess/drivers/mikro80.c index 3229e091987..51a1b7ecbec 100644 --- a/src/mess/drivers/mikro80.c +++ b/src/mess/drivers/mikro80.c @@ -11,7 +11,6 @@ #include "cpu/i8085/i8085.h" #include "sound/wave.h" #include "includes/mikro80.h" -#include "imagedev/cartslot.h" #include "formats/rk_cas.h" #include "sound/dac.h" diff --git a/src/mess/drivers/nascom1.c b/src/mess/drivers/nascom1.c index 3f0978b14f0..52d224cc664 100644 --- a/src/mess/drivers/nascom1.c +++ b/src/mess/drivers/nascom1.c @@ -67,7 +67,6 @@ /* Devices */ #include "imagedev/flopdrv.h" #include "formats/basicdsk.h" -#include "imagedev/cartslot.h" #include "imagedev/cassette.h" #include "machine/ram.h" diff --git a/src/mess/drivers/nc.c b/src/mess/drivers/nc.c index c185a78a3a5..85295fb2f45 100644 --- a/src/mess/drivers/nc.c +++ b/src/mess/drivers/nc.c @@ -101,7 +101,6 @@ #include "machine/rp5c01.h" /* for NC100 real time clock */ #include "machine/upd765.h" /* for NC200 disk drive interface */ #include "formats/pc_dsk.h" /* for NC200 disk image */ -#include "imagedev/cartslot.h" #include "sound/beep.h" #include "machine/ram.h" #include "rendlay.h" diff --git a/src/mess/drivers/pentagon.c b/src/mess/drivers/pentagon.c index 5ad82483dde..bce9ba0f1fc 100644 --- a/src/mess/drivers/pentagon.c +++ b/src/mess/drivers/pentagon.c @@ -1,7 +1,6 @@ #include "emu.h" #include "includes/spectrum.h" #include "imagedev/snapquik.h" -#include "imagedev/cartslot.h" #include "imagedev/cassette.h" #include "sound/ay8910.h" #include "sound/speaker.h" diff --git a/src/mess/drivers/plus4.c b/src/mess/drivers/plus4.c index 828742634be..7c2fd159650 100644 --- a/src/mess/drivers/plus4.c +++ b/src/mess/drivers/plus4.c @@ -13,7 +13,6 @@ */ #include "includes/plus4.h" -#include "imagedev/cartslot.h" #include "machine/cbm_snqk.h" #include "sound/t6721a.h" @@ -934,9 +933,8 @@ ROM_START( c264 ) ROM_LOAD( "basic-264.bin", 0x0000, 0x4000, CRC(6a2fc8e3) SHA1(473fce23afa07000cdca899fbcffd6961b36a8a0) ) ROM_LOAD( "kernal-264.bin", 0x4000, 0x4000, CRC(8f32abe7) SHA1(d481faf5fcbb331878dc7851c642d04f26a32873) ) - ROM_REGION( 0x8000, "function", 0 ) - ROM_CART_LOAD( "lo", 0x0000, 0x0000, ROM_NOMIRROR ) - ROM_CART_LOAD( "hi", 0x4000, 0x0000, ROM_NOMIRROR ) + ROM_REGION( 0x8000, "function", ROMREGION_ERASE00 ) + // TODO: add cart slots to mount EPROMs here ROM_REGION( 0xf5, PLA_TAG, 0 ) ROM_LOAD( "251641-02", 0x00, 0xf5, NO_DUMP ) @@ -952,9 +950,8 @@ ROM_START( c232 ) ROM_LOAD( "318006-01.u4", 0x0000, 0x4000, CRC(74eaae87) SHA1(161c96b4ad20f3a4f2321808e37a5ded26a135dd) ) ROM_LOAD( "318004-01.u5", 0x4000, 0x4000, CRC(dbdc3319) SHA1(3c77caf72914c1c0a0875b3a7f6935cd30c54201) ) - ROM_REGION( 0x8000, "function", 0 ) - ROM_CART_LOAD( "lo", 0x0000, 0x0000, ROM_NOMIRROR ) - ROM_CART_LOAD( "hi", 0x4000, 0x0000, ROM_NOMIRROR ) + ROM_REGION( 0x8000, "function", ROMREGION_ERASE00 ) + // TODO: add cart slots to mount EPROMs here ROM_REGION( 0xf5, PLA_TAG, 0 ) ROM_LOAD( "251641-02.u7", 0x00, 0xf5, NO_DUMP ) diff --git a/src/mess/drivers/primo.c b/src/mess/drivers/primo.c index 9b579cb3643..dc692d29436 100644 --- a/src/mess/drivers/primo.c +++ b/src/mess/drivers/primo.c @@ -111,7 +111,6 @@ Interrupts: #include "cpu/z80/z80.h" #include "imagedev/cassette.h" #include "imagedev/snapquik.h" -#include "imagedev/cartslot.h" #include "formats/primoptp.h" #include "bus/cbmiec/cbmiec.h" diff --git a/src/mess/drivers/scorpion.c b/src/mess/drivers/scorpion.c index 07f50b9c82d..436eec3c3f7 100644 --- a/src/mess/drivers/scorpion.c +++ b/src/mess/drivers/scorpion.c @@ -147,7 +147,6 @@ http://www.z88forever.org.uk/zxplus3e/ #include "emu.h" #include "includes/spectrum.h" #include "imagedev/snapquik.h" -#include "imagedev/cartslot.h" #include "imagedev/cassette.h" #include "sound/ay8910.h" #include "sound/speaker.h" diff --git a/src/mess/drivers/sms.c b/src/mess/drivers/sms.c index e86a517133a..c63d6bcf699 100644 --- a/src/mess/drivers/sms.c +++ b/src/mess/drivers/sms.c @@ -231,7 +231,6 @@ DC00 - Selection buttons #2, 9-16 (R) #include "sound/sn76496.h" #include "sound/2413intf.h" #include "video/315_5124.h" -#include "imagedev/cartslot.h" #include "includes/sms.h" #include "bus/sega8/rom.h" diff --git a/src/mess/drivers/spec128.c b/src/mess/drivers/spec128.c index 278f1c5d3c2..162dc7cf551 100644 --- a/src/mess/drivers/spec128.c +++ b/src/mess/drivers/spec128.c @@ -152,7 +152,6 @@ resulting mess can be seen in the F4 viewer display. #include "cpu/z80/z80.h" #include "includes/spectrum.h" #include "imagedev/snapquik.h" -#include "imagedev/cartslot.h" #include "imagedev/cassette.h" #include "sound/ay8910.h" #include "sound/speaker.h" diff --git a/src/mess/drivers/specpls3.c b/src/mess/drivers/specpls3.c index 5acbe50f3cc..3e4502bd780 100644 --- a/src/mess/drivers/specpls3.c +++ b/src/mess/drivers/specpls3.c @@ -147,7 +147,6 @@ http://www.z88forever.org.uk/zxplus3e/ #include "emu.h" #include "includes/spectrum.h" #include "imagedev/snapquik.h" -#include "imagedev/cartslot.h" #include "imagedev/cassette.h" #include "sound/ay8910.h" #include "sound/speaker.h" diff --git a/src/mess/drivers/timex.c b/src/mess/drivers/timex.c index 89f3d2ead66..95ed7f8b729 100644 --- a/src/mess/drivers/timex.c +++ b/src/mess/drivers/timex.c @@ -148,7 +148,6 @@ http://www.z88forever.org.uk/zxplus3e/ #include "cpu/z80/z80.h" #include "includes/spectrum.h" #include "imagedev/snapquik.h" -#include "imagedev/cartslot.h" #include "imagedev/cassette.h" #include "sound/speaker.h" #include "sound/ay8910.h" diff --git a/src/mess/includes/adam.h b/src/mess/includes/adam.h index 04f2c552be5..1705011db88 100644 --- a/src/mess/includes/adam.h +++ b/src/mess/includes/adam.h @@ -12,7 +12,6 @@ #include "bus/coleco/exp.h" #include "cpu/z80/z80.h" #include "cpu/m6800/m6800.h" -#include "imagedev/cartslot.h" #include "machine/coleco.h" #include "machine/ram.h" #include "sound/sn76496.h" diff --git a/src/mess/includes/c65.h b/src/mess/includes/c65.h index 4f5db29d178..0cb898178e0 100644 --- a/src/mess/includes/c65.h +++ b/src/mess/includes/c65.h @@ -9,7 +9,6 @@ #include "machine/mos6526.h" #include "bus/cbmiec/cbmiec.h" -#include "imagedev/cartslot.h" #include "imagedev/snapquik.h" #include "machine/ram.h" #include "sound/mos6581.h" diff --git a/src/mess/includes/msx.h b/src/mess/includes/msx.h index 6490113d1b5..9fe36f20519 100644 --- a/src/mess/includes/msx.h +++ b/src/mess/includes/msx.h @@ -20,7 +20,6 @@ #include "video/v9938.h" #include "video/tms9928a.h" #include "imagedev/flopdrv.h" -#include "imagedev/cartslot.h" #include "imagedev/cassette.h" #include "formats/basicdsk.h" #include "formats/fmsx_cas.h" diff --git a/src/mess/includes/sg1000.h b/src/mess/includes/sg1000.h index f0739396f25..47d9497f7db 100644 --- a/src/mess/includes/sg1000.h +++ b/src/mess/includes/sg1000.h @@ -7,7 +7,6 @@ #include "cpu/z80/z80.h" #include "formats/sc3000_bit.h" #include "formats/sf7000_dsk.h" -#include "imagedev/cartslot.h" #include "imagedev/cassette.h" #include "imagedev/printer.h" #include "bus/centronics/ctronics.h" diff --git a/src/mess/includes/super80.h b/src/mess/includes/super80.h index b378bda25b9..013d2efafd1 100644 --- a/src/mess/includes/super80.h +++ b/src/mess/includes/super80.h @@ -3,7 +3,6 @@ #include "cpu/z80/z80daisy.h" #include "sound/wave.h" #include "imagedev/snapquik.h" -#include "imagedev/cartslot.h" #include "imagedev/cassette.h" #include "sound/speaker.h" #include "machine/buffer.h" diff --git a/src/mess/includes/vic20.h b/src/mess/includes/vic20.h index 3381773f9d4..01c2e9fe3bb 100644 --- a/src/mess/includes/vic20.h +++ b/src/mess/includes/vic20.h @@ -12,7 +12,6 @@ #include "bus/vic20/exp.h" #include "bus/vic20/user.h" #include "cpu/m6502/m6510.h" -#include "imagedev/cartslot.h" #include "machine/6522via.h" #include "machine/cbm_snqk.h" #include "machine/ram.h" diff --git a/src/mess/includes/vidbrain.h b/src/mess/includes/vidbrain.h index 458be779647..3bddb8542d7 100644 --- a/src/mess/includes/vidbrain.h +++ b/src/mess/includes/vidbrain.h @@ -8,7 +8,6 @@ #include "emu.h" #include "bus/vidbrain/exp.h" #include "cpu/f8/f8.h" -#include "imagedev/cartslot.h" #include "machine/f3853.h" #include "machine/ram.h" #include "sound/dac.h" diff --git a/src/mess/machine/cgenie.c b/src/mess/machine/cgenie.c index a2da2cadfdf..84bacb9b077 100644 --- a/src/mess/machine/cgenie.c +++ b/src/mess/machine/cgenie.c @@ -11,7 +11,6 @@ #include "cpu/z80/z80.h" #include "includes/cgenie.h" #include "machine/wd17xx.h" -#include "imagedev/cartslot.h" #include "imagedev/cassette.h" #include "sound/dac.h" #include "imagedev/flopdrv.h" diff --git a/src/mess/machine/lynx.c b/src/mess/machine/lynx.c index 8f7852dfb03..061cf441ed3 100644 --- a/src/mess/machine/lynx.c +++ b/src/mess/machine/lynx.c @@ -5,7 +5,6 @@ #include "emu.h" #include "includes/lynx.h" #include "cpu/m6502/m65sc02.h" -#include "imagedev/cartslot.h" #define PAD_UP 0x80 diff --git a/src/mess/machine/nes.c b/src/mess/machine/nes.c index 3a27501a357..fbe2bea6bdd 100644 --- a/src/mess/machine/nes.c +++ b/src/mess/machine/nes.c @@ -10,7 +10,6 @@ #include "crsshair.h" #include "cpu/m6502/m6502.h" #include "includes/nes.h" -#include "imagedev/cartslot.h" #include "imagedev/flopdrv.h" /*************************************************************************** diff --git a/src/mess/machine/spec_snqk.h b/src/mess/machine/spec_snqk.h index d16e20a392a..ad79d920203 100644 --- a/src/mess/machine/spec_snqk.h +++ b/src/mess/machine/spec_snqk.h @@ -8,7 +8,6 @@ #define __SPEC_SNQK_H__ #include "imagedev/snapquik.h" -#include "imagedev/cartslot.h" void spectrum_setup_sna(running_machine &machine, UINT8 *snapdata, UINT32 snapsize); void spectrum_setup_z80(running_machine &machine, UINT8 *snapdata, UINT32 snapsize);