blob: 8b66afaefaec2755219f354ce2f678da5880dc1d (
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
|
// license:BSD-3-Clause
// copyright-holders:Barry Rodewald
/*
Brunword MK4 - Word processor ROM / expansion
*/
#include "emu.h"
#include "cpcexp.h"
class cpc_brunword4_device : public device_t,
public device_cpc_expansion_card_interface
{
public:
// construction/destruction
cpc_brunword4_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual const rom_entry *device_rom_region() const;
DECLARE_WRITE8_MEMBER(rombank_w);
virtual void set_mapping();
protected:
// device-level overrides
virtual void device_start();
virtual void device_reset();
private:
cpc_expansion_slot_device *m_slot;
bool m_rombank_active;
UINT8 m_bank_sel;
};
// device type definition
extern const device_type CPC_BRUNWORD_MK4;
|