blob: d143a2e06ea2bd90dc24807783e70e571b192648 (
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:Ryan Holtz
/***************************************************************************
Sharp LoCoMo peripheral chip emulation skeleton
***************************************************************************/
#ifndef MAME_MACHINE_LOCOMO
#define MAME_MACHINE_LOCOMO
#pragma once
class locomo_device : public device_t
{
public:
locomo_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL());
uint32_t read(offs_t offset, uint32_t mem_mask = ~0U);
void write(offs_t offset, uint32_t data, uint32_t mem_mask = ~0U);
protected:
virtual void device_start() override;
virtual void device_reset() override;
uint16_t m_kbd_cmd;
uint16_t m_kbd_row;
uint16_t m_kbd_col;
uint16_t m_kbd_level;
};
DECLARE_DEVICE_TYPE(LOCOMO, locomo_device)
#endif // MAME_MACHINE_LOCOMO
|