src/mess/drivers/pc8801.c
| r15852 | r15853 | |
| 81 | 81 | - Daikoukai Jidai |
| 82 | 82 | - Day Dream (hangs at the CrossMedia Soft logo) |
| 83 | 83 | - Demons Ring |
| 84 | | (Dennou Suikoden) |
| 84 | - Dennou Tsuushin |
| 85 | 85 | - Door Door MK-2 (sets up TC in the middle of execution phase read then wants status bit 6 to be low PC=0x7050 of fdc cpu) |
| 86 | 86 | - Harakiri |
| 87 | 87 | - MakaiMura (attempts to r/w the sio ports, but it's clearly crashed) |
| r15852 | r15853 | |
| 94 | 94 | - Alpha (demo): stuck note in title screen, doesn't seem to go further; |
| 95 | 95 | - Ayumi: black screen after new game / load game screen; |
| 96 | 96 | - Brunette: No sound, eventually hangs at gameplay; |
| 97 | - Digital Devil Story Megami Tensei: hangs at gameplay (sound irq issue) |
| 98 | - Double Face: hangs at logo (sound irq issue) |
| 97 | 99 | |
| 98 | 100 | games that needs to NOT have write-protect floppies (BTANBs): |
| 99 | 101 | - Balance of Power |
| r15852 | r15853 | |
| 280 | 282 | UINT8 m_timer_irq_latch; |
| 281 | 283 | UINT8 m_sound_irq_mask; |
| 282 | 284 | UINT8 m_sound_irq_latch; |
| 285 | UINT8 m_sound_irq_pending; |
| 283 | 286 | #endif |
| 284 | 287 | UINT8 m_has_clock_speed; |
| 285 | 288 | UINT8 m_clock_setting; |
| r15852 | r15853 | |
| 1299 | 1302 | |
| 1300 | 1303 | if(m_timer_irq_latch == 0 && m_vrtc_irq_latch == 0 && m_sound_irq_latch == 0) |
| 1301 | 1304 | cputag_set_input_line(machine(),"maincpu",0,CLEAR_LINE); |
| 1305 | |
| 1306 | if(m_sound_irq_mask && m_sound_irq_pending) |
| 1307 | { |
| 1308 | cputag_set_input_line(machine(),"maincpu",0,HOLD_LINE); |
| 1309 | m_sound_irq_latch = 1; |
| 1310 | m_sound_irq_pending = 0; |
| 1311 | } |
| 1312 | |
| 1302 | 1313 | #endif |
| 1303 | 1314 | } |
| 1304 | 1315 | |
| r15852 | r15853 | |
| 1656 | 1667 | |
| 1657 | 1668 | if(m_timer_irq_latch == 0 && m_vrtc_irq_latch == 0 && m_sound_irq_latch == 0) |
| 1658 | 1669 | cputag_set_input_line(machine(),"maincpu",0,CLEAR_LINE); |
| 1670 | |
| 1671 | if(m_sound_irq_mask && m_sound_irq_pending) |
| 1672 | { |
| 1673 | cputag_set_input_line(machine(),"maincpu",0,HOLD_LINE); |
| 1674 | m_sound_irq_latch = 1; |
| 1675 | m_sound_irq_pending = 0; |
| 1676 | } |
| 1659 | 1677 | } |
| 1660 | 1678 | } |
| 1661 | 1679 | |
| r15852 | r15853 | |
| 2304 | 2322 | |
| 2305 | 2323 | // printf("%02x %02x %02x\n",state->m_sound_irq_mask,state->m_i8214_irq_level,irq); |
| 2306 | 2324 | /* TODO: correct i8214 irq level? */ |
| 2307 | | if(state->m_sound_irq_mask && irq) |
| 2325 | if(irq) |
| 2308 | 2326 | { |
| 2309 | | state->m_sound_irq_latch = 1; |
| 2310 | | //IRQ_LOG(("sound\n")); |
| 2311 | | cputag_set_input_line(device->machine(),"maincpu",0,HOLD_LINE); |
| 2327 | if(state->m_sound_irq_mask) |
| 2328 | { |
| 2329 | state->m_sound_irq_latch = 1; |
| 2330 | state->m_sound_irq_pending = 0; |
| 2331 | //IRQ_LOG(("sound\n")); |
| 2332 | cputag_set_input_line(device->machine(),"maincpu",0,HOLD_LINE); |
| 2333 | } |
| 2334 | else |
| 2335 | state->m_sound_irq_pending = 1; |
| 2312 | 2336 | } |
| 2313 | 2337 | } |
| 2314 | 2338 | |
| r15852 | r15853 | |
| 2397 | 2421 | state->m_sound_irq_mask = 0; |
| 2398 | 2422 | state->m_sound_irq_latch = 0; |
| 2399 | 2423 | state->m_i8214_irq_level = 0; |
| 2424 | state->m_sound_irq_pending = 0; |
| 2400 | 2425 | } |
| 2401 | 2426 | #endif |
| 2402 | 2427 | |