src/mess/machine/z80sti.c
| r4993 | r4994 | |
| 118 | 118 | /* interrupt vectors */ |
| 119 | 119 | static const UINT8 INT_VECTOR[] = |
| 120 | 120 | { |
| 121 | | 0x00, 0x01, 0x04, 0x06, 0x08, 0x0a, 0x0c, 0x0e, |
| 121 | 0x00, 0x02, 0x04, 0x06, 0x08, 0x0a, 0x0c, 0x0e, |
| 122 | 122 | 0x10, 0x12, 0x14, 0x16, 0x18, 0x1a, 0x1c, 0x1e |
| 123 | 123 | }; |
| 124 | 124 | |
| r4993 | r4994 | |
| 442 | 442 | |
| 443 | 443 | case Z80STI_REGISTER_IMRB: |
| 444 | 444 | LOG(("Z80STI '%s' Interrupt Mask Register B: %x\n", device->tag, data)); |
| 445 | | z80sti->imr &= (z80sti->imr & 0xff00) | data; |
| 445 | z80sti->imr = (z80sti->imr & 0xff00) | data; |
| 446 | 446 | z80sti->isr &= z80sti->imr; |
| 447 | 447 | check_interrupts(z80sti); |
| 448 | 448 | break; |