diff options
Diffstat (limited to 'src/mess/machine/pce_rom.h')
-rw-r--r-- | src/mess/machine/pce_rom.h | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/src/mess/machine/pce_rom.h b/src/mess/machine/pce_rom.h deleted file mode 100644 index caaa1bcc7c7..00000000000 --- a/src/mess/machine/pce_rom.h +++ /dev/null @@ -1,83 +0,0 @@ -#ifndef __PCE_ROM_H -#define __PCE_ROM_H - -#include "machine/pce_slot.h" - - -// ======================> pce_rom_device - -class pce_rom_device : public device_t, - public device_pce_cart_interface -{ -public: - // construction/destruction - pce_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); - pce_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - - // device-level overrides - virtual void device_start() {} - virtual void device_reset() {} - - // reading and writing - virtual DECLARE_READ8_MEMBER(read_cart); -}; - -// ======================> pce_cdsys3_device - -class pce_cdsys3_device : public pce_rom_device -{ -public: - // construction/destruction - pce_cdsys3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - - // reading and writing - virtual DECLARE_READ8_MEMBER(read_cart); - virtual DECLARE_WRITE8_MEMBER(write_cart); -}; - - -// ======================> pce_populous_device - -class pce_populous_device : public pce_rom_device -{ -public: - // construction/destruction - pce_populous_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - - // reading and writing - virtual DECLARE_READ8_MEMBER(read_cart); - virtual DECLARE_WRITE8_MEMBER(write_cart); -}; - - -// ======================> pce_sf2_device - -class pce_sf2_device : public pce_rom_device -{ -public: - // construction/destruction - pce_sf2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - - // device-level overrides - virtual void device_start(); - virtual void device_reset(); - - // reading and writing - virtual DECLARE_READ8_MEMBER(read_cart); - virtual DECLARE_WRITE8_MEMBER(write_cart); - -private: - UINT8 m_bank_base; -}; - - - -// device type definition -extern const device_type PCE_ROM_STD; -extern const device_type PCE_ROM_CDSYS3; -extern const device_type PCE_ROM_POPULOUS; -extern const device_type PCE_ROM_SF2; - - - -#endif |