summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/msm6242.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-05-01 13:48:49 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-05-01 13:48:49 +0000
commitc967dcb1023ee7e64a81de95f50428ca98f3500c (patch)
tree4a9c917dcb8b06e678affca0ba33249cc6fb23ad /src/emu/machine/msm6242.h
parent355fa5294d8c24915f73392d52d0f09fdb87a3fc (diff)
From: Duke [mailto:startaq@gmail.com]
Subject: MSM6242 device Hello, the attached patch changes the MSM6242 RTC into a proper device. --Dirk
Diffstat (limited to 'src/emu/machine/msm6242.h')
-rw-r--r--src/emu/machine/msm6242.h30
1 files changed, 23 insertions, 7 deletions
diff --git a/src/emu/machine/msm6242.h b/src/emu/machine/msm6242.h
index c0b817f5d73..d62692a199f 100644
--- a/src/emu/machine/msm6242.h
+++ b/src/emu/machine/msm6242.h
@@ -1,10 +1,26 @@
-#ifndef MSM6242_INCLUDE
-#define MSM6242_INCLUDE
+/***************************************************************************
-READ8_HANDLER( msm6242_r );
-WRITE8_HANDLER( msm6242_w );
+ MSM6242 Real Time Clock
-READ16_HANDLER( msm6242_lsb_r );
-WRITE16_HANDLER( msm6242_lsb_w );
+ Copyright Nicola Salmoria and the MAME Team.
+ Visit http://mamedev.org for licensing and usage restrictions.
-#endif
+***************************************************************************/
+
+#pragma once
+
+#ifndef __MSM6242_H__
+#define __MSM6242_H__
+
+
+#define MSM6242 DEVICE_GET_INFO_NAME(msm6242)
+
+
+/* device interface */
+DEVICE_GET_INFO( msm6242 );
+
+READ8_DEVICE_HANDLER( msm6242_r );
+WRITE8_DEVICE_HANDLER( msm6242_w );
+
+
+#endif /* __MSM6242_H__ */