summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2019-07-09 20:18:05 -0400
committerGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2019-07-09 20:18:38 -0400
commit9337e23480f45f8fc806b1481baf7144540bb5fd (patch) (github)
tree000d301670a25389c635c4e7093bb7c97da44b9b
parentc5c0bcd2649aab95aabbed3e14a52c4b3dbcdeb6 (diff)
downloadmame-9337e23480f45f8fc806b1481baf7144540bb5fd.tar.bz2
mame-9337e23480f45f8fc806b1481baf7144540bb5fd.zip
itech32.cpp, es5506: Reduce logging noise (nw)
-rw-r--r--src/devices/sound/es5506.cpp8
-rw-r--r--src/mame/drivers/itech32.cpp6
-rw-r--r--src/mame/includes/itech32.h1
-rw-r--r--src/mame/video/itech32.cpp2
4 files changed, 12 insertions, 5 deletions
diff --git a/src/devices/sound/es5506.cpp b/src/devices/sound/es5506.cpp
index 2702d58fa25..bc690058fe7 100644
--- a/src/devices/sound/es5506.cpp
+++ b/src/devices/sound/es5506.cpp
@@ -1049,7 +1049,7 @@ void es5506_device::generate_samples(int32_t **outputs, int offset, int samples)
/* generate from the appropriate source */
if (!base)
{
- logerror("es5506: nullptr region base %d\n",voice->control >> 14);
+ LOG("es5506: nullptr region base %d\n",voice->control >> 14);
generate_dummy(voice, base, left, right, samples);
}
else if (voice->control & 0x2000)
@@ -1060,7 +1060,7 @@ void es5506_device::generate_samples(int32_t **outputs, int offset, int samples)
/* does this voice have it's IRQ bit raised? */
if (voice->control&CONTROL_IRQ)
{
- logerror("es5506: IRQ raised on voice %d!!\n",v);
+ LOG("es5506: IRQ raised on voice %d!!\n",v);
/* only update voice vector if existing IRQ is acked by host */
if (m_irqv&0x80)
@@ -1118,7 +1118,7 @@ void es5505_device::generate_samples(int32_t **outputs, int offset, int samples)
/* generate from the appropriate source */
if (!base)
{
- logerror("es5506: nullptr region base %d\n",voice->control >> 14);
+ LOG("es5506: nullptr region base %d\n",voice->control >> 14);
generate_dummy(voice, base, left, right, samples);
}
else if (voice->control & 0x2000)
@@ -1129,7 +1129,7 @@ void es5505_device::generate_samples(int32_t **outputs, int offset, int samples)
/* does this voice have it's IRQ bit raised? */
if (voice->control&CONTROL_IRQ)
{
- logerror("es5506: IRQ raised on voice %d!!\n",v);
+ LOG("es5506: IRQ raised on voice %d!!\n",v);
/* only update voice vector if existing IRQ is acked by host */
if (m_irqv&0x80)
diff --git a/src/mame/drivers/itech32.cpp b/src/mame/drivers/itech32.cpp
index 23dfe433d47..b200acf039f 100644
--- a/src/mame/drivers/itech32.cpp
+++ b/src/mame/drivers/itech32.cpp
@@ -710,6 +710,11 @@ u8 itech32_state::sound_data_buffer_r()
}
+void itech32_state::sound_control_w(u8 data)
+{
+}
+
+
/*************************************
*
@@ -1053,6 +1058,7 @@ void itech32_state::sound_020_map(address_map &map)
map(0x0c00, 0x0c00).w(FUNC(itech32_state::sound_bank_w));
map(0x1400, 0x1400).w(FUNC(itech32_state::firq_clear_w));
map(0x1800, 0x1800).r(FUNC(itech32_state::sound_data_buffer_r)).nopw();
+ map(0x1c00, 0x1c00).w(FUNC(itech32_state::sound_control_w));
map(0x2000, 0x3fff).ram();
map(0x4000, 0x7fff).bankr("soundbank");
map(0x8000, 0xffff).rom();
diff --git a/src/mame/includes/itech32.h b/src/mame/includes/itech32.h
index 92d97047d00..c8d32026c41 100644
--- a/src/mame/includes/itech32.h
+++ b/src/mame/includes/itech32.h
@@ -151,6 +151,7 @@ protected:
u8 sound_data_r();
void sound_return_w(u8 data);
u8 sound_data_buffer_r();
+ void sound_control_w(u8 data);
void firq_clear_w(u8 data);
void timekill_colora_w(u8 data);
void timekill_colorbc_w(u8 data);
diff --git a/src/mame/video/itech32.cpp b/src/mame/video/itech32.cpp
index e2bb96a7917..9716fa8a72f 100644
--- a/src/mame/video/itech32.cpp
+++ b/src/mame/video/itech32.cpp
@@ -367,7 +367,7 @@ TIMER_CALLBACK_MEMBER(itech32_state::scanline_interrupt)
m_scanline_timer->adjust(m_screen->time_until_pos(VIDEO_INTSCANLINE));
/* set the interrupt bit in the status reg */
- logerror("-------------- (DISPLAY INT @ %d) ----------------\n", m_screen->vpos());
+ //logerror("-------------- (DISPLAY INT @ %d) ----------------\n", m_screen->vpos());
VIDEO_INTSTATE |= VIDEOINT_SCANLINE;
/* update the interrupt state */