diff options
Diffstat (limited to 'src/mess/machine/vp570.h')
-rw-r--r-- | src/mess/machine/vp570.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/src/mess/machine/vp570.h b/src/mess/machine/vp570.h new file mode 100644 index 00000000000..93485ef8438 --- /dev/null +++ b/src/mess/machine/vp570.h @@ -0,0 +1,54 @@ +/********************************************************************** + + RCA VIP Memory Expansion Board VP-570 emulation + + Copyright MESS Team. + Visit http://mamedev.org for licensing and usage restrictions. + +**********************************************************************/ + +#pragma once + +#ifndef __VP570__ +#define __VP570__ + +#include "emu.h" +#include "machine/vip_exp.h" + + + +//************************************************************************** +// TYPE DEFINITIONS +//************************************************************************** + +// ======================> vp570_device + +class vp570_device : public device_t, + public device_vip_expansion_card_interface +{ +public: + // construction/destruction + vp570_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + + // optional information overrides + virtual ioport_constructor device_input_ports() const; + +protected: + // device-level overrides + virtual void device_config_complete() { m_shortname = "vp570"; } + virtual void device_start(); + + // device_vip_expansion_card_interface overrides + virtual UINT8 vip_program_r(address_space &space, offs_t offset, int cs, int cdef, int *minh); + virtual void vip_program_w(address_space &space, offs_t offset, UINT8 data, int cdef, int *minh); + +private: + UINT8 *m_ram; +}; + + +// device type definition +extern const device_type VP570; + + +#endif |