blob: 95f5bdd323608a36b9584ac0b26dce2aa7549175 (
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 MAME_BUS_ODYSSEY2_CHESS_H
#define MAME_BUS_ODYSSEY2_CHESS_H
#pragma once
#include "slot.h"
#include "rom.h"
#include "cpu/z80/z80.h"
// ======================> o2_chess_device
class o2_chess_device : public o2_rom_device
{
public:
// construction/destruction
o2_chess_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
void chess_io(address_map &map);
void chess_mem(address_map &map);
protected:
virtual void device_add_mconfig(machine_config &config) override;
// virtual const rom_entry *device_rom_region() const;
private:
required_device<nsc800_device> m_cpu;
};
// device type definition
DECLARE_DEVICE_TYPE(O2_ROM_CHESS, o2_chess_device)
#endif // MAME_BUS_ODYSSEY2_CHESS_H
|