src/mess/drivers/pc8801.c
| r15786 | r15787 | |
| 30 | 30 | - Acro Jet: hangs waiting for an irq (floppy issue); |
| 31 | 31 | - Advanced Fantasian: wants an irq that can't happen (I is equal to 0x3f) |
| 32 | 32 | - American Success: reads the light pen? |
| 33 | | - Arion: random hang, FDC CPU communication issue? |
| 34 | 33 | - Balance of Power: uses the SIO port for mouse polling; |
| 35 | 34 | - Bishoujo Baseball Gakuen: checks ym2608 after intro screen; |
| 36 | 35 | - The Black Onyx: writes a katakana msg: "rino kata ha koko ni orimasen" then doesn't show up anything. (Needs user disk?) |
| r15786 | r15787 | |
| 52 | 51 | - Ankokujou |
| 53 | 52 | - Ao No Sekizou (fdc CPU irq doesn't fire anymore) |
| 54 | 53 | - Arcus |
| 55 | | - Arcus (demo) (After Wolf Team logo) |
| 56 | | - Arcus 2 (at PCM loading) |
| 57 | 54 | - Attacker |
| 58 | 55 | - Autumn Park (BASIC error) |
| 59 | 56 | - Battle Gorilla |
| r15786 | r15787 | |
| 62 | 59 | - Blassty (attempts to read at 0x801b) |
| 63 | 60 | - Bokosuka Wars (polls read ID command) |
| 64 | 61 | - Boukenshatachi |
| 65 | | - Bruce Lee (fdccpu reads port C in a weird fashion) |
| 66 | 62 | - Can Can Bunny Superior |
| 67 | 63 | - Carmine |
| 64 | (Casablanca) |
| 68 | 65 | - Castle Excellent (sets sector 0xf4? Jumps to 0xa100 and it shouldn't) |
| 69 | 66 | - Card Game Pro 8.8k Plus Unit 1 (prints Disk i/o error 135 in vram, not visible for whatever reason) |
| 70 | 67 | - Cuby Panic (copy protection routine at 0x911A) |
| 71 | 68 | - 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) |
| 72 | 69 | - Harakiri |
| 73 | | - Jark (needs PC-8801MC) |
| 74 | 70 | - MakaiMura (attempts to r/w the sio ports, but it's clearly crashed) |
| 75 | 71 | - Mr. Pro Yakyuu |
| 76 | 72 | - The Return of Ishtar |
| r15786 | r15787 | |
| 82 | 78 | - Ayumi: black screen after new game / load game screen; |
| 83 | 79 | - Brunette: No sound, eventually hangs at gameplay; |
| 84 | 80 | |
| 85 | | |
| 86 | 81 | games that needs to NOT have write-protect floppies (BTANBs): |
| 87 | 82 | - 100 Yen Disk 7: (doesn't boot in V2 mode) |
| 88 | 83 | - Balance of Power |
| r15786 | r15787 | |
| 91 | 86 | |
| 92 | 87 | other BTANBs |
| 93 | 88 | - Attack Hirokochan: returns to BASIC after an initial animation, needs BASIC V1: |
| 89 | - Jark (needs PC-8801MC) |
| 94 | 90 | - Kuronekosou Souzoku Satsujin Jiken: "Illegal function call in 105", needs BASIC V1; |
| 95 | 91 | |
| 96 | 92 | Notes: |
| r15786 | r15787 | |
| 1160 | 1156 | else |
| 1161 | 1157 | m_i8214_irq_level = data & 7; |
| 1162 | 1158 | |
| 1163 | | IRQ_LOG(("%02x LV\n",m_i8214_irq_level)); |
| 1159 | // IRQ_LOG(("%02x LV\n",m_i8214_irq_level)); |
| 1164 | 1160 | } |
| 1165 | 1161 | |
| 1166 | 1162 | |
| r15786 | r15787 | |
| 1178 | 1174 | if(m_timer_irq_latch == 0 && m_vrtc_irq_latch == 0 && m_sound_irq_latch == 0) |
| 1179 | 1175 | cputag_set_input_line(machine(),"maincpu",0,CLEAR_LINE); |
| 1180 | 1176 | |
| 1181 | | IRQ_LOG(("%02x MASK (%02x %02x)\n",data,m_timer_irq_latch,m_vrtc_irq_latch)); |
| 1177 | // IRQ_LOG(("%02x MASK (%02x %02x)\n",data,m_timer_irq_latch,m_vrtc_irq_latch)); |
| 1182 | 1178 | |
| 1183 | 1179 | //if(data & 4) |
| 1184 | 1180 | // printf("IRQ mask %02x\n",data); |
| r15786 | r15787 | |
| 2208 | 2204 | if(state->m_sound_irq_mask && irq) |
| 2209 | 2205 | { |
| 2210 | 2206 | state->m_sound_irq_latch = 1; |
| 2211 | | IRQ_LOG(("sound\n")); |
| 2207 | //IRQ_LOG(("sound\n")); |
| 2212 | 2208 | cputag_set_input_line(device->machine(),"maincpu",0,HOLD_LINE); |
| 2213 | 2209 | } |
| 2214 | 2210 | } |
| r15786 | r15787 | |
| 2219 | 2215 | if(state->m_timer_irq_mask && state->m_i8214_irq_level >= 3) |
| 2220 | 2216 | { |
| 2221 | 2217 | state->m_timer_irq_latch = 1; |
| 2222 | | IRQ_LOG(("timer\n")); |
| 2218 | //IRQ_LOG(("timer\n")); |
| 2223 | 2219 | cputag_set_input_line(timer.machine(),"maincpu",0,HOLD_LINE); |
| 2224 | 2220 | } |
| 2225 | 2221 | } |
| r15786 | r15787 | |
| 2230 | 2226 | if(state->m_vrtc_irq_mask && state->m_i8214_irq_level >= 2) |
| 2231 | 2227 | { |
| 2232 | 2228 | state->m_vrtc_irq_latch = 1; |
| 2233 | | IRQ_LOG(("vrtc\n")); |
| 2229 | //IRQ_LOG(("vrtc\n")); |
| 2234 | 2230 | device_set_input_line(device,0,HOLD_LINE); |
| 2235 | 2231 | } |
| 2236 | 2232 | } |
| r15786 | r15787 | |
| 2396 | 2392 | static const ym2608_interface pc88_ym2608_intf = |
| 2397 | 2393 | { |
| 2398 | 2394 | { |
| 2399 | | AY8910_LEGACY_OUTPUT | AY8910_SINGLE_OUTPUT, |
| 2395 | AY8910_LEGACY_OUTPUT, |
| 2400 | 2396 | AY8910_DEFAULT_LOADS, |
| 2401 | 2397 | DEVCB_HANDLER(opn_porta_r), |
| 2402 | 2398 | DEVCB_HANDLER(opn_portb_r), |
| r15786 | r15787 | |
| 2501 | 2497 | MCFG_SOUND_CONFIG(pc88_ym2203_intf) |
| 2502 | 2498 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) |
| 2503 | 2499 | |
| 2504 | | MCFG_SOUND_ADD("opna", YM2608, MASTER_CLOCK) |
| 2500 | MCFG_SOUND_ADD("opna", YM2608, MASTER_CLOCK*2) // TODO: irq timing issue? |
| 2505 | 2501 | MCFG_SOUND_CONFIG(pc88_ym2608_intf) |
| 2506 | 2502 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) |
| 2507 | 2503 | |