summaryrefslogblamecommitdiffstatshomepage
path: root/src/devices/machine/ds128x.h
blob: e61bad76964c8c8ea2e38414a31e49c43b8d534f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
                       














                                                      
                                                                                                      

          
                                                        





                                 
// 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, std::string tag, device_t *owner, UINT32 clock);

protected:
	virtual int data_size() override { return 128; }
};

// device type definition
extern const device_type DS12885;

#endif