mirror of
https://github.com/holub/mame
synced 2025-04-23 17:00:53 +03:00
upd7810: set ETIMER interrupts
This commit is contained in:
parent
6f8a6d85be
commit
8d22700487
@ -1300,6 +1300,12 @@ void upd7810_device::handle_timers(int cycles)
|
||||
{
|
||||
OVCE -= 12;
|
||||
ECNT++;
|
||||
/* Interrupt Control Circuit */
|
||||
if (ETM0 == ECNT)
|
||||
IRR |= INTFE0;
|
||||
if (ETM1 == ECNT)
|
||||
IRR |= INTFE1;
|
||||
/* How and When ECNT is Cleared */
|
||||
switch (ETMM & 0x0c)
|
||||
{
|
||||
case 0x00: /* clear ECNT */
|
||||
|
Loading…
Reference in New Issue
Block a user