Noraut discrete sound system:

Connected the 2 remaining data lines from PPI-1 (PC5 & PC6) to the sound system.
Now sounds are complete.
This commit is contained in:
Roberto Fresca 2009-09-09 13:42:27 +00:00
parent 1807bbffd6
commit 8015c7a47f

View File

@ -653,7 +653,9 @@ static WRITE8_DEVICE_HANDLER( soundlamps_w )
/* the 4 MSB are for discrete sound */
discrete_sound_w(discrete, NORAUTP_SND_EN, (data >> 7) & 0x01);
discrete_sound_w(discrete, NORAUTP_FREQ_DATA, (data >> 4) & 0x01);
discrete_sound_w(discrete, NORAUTP_FREQ_DATA, (data >> 4) & 0x07);
// popmessage("sound bits 4-5-6-7: %02x, %02x, %02x, %02x", ((data >> 4) & 0x01), ((data >> 5) & 0x01), ((data >> 6) & 0x01), ((data >> 7) & 0x01));
}
static WRITE8_DEVICE_HANDLER( counterlamps_w )