mirror of
https://github.com/holub/mame
synced 2025-10-08 17:37:56 +03:00
Notes updates
This commit is contained in:
parent
49d9ed05aa
commit
03584acd3d
@ -156,17 +156,18 @@ void upd1990a_device::device_timer(emu_timer &timer, device_timer_id id, int par
|
|||||||
case TIMER_TEST_MODE:
|
case TIMER_TEST_MODE:
|
||||||
if (m_oe)
|
if (m_oe)
|
||||||
{
|
{
|
||||||
|
/* TODO: completely untested */
|
||||||
/* time counter is advanced at 1024 Hz from "Second" counter input */
|
/* time counter is advanced at 1024 Hz from "Second" counter input */
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for(i=0;i<4;i++)
|
m_data_out = (m_time_counter[4] == 0);
|
||||||
|
|
||||||
|
for(i=0;i<5;i++)
|
||||||
{
|
{
|
||||||
m_time_counter[i]++;
|
m_time_counter[i]++;
|
||||||
if(m_time_counter[i] != 0)
|
if(m_time_counter[i] != 0)
|
||||||
break;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_data_out = (m_time_counter[4] == 0);
|
|
||||||
}
|
}
|
||||||
else // parallel
|
else // parallel
|
||||||
{
|
{
|
||||||
@ -177,15 +178,6 @@ void upd1990a_device::device_timer(emu_timer &timer, device_timer_id id, int par
|
|||||||
m_time_counter[3]++;
|
m_time_counter[3]++;
|
||||||
m_time_counter[4]++;
|
m_time_counter[4]++;
|
||||||
m_data_out = (m_time_counter[4] == 0);
|
m_data_out = (m_time_counter[4] == 0);
|
||||||
if(0)
|
|
||||||
{
|
|
||||||
int i;
|
|
||||||
|
|
||||||
for(i=0;i<5;i++)
|
|
||||||
printf("%02x ",m_time_counter[i]);
|
|
||||||
|
|
||||||
printf("\n");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user