Notes updates

This commit is contained in:
Angelo Salese 2012-12-07 16:07:33 +00:00
parent 49d9ed05aa
commit 03584acd3d

View File

@ -156,17 +156,18 @@ void upd1990a_device::device_timer(emu_timer &timer, device_timer_id id, int par
case TIMER_TEST_MODE:
if (m_oe)
{
/* TODO: completely untested */
/* time counter is advanced at 1024 Hz from "Second" counter input */
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]++;
if(m_time_counter[i] != 0)
break;
return;
}
m_data_out = (m_time_counter[4] == 0);
}
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[4]++;
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;