summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/pofo/rom.h
blob: 65f1c3e28d7b34647b146b0e2f6f93c28f6d9f90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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_t clock);

protected:
	// device-level overrides
	virtual void device_start() override;

	// device_portfolio_memory_card_slot_interface overrides
	virtual bool cdet() override { return 0; }

	virtual uint8_t nrdi_r(address_space &space, offs_t offset) override;
};


// device type definition
extern const device_type PORTFOLIO_ROM_CARD;



#endif