summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/bus/a800/sparta.h
blob: 983c5ba92004c298ca3da297028cc3d0d18f4535 (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:etabeta
#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, const char *tag, device_t *owner, UINT32 clock);

	// device-level overrides
	virtual void device_start();
	virtual void device_reset();

	virtual DECLARE_READ8_MEMBER(read_80xx);
	virtual DECLARE_WRITE8_MEMBER(write_d5xx);

protected:
	int m_bank, m_subslot_enabled;
};



// device type definition
extern const device_type A800_ROM_SPARTADOS;


#endif