summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/mononcol/rom.cpp
blob: d3e82f34d24de8826f32c2e70cee5ab55e0f4b05 (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:Fabio Priuli

#include "emu.h"
#include "rom.h"

//-------------------------------------------------
//  device type definitions
//-------------------------------------------------

DEFINE_DEVICE_TYPE(MONONCOL_ROM_PLAIN,    mononcol_rom_plain_device,    "mononcol_rom_plain",    "Monon Color ROM cartridge")


//-------------------------------------------------
//  constructor
//-------------------------------------------------

mononcol_rom_plain_device::mononcol_rom_plain_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
	: mononcol_rom_plain_device(mconfig, MONONCOL_ROM_PLAIN, tag, owner, clock)
{
}

mononcol_rom_plain_device::mononcol_rom_plain_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock)
	: device_t(mconfig, type, tag, owner, clock)
	, device_mononcol_cart_interface(mconfig, *this)
	, m_spi(*this, "spi")
{
}


void mononcol_rom_plain_device::device_add_mconfig(machine_config &config)
{
	GENERIC_SPI_FLASH(config, m_spi, 0);
}

void mononcol_rom_plain_device::device_start()
{
}