blob: d07da2ce4042e197b8bf49b8f168ecb903f2330f (
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
|
// license:GPL-2.0+
// copyright-holders:Dirk Best
/***************************************************************************
SV-803 16k memory expansion for SVI-318
***************************************************************************/
#pragma once
#ifndef __SVI3X8_SLOT_SV803_H__
#define __SVI3X8_SLOT_SV803_H__
#include "slot.h"
//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
// ======================> sv803_device
class sv803_device : public device_t, public device_svi_slot_interface
{
public:
// construction/destruction
sv803_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
virtual DECLARE_READ8_MEMBER( mreq_r ) override;
virtual DECLARE_WRITE8_MEMBER( mreq_w ) override;
protected:
virtual void device_start() override;
virtual void device_reset() override;
private:
std::unique_ptr<uint8_t[]> m_ram;
};
// device type definition
extern const device_type SV803;
#endif // __SVI3X8_SLOT_SV803_H__
|