mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
WIP preparing to fix the speech in radar scope (n/w)
This commit is contained in:
parent
e338cdaf85
commit
184a5cca4f
@ -136,13 +136,15 @@ void tms6100_device::device_start()
|
||||
save_item(NAME(m_m0));
|
||||
save_item(NAME(m_m1));
|
||||
save_item(NAME(m_state));
|
||||
//save_item(NAME(m_variant));
|
||||
//tms6100_set_variant(tms, TMS6110_IS_TMS6100);
|
||||
|
||||
}
|
||||
|
||||
void m58819_device::device_start()
|
||||
{
|
||||
//tms5110_set_variant(tms, TMS5110_IS_5100);
|
||||
tms6100_device::device_start();
|
||||
//tms6100_set_variant(tms, TMS6110_IS_M58819);
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
@ -197,7 +199,15 @@ WRITE_LINE_MEMBER(tms6100_device::tms6100_romclock_w)
|
||||
else
|
||||
{
|
||||
/* read bit at address */
|
||||
/* if (m_variant == TMS6110_IS_M58819)
|
||||
{
|
||||
m_data = (m_rom[m_address >> 3] >> (7-(m_address & 0x07))) & 1;
|
||||
}
|
||||
else // m_variant == (TMS6110_IS_TMS6100 || TMS6110_IS_TMS6125)
|
||||
{
|
||||
*/
|
||||
m_data = (m_rom[m_address >> 3] >> (m_address & 0x07)) & 1;
|
||||
/* } */
|
||||
m_address++;
|
||||
}
|
||||
m_state &= ~TMS6100_READ_PENDING;
|
||||
|
@ -37,6 +37,7 @@ private:
|
||||
UINT8 m_tms_clock;
|
||||
UINT8 m_data;
|
||||
UINT8 m_state;
|
||||
//UINT8 m_variant;
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user