blob: 2631dc01c62072c4fc8ba91874d93d0a91c19759 (
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
49
50
51
52
|
// license:BSD-3-Clause
// copyright-holders:Curt Coder
/**********************************************************************
RCA VIP Tiny BASIC VP-700 emulation
**********************************************************************/
#pragma once
#ifndef __VP700__
#define __VP700__
#include "emu.h"
#include "exp.h"
#include "sound/cdp1863.h"
//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
// ======================> vp700_device
class vp700_device : public device_t,
public device_vip_expansion_card_interface
{
public:
// construction/destruction
vp700_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual const rom_entry *device_rom_region() const override;
protected:
// device-level overrides
virtual void device_start() override;
// device_vip_expansion_card_interface overrides
virtual UINT8 vip_program_r(address_space &space, offs_t offset, int cs, int cdef, int *minh) override;
private:
required_memory_region m_rom;
};
// device type definition
extern const device_type VP700;
#endif
|