diff options
author | 2014-06-04 11:37:59 +0000 | |
---|---|---|
committer | 2014-06-04 11:37:59 +0000 | |
commit | f6f8fe56b275a33aa76c0ff49c43c34ba67aeebb (patch) | |
tree | eac9c880de5c10d63b3a63b40963ec341498e700 /src/emu/bus/ql/cst_q_plus4.h | |
parent | 2073e3e6fbb4ffad21076f28aa9a0d0586685b3c (diff) |
(MESS) ql: Expansions WIP. (nw)
Diffstat (limited to 'src/emu/bus/ql/cst_q_plus4.h')
-rw-r--r-- | src/emu/bus/ql/cst_q_plus4.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/src/emu/bus/ql/cst_q_plus4.h b/src/emu/bus/ql/cst_q_plus4.h new file mode 100644 index 00000000000..da66d6c4d02 --- /dev/null +++ b/src/emu/bus/ql/cst_q_plus4.h @@ -0,0 +1,56 @@ +// license:BSD-3-Clause +// copyright-holders:Curt Coder +/********************************************************************** + + CST Q+4 emulation + + Copyright MESS Team. + Visit http://mamedev.org for licensing and usage restrictions. + +**********************************************************************/ + +#pragma once + +#ifndef __CST_Q_PLUS4__ +#define __CST_Q_PLUS4__ + +#include "exp.h" + + + +//************************************************************************** +// TYPE DEFINITIONS +//************************************************************************** + +// ======================> cst_q_plus4_t + +class cst_q_plus4_t : public device_t, + public device_ql_expansion_card_interface +{ +public: + // construction/destruction + cst_q_plus4_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + cst_q_plus4_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source, int ram_size); + + // optional information overrides + virtual const rom_entry *device_rom_region() const; + +protected: + // device-level overrides + virtual void device_start(); + + // device_ql_expansion_card_interface overrides + virtual UINT8 read(address_space &space, offs_t offset, UINT8 data); + virtual void write(address_space &space, offs_t offset, UINT8 data); + +private: +}; + + + +// device type definition +extern const device_type CST_Q_PLUS4; + + + +#endif |