blob: d07e785340f5ade74023dc6994d84f9f12854c0f (
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
|
// license:BSD-3-Clause
// copyright-holders:smf
#ifndef __DS128X_H__
#define __DS128X_H__
#include "mc146818.h"
#define MCFG_DS12885_ADD(_tag) \
MCFG_DEVICE_ADD(_tag, DS12885, XTAL_32_768kHz)
// ======================> mc146818_device
class ds12885_device : public mc146818_device
{
public:
// construction/destruction
ds12885_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
protected:
virtual int data_size() { return 128; }
};
// device type definition
extern const device_type DS12885;
#endif
|