blob: df733078aae614f06cce24e3a728f5b534ae377d (
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
36
37
|
// license:BSD-3-Clause
// copyright-holders:smf
/*
* fdc37c665gt.h
*
*/
#ifndef MAME_MACHINE_FDC37C665GT_H
#define MAME_MACHINE_FDC37C665GT_H
#pragma once
#include "ins8250.h"
class fdc37c665gt_device : public device_t
{
public:
// construction/destruction
fdc37c665gt_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
uint8_t read(offs_t offset);
void write(offs_t offset, uint8_t data);
protected:
// device-level overrides
virtual void device_start() override;
virtual void device_add_mconfig(machine_config &config) override;
private:
required_device<ns16550_device> m_uart1;
required_device<ns16550_device> m_uart2;
};
// device type definition
DECLARE_DEVICE_TYPE(FDC37C665GT, fdc37c665gt_device)
#endif // MAME_MACHINE_FDC37C665GT_H
|