blob: 586d1c7f7b143668c170ecabe0d13dafcbb1c93f (
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
|
// license:BSD-3-Clause
// copyright-holders:Fabio Priuli
#ifndef __A800_SPARTA_H
#define __A800_SPARTA_H
#include "rom.h"
// ======================> a800_rom_spartados_device
class a800_rom_spartados_device : public a800_rom_device
{
public:
// construction/destruction
a800_rom_spartados_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// device-level overrides
virtual void device_start() override;
virtual void device_reset() override;
virtual DECLARE_READ8_MEMBER(read_80xx) override;
virtual DECLARE_WRITE8_MEMBER(write_d5xx) override;
protected:
int m_bank, m_subslot_enabled;
};
// device type definition
extern const device_type A800_ROM_SPARTADOS;
#endif
|