blob: 46146339f9218024ea4a946f154d19e7168518cf (
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
|
// license:BSD-3-Clause
// copyright-holders: Olivier Galibert
// ADB - Apple Desktop Bus
//
// Generic HLE
#ifndef MAME_BUS_ADB_ADBHLE_H
#define MAME_BUS_ADB_ADBHLE_H
#pragma once
#include "adb.h"
class adb_hle_device : public adb_device, public adb_slot_card_interface
{
public:
adb_hle_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
protected:
virtual void device_start() override;
virtual void device_reset() override;
virtual void adb_w(int state) override;
private:
bool m_last_state;
attotime m_last_state_time;
};
DECLARE_DEVICE_TYPE(ADB_HLE, adb_hle_device)
#endif
|