mirror of
https://github.com/holub/mame
synced 2025-10-06 09:00:04 +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:
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user