blob: 0611ba3149ca110ed2282518e5e111901271ea02 (
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
|
// license:BSD-3-Clause
// copyright-holders:David Haywood
#ifndef MAME_INCLUDES_XAVIX_2000_H
#define MAME_INCLUDES_XAVIX_2000_H
#include "xavix.h"
class xavix_2000_nv_sdb_state : public xavix_state
{
public:
xavix_2000_nv_sdb_state(const machine_config &mconfig, device_type type, const char *tag)
: xavix_state(mconfig, type, tag)
{ }
void xavix2000_nv_sdb(machine_config &config);
protected:
private:
uint8_t sdb_anport0_r() { return m_mouse0x->read()^0x7f; }
uint8_t sdb_anport1_r() { return m_mouse0y->read()^0x7f; }
uint8_t sdb_anport2_r() { return m_mouse1x->read()^0x7f; }
uint8_t sdb_anport3_r() { return m_mouse1y->read()^0x7f; }
};
#endif // MAME_INCLUDES_XAVIX_2000_H
|