summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/audio/mea8000.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/audio/mea8000.c')
-rw-r--r--src/mess/audio/mea8000.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mess/audio/mea8000.c b/src/mess/audio/mea8000.c
index fa5fa1ec350..390c60f46bd 100644
--- a/src/mess/audio/mea8000.c
+++ b/src/mess/audio/mea8000.c
@@ -557,12 +557,12 @@ READ8_DEVICE_HANDLER ( mea8000_r )
case 1:
/* ready to accept next frame */
#if 0
- LOG(( "$%04x %f: mea8000_r ready=%i\n", device->machine().firstcpu->pcbase( ), machine.time().as_double(), mea8000_accept_byte( mea8000 ) ));
+ LOG(( "$%04x %f: mea8000_r ready=%i\n", space.machine().firstcpu->pcbase( ), machine.time().as_double(), mea8000_accept_byte( mea8000 ) ));
#endif
return mea8000_accept_byte(mea8000) << 7;
default:
- logerror( "$%04x mea8000_r invalid read offset %i\n", device->machine().firstcpu->pcbase( ), offset );
+ logerror( "$%04x mea8000_r invalid read offset %i\n", space.machine().firstcpu->pcbase( ), offset );
}
return 0;
}
@@ -578,19 +578,19 @@ WRITE8_DEVICE_HANDLER ( mea8000_w )
{
/* got pitch byte before first frame */
mea8000->pitch = 2 * data;
- LOG(( "$%04x %f: mea8000_w pitch %i\n", device->machine().firstcpu->pcbase( ), device->machine().time().as_double(), mea8000->pitch ));
+ LOG(( "$%04x %f: mea8000_w pitch %i\n", space.machine().firstcpu->pcbase( ), space.machine().time().as_double(), mea8000->pitch ));
mea8000->state = MEA8000_WAIT_FIRST;
mea8000->bufpos = 0;
}
else if (mea8000->bufpos == 4)
{
/* overflow */
- LOG(( "$%04x %f: mea8000_w data overflow %02X\n", device->machine().firstcpu->pcbase( ), device->machine().time().as_double(), data ));
+ LOG(( "$%04x %f: mea8000_w data overflow %02X\n", space.machine().firstcpu->pcbase( ), space.machine().time().as_double(), data ));
}
else
{
/* enqueue frame byte */
- LOG(( "$%04x %f: mea8000_w data %02X in frame pos %i\n", device->machine().firstcpu->pcbase( ), device->machine().time().as_double(),
+ LOG(( "$%04x %f: mea8000_w data %02X in frame pos %i\n", space.machine().firstcpu->pcbase( ), space.machine().time().as_double(),
data, mea8000->bufpos ));
mea8000->buf[mea8000->bufpos] = data;
mea8000->bufpos++;
@@ -621,10 +621,10 @@ WRITE8_DEVICE_HANDLER ( mea8000_w )
mea8000->roe = data & 1;
if (stop)
- mea8000_stop_frame(device->machine(), mea8000);
+ mea8000_stop_frame(space.machine(), mea8000);
LOG(( "$%04x %f: mea8000_w command %02X stop=%i cont=%i roe=%i\n",
- device->machine().firstcpu->pcbase(), device->machine().time().as_double(), data,
+ space.machine().firstcpu->pcbase(), space.machine().time().as_double(), data,
stop, mea8000->cont, mea8000->roe ));
mea8000_update_req(device);
@@ -632,7 +632,7 @@ WRITE8_DEVICE_HANDLER ( mea8000_w )
}
default:
- logerror( "$%04x mea8000_w invalid write offset %i\n", device->machine().firstcpu->pcbase( ), offset );
+ logerror( "$%04x mea8000_w invalid write offset %i\n", space.machine().firstcpu->pcbase( ), offset );
}
}