diff options
author | 2013-10-22 15:44:27 +0000 | |
---|---|---|
committer | 2013-10-22 15:44:27 +0000 | |
commit | 0b91c21b366be4d0c1bcabdbe74e6b9d82a62271 (patch) | |
tree | 1804ed0b9de916825d5fc7e1387d33aac256f4c0 /src/emu/bus/cbm2/std.h | |
parent | 47c548e760b6c4447f7b15e7d403060d0051b994 (diff) |
(MESS) Moved a bunch of buses under emu/bus. (nw)
Diffstat (limited to 'src/emu/bus/cbm2/std.h')
-rw-r--r-- | src/emu/bus/cbm2/std.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/src/emu/bus/cbm2/std.h b/src/emu/bus/cbm2/std.h new file mode 100644 index 00000000000..45534b54530 --- /dev/null +++ b/src/emu/bus/cbm2/std.h @@ -0,0 +1,49 @@ +// license:BSD-3-Clause +// copyright-holders:Curt Coder +/********************************************************************** + + Commodore CBM-II Standard cartridge emulation + + Copyright MESS Team. + Visit http://mamedev.org for licensing and usage restrictions. + +**********************************************************************/ + +#pragma once + +#ifndef __CBM2_STANDARD_CARTRIDGE__ +#define __CBM2_STANDARD_CARTRIDGE__ + +#include "emu.h" +#include "exp.h" +#include "imagedev/cartslot.h" + + + +//************************************************************************** +// TYPE DEFINITIONS +//************************************************************************** + +// ======================> cbm2_standard_cartridge_device + +class cbm2_standard_cartridge_device : public device_t, + public device_cbm2_expansion_card_interface +{ +public: + // construction/destruction + cbm2_standard_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + +protected: + // device-level overrides + virtual void device_start(); + + // device_cbm2_expansion_card_interface overrides + virtual UINT8 cbm2_bd_r(address_space &space, offs_t offset, UINT8 data, int csbank1, int csbank2, int csbank3); +}; + + +// device type definition +extern const device_type CBM2_STD; + + +#endif |