trunk/src/mame/drivers/wecleman.cpp
| r250365 | r250366 | |
| 756 | 756 | AM_RANGE(0x4000, 0x4007) AM_WRITE(hotchase_sound_control_w) // Sound volume, banking, etc. |
| 757 | 757 | AM_RANGE(0x5000, 0x5000) AM_WRITENOP // 0 at start of IRQ service, 1 at end (irq mask?) |
| 758 | 758 | AM_RANGE(0x6000, 0x6000) AM_READ(soundlatch_byte_r) // From main CPU (Read on IRQ) |
| 759 | | AM_RANGE(0x7000, 0x7000) AM_WRITE(hotchase_sound_hs_w) // Command acknowledge ? |
| 759 | AM_RANGE(0x7000, 0x7000) AM_WRITE(hotchase_sound_hs_w) // ACK signal to main CPU |
| 760 | 760 | AM_RANGE(0x8000, 0xffff) AM_ROM |
| 761 | 761 | ADDRESS_MAP_END |
| 762 | 762 | |
| r250365 | r250366 | |
| 1044 | 1044 | |
| 1045 | 1045 | if(scanline == 232) // vblank irq |
| 1046 | 1046 | m_maincpu->set_input_line(4, HOLD_LINE); |
| 1047 | | else if(((scanline % 64) == 0)) // timer irq TODO: timings (and actually I believe it's from the blitter device) |
| 1047 | else if(((scanline % 64) == 0)) // timer irq TODO: wrong place maybe? Could do with 007645 blitter or "V-CNT" signal. |
| 1048 | 1048 | m_maincpu->set_input_line(5, HOLD_LINE); |
| 1049 | 1049 | } |
| 1050 | 1050 | |