summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/vcs/compumat.h
blob: 16603404bb1ddfbe68c61ecf5fdad5d550c8dd2e (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
// license:BSD-3-Clause
// copyright-holders:Fabio Priuli
#ifndef MAME_BUS_VCS_COMPUMAT_H
#define MAME_BUS_VCS_COMPUMAT_H

#pragma once

#include "rom.h"

//**************************************************************************
//  TYPE DEFINITIONS
//**************************************************************************

// ======================> a26_rom_cm_device

class a26_rom_cm_device : public a26_rom_base_device
{
public:
	// construction/destruction
	a26_rom_cm_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);

	// device-level overrides
	virtual ioport_constructor device_input_ports() const override;

	virtual void install_memory_handlers(address_space *space) override;

protected:
	virtual void device_reset() override;

	memory_bank_creator m_bank;
};


// device type definition
DECLARE_DEVICE_TYPE(A26_ROM_COMPUMATE, a26_rom_cm_device)

#endif // MAME_BUS_VCS_COMPUMAT_H