trunk/src/mame/drivers/coolridr.c
| r21189 | r21190 | |
| 668 | 668 | #ifdef FAKE_ASCII_ROM |
| 669 | 669 | if (m_blitterMode == 0x30 || m_blitterMode == 0x90) |
| 670 | 670 | { |
| 671 | | |
| 671 | |
| 672 | 672 | drawgfx_opaque(*drawbitmap,drawbitmap->cliprect(), machine().gfx[3],spriteNumber,0,0,0,pixelOffsetX,pixelOffsetY); |
| 673 | 673 | continue; |
| 674 | 674 | } |
| r21189 | r21190 | |
| 1346 | 1346 | device.execute().set_input_line(4, HOLD_LINE); |
| 1347 | 1347 | } |
| 1348 | 1348 | |
| 1349 | | //IRQs 10,12 and 14 are valid on SH-1 instead |
| 1350 | 1349 | TIMER_DEVICE_CALLBACK_MEMBER(coolridr_state::system_h1_sub) |
| 1351 | 1350 | { |
| 1352 | 1351 | int scanline = param; |
| 1353 | 1352 | |
| 1354 | | switch(scanline) |
| 1355 | | { |
| 1356 | | case 400:m_subcpu->set_input_line(0xc, HOLD_LINE); break; |
| 1357 | | //case 256:m_subcpu->set_input_line(0xa, HOLD_LINE); break; |
| 1358 | | case 0:m_subcpu->set_input_line(0xe, HOLD_LINE); break; |
| 1359 | | } |
| 1353 | /* 10: reads from 0x4000000 (sound irq?) */ |
| 1354 | /* 12: reads from inputs (so presumably V-Blank) */ |
| 1355 | /* 14: tries to r/w to 0x62***** area (network irq?) */ |
| 1356 | |
| 1357 | if(scanline == 384) |
| 1358 | m_subcpu->set_input_line(0xc, HOLD_LINE); |
| 1360 | 1359 | } |
| 1361 | 1360 | |
| 1362 | 1361 | |
| r21189 | r21190 | |
| 1407 | 1406 | |
| 1408 | 1407 | WRITE_LINE_MEMBER(coolridr_state::scsp_to_main_irq) |
| 1409 | 1408 | { |
| 1410 | | /* reads from some buffers, communication with 0x900000 from m68k? */ |
| 1411 | | m_subcpu->set_input_line(0xa, HOLD_LINE); |
| 1409 | m_subcpu->set_input_line(0xe, HOLD_LINE); |
| 1412 | 1410 | } |
| 1413 | 1411 | |
| 1414 | 1412 | static const scsp_interface scsp_config = |