Previous 199869 Revisions Next

r29461 Tuesday 8th April, 2014 at 16:14:42 UTC by Angelo Salese
Looks like that /2 is far better as timer count, according to the RTC count, nw
[src/mame/machine]archimds.c

trunk/src/mame/machine/archimds.c
r29460r29461
186186      372,   356,   340,   324,   308,   292,   276,   260,
187187      244,   228,   212,   196,   180,   164,   148,   132,
188188      120,   112,   104,    96,    88,    80,    72,    64,
189         56,    48,    40,    32,    24,    16,     8,     0
189      56,    48,    40,    32,    24,    16,     8,     0
190190   };
191191
192192   for(ch=0;ch<8;ch++)
r29460r29461
226226   {
227227      case 0:
228228      case 1:
229         m_timer[tmr]->adjust(attotime::from_usec(m_ioc_timercnt[tmr]/8), tmr); // TODO: ARM timings are quite off there, it should be latch and not latch/8
229         m_timer[tmr]->adjust(attotime::from_usec(m_ioc_timercnt[tmr]/2), tmr); // TODO: ARM timings are quite off there, it should be latch and not latch/2
230230         break;
231231      case 2:
232232         freq = 1000000.0 / (double)(m_ioc_timercnt[tmr]+1);

Previous 199869 Revisions Next


© 1997-2024 The MAME Team