blob: a232cf57222fe6c10fb68520d4e4d41ea25a1417 (
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:BSD-3-Clause
// copyright-holders:David Haywood
#ifndef __VCS_HARMONY_H
#define __VCS_HARMONY_H
#include "rom.h"
#include "cpu/arm7/arm7.h"
// ======================> a26_rom_harmony_device
class a26_rom_harmony_device : public a26_rom_f8_device
{
public:
// construction/destruction
a26_rom_harmony_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
// device-level overrides
virtual void device_start();
virtual machine_config_constructor device_mconfig_additions() const;
virtual void device_reset();
// reading and writing
virtual DECLARE_READ8_MEMBER(read_rom);
virtual DECLARE_WRITE8_MEMBER(write_bank);
DECLARE_READ32_MEMBER(armrom_r);
DECLARE_WRITE32_MEMBER(armrom_w);
DECLARE_READ8_MEMBER(read8_r);
DECLARE_READ32_MEMBER(arm_E01FC088_r);
void check_bankswitch(offs_t offset);
protected:
};
// device type definition
extern const device_type A26_ROM_HARMONY;
#endif
|