summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/nes/jncota.h
blob: 3e8af2e0257b0931088eb848c4225192f85f3220 (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
// license:BSD-3-Clause
// copyright-holders:kmg
#ifndef MAME_BUS_NES_JNCOTA_H
#define MAME_BUS_NES_JNCOTA_H

#pragma once

#include "nxrom.h"


// ======================> nes_jncota_kt1001_device

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

	virtual void write_l(offs_t offset, u8 data) override;

	virtual void pcb_reset() override;

protected:
	// device-level overrides
	virtual void device_start() override;

private:
	u8 m_reg[3];
};


// device type definition
DECLARE_DEVICE_TYPE(NES_JNCOTA_KT1001, nes_jncota_kt1001_device)

#endif // MAME_BUS_NES_JNCOTA_H