trunk/src/emu/machine/68307tmu.c
| r31581 | r31582 | |
| 155 | 155 | |
| 156 | 156 | void m68307_timer::write_ter(UINT16 data, UINT16 mem_mask, int which) |
| 157 | 157 | { |
| 158 | assert(which >= 0 && which < ARRAY_LENGTH(singletimer)); |
| 158 | 159 | m68307_single_timer* tptr = &singletimer[which]; |
| 159 | 160 | if (data & 0x2) tptr->regs[m68307TIMER_TMR] &= ~0x2; |
| 160 | 161 | } |
| r31581 | r31582 | |
| 212 | 213 | |
| 213 | 214 | void m68307_timer::write_trr(UINT16 data, UINT16 mem_mask, int which) |
| 214 | 215 | { |
| 216 | assert(which >= 0 && which < ARRAY_LENGTH(singletimer)); |
| 215 | 217 | m68307_single_timer* tptr = &singletimer[which]; |
| 216 | 218 | |
| 217 | 219 | COMBINE_DATA(&tptr->regs[m68307TIMER_TRR]); |