summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/k056800.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/k056800.cpp')
-rw-r--r--src/devices/sound/k056800.cpp14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/devices/sound/k056800.cpp b/src/devices/sound/k056800.cpp
index 2bb499eb414..690165d838d 100644
--- a/src/devices/sound/k056800.cpp
+++ b/src/devices/sound/k056800.cpp
@@ -8,14 +8,12 @@
***********************************************************************/
#include "emu.h"
-#include "sound/k056800.h"
-
+#include "k056800.h"
DEFINE_DEVICE_TYPE(K056800, k056800_device, "k056800", "K056800 MIRAC")
-
//-------------------------------------------------
// k056800_device - constructor
//-------------------------------------------------
@@ -37,8 +35,6 @@ k056800_device::k056800_device(const machine_config &mconfig, const char *tag, d
void k056800_device::device_start()
{
- m_int_handler.resolve_safe();
-
save_item(NAME(m_int_pending));
save_item(NAME(m_int_enabled));
save_item(NAME(m_host_to_snd_regs));
@@ -63,7 +59,7 @@ void k056800_device::device_reset()
DEVICE HANDLERS
*****************************************************************************/
-READ8_MEMBER( k056800_device::host_r )
+uint8_t k056800_device::host_r(offs_t offset)
{
uint32_t r = offset & 7;
uint8_t data = 0;
@@ -85,7 +81,7 @@ READ8_MEMBER( k056800_device::host_r )
}
-WRITE8_MEMBER( k056800_device::host_w )
+void k056800_device::host_w(offs_t offset, uint8_t data)
{
uint32_t r = offset & 7;
@@ -123,7 +119,7 @@ WRITE8_MEMBER( k056800_device::host_w )
}
-READ8_MEMBER( k056800_device::sound_r )
+uint8_t k056800_device::sound_r(offs_t offset)
{
uint32_t r = offset & 7;
uint8_t data = 0;
@@ -142,7 +138,7 @@ READ8_MEMBER( k056800_device::sound_r )
}
-WRITE8_MEMBER( k056800_device::sound_w )
+void k056800_device::sound_w(offs_t offset, uint8_t data)
{
uint32_t r = offset & 7;