diff options
author | 2016-08-08 13:40:03 +0300 | |
---|---|---|
committer | 2016-08-08 14:44:20 +0300 | |
commit | 6673af1285376eee38a7fa0f924ddf5b61c3c654 (patch) | |
tree | eec6b480351bf436d1279e4a1a660fd12302a0e2 /src/devices/bus/pofo/rom.h | |
parent | f67311c5a5b1e08a0d285795d9182683a270a2d8 (diff) |
pofo: Added memory card slot interface and ROM/RAM cards. [Curt Coder]
Diffstat (limited to 'src/devices/bus/pofo/rom.h')
-rw-r--r-- | src/devices/bus/pofo/rom.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/devices/bus/pofo/rom.h b/src/devices/bus/pofo/rom.h new file mode 100644 index 00000000000..4d854b5b9f8 --- /dev/null +++ b/src/devices/bus/pofo/rom.h @@ -0,0 +1,48 @@ +// license:BSD-3-Clause +// copyright-holders:Curt Coder +/********************************************************************** + + Atari Portfolio ROM card emulation + +**********************************************************************/ + +#pragma once + +#ifndef __PORTFOLIO_ROM_CARD__ +#define __PORTFOLIO_ROM_CARD__ + +#include "emu.h" +#include "ccm.h" + + + +//************************************************************************** +// TYPE DEFINITIONS +//************************************************************************** + +// ======================> portfolio_rom_card_t + +class portfolio_rom_card_t : public device_t, + public device_portfolio_memory_card_slot_interface +{ +public: + // construction/destruction + portfolio_rom_card_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + +protected: + // device-level overrides + virtual void device_start() override; + + // device_portfolio_memory_card_slot_interface overrides + bool cdet() override { return 0; } + + virtual UINT8 nrdi_r(address_space &space, offs_t offset) override; +}; + + +// device type definition +extern const device_type PORTFOLIO_ROM_CARD; + + + +#endif |