blob: cf04c6a8fc23056052ccd616c1ad07b9b3e45fcf (
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
|
// license:GPL-2.0+
// copyright-holders:Jonathan Edwards
/*********************************************************************
bml3kanji.h
Hitachi MP-9740 (?) kanji character ROM for the MB-689x
*********************************************************************/
#ifndef __BML3BUS_KANJI__
#define __BML3BUS_KANJI__
#include "emu.h"
#include "bml3bus.h"
//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
class bml3bus_kanji_device:
public device_t,
public device_bml3bus_card_interface
{
public:
// construction/destruction
bml3bus_kanji_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
virtual const tiny_rom_entry *device_rom_region() const override;
DECLARE_READ8_MEMBER(bml3_kanji_r);
DECLARE_WRITE8_MEMBER(bml3_kanji_w);
protected:
virtual void device_start() override;
virtual void device_reset() override;
uint16_t m_kanji_addr;
private:
uint8_t *m_rom;
};
// device type definition
extern const device_type BML3BUS_KANJI;
#endif /* __BML3BUS_KANJI__ */
|