src/mess/drivers/pc8801.c
| r15778 | r15779 | |
| 32 | 32 | - Advanced Fantasian: wants an irq that can't happen (I is equal to 0x3f) |
| 33 | 33 | - American Success: reads the light pen? |
| 34 | 34 | - Alpha (demo): stuck note in title screen, doesn't seem to go further; |
| 35 | - Arion: random hang, FDC CPU communication issue? |
| 36 | - Art of War: spurious sound irq; |
| 35 | 37 | - Balance of Power: uses the SIO port for mouse polling; |
| 36 | 38 | - Bishoujo Baseball Gakuen: checks ym2608 after intro screen; |
| 37 | 39 | - The Black Onyx: writes a katakana msg: "rino kata ha koko ni orimasen" then doesn't show up anything. (Needs user disk?) |
| r15778 | r15779 | |
| 50 | 52 | - Agni no Ishi |
| 51 | 53 | - Amazoness no Hihou (takes invalid data from floppy) |
| 52 | 54 | - American Truck / American Truck SR (polls read deleted data command) |
| 55 | - Ankokujou |
| 56 | - Ao No Sekizou (fdc CPU irq doesn't fire anymore) |
| 57 | - Arcus |
| 58 | - Arcus (demo) (After Wolf Team logo) |
| 59 | - Arcus 2 (at PCM loading) |
| 53 | 60 | - Bokosuka Wars (polls read ID command) |
| 54 | 61 | - Bruce Lee (fdccpu reads port C in a weird fashion) |
| 55 | 62 | - Burning Point (trips a spurious irq) |
| r15778 | r15779 | |
| 1132 | 1139 | else |
| 1133 | 1140 | m_i8214_irq_level = data & 7; |
| 1134 | 1141 | |
| 1135 | | //IRQ_LOG(("%02x LV\n",m_i8214_irq_level)); |
| 1142 | IRQ_LOG(("%02x LV\n",m_i8214_irq_level)); |
| 1136 | 1143 | } |
| 1137 | 1144 | |
| 1138 | 1145 | |
| r15778 | r15779 | |
| 1147 | 1154 | if(m_vrtc_irq_mask == 0) |
| 1148 | 1155 | m_vrtc_irq_latch = 0; |
| 1149 | 1156 | |
| 1150 | | if(m_timer_irq_mask == 0 && m_vrtc_irq_mask == 0) |
| 1157 | if(m_timer_irq_latch == 0 && m_vrtc_irq_latch == 0 && m_sound_irq_latch == 0) |
| 1151 | 1158 | cputag_set_input_line(machine(),"maincpu",0,CLEAR_LINE); |
| 1152 | 1159 | |
| 1153 | | //IRQ_LOG(("%02x MASK\n",data)); |
| 1160 | IRQ_LOG(("%02x MASK (%02x %02x)\n",data,m_timer_irq_latch,m_vrtc_irq_latch)); |
| 1154 | 1161 | |
| 1155 | 1162 | //if(data & 4) |
| 1156 | 1163 | // printf("IRQ mask %02x\n",data); |
| r15778 | r15779 | |
| 1189 | 1196 | |
| 1190 | 1197 | if(m_sound_irq_mask == 0) |
| 1191 | 1198 | m_sound_irq_latch = 0; |
| 1199 | |
| 1200 | if(m_timer_irq_latch == 0 && m_vrtc_irq_latch == 0 && m_sound_irq_latch == 0) |
| 1201 | cputag_set_input_line(machine(),"maincpu",0,CLEAR_LINE); |
| 1192 | 1202 | #endif |
| 1193 | 1203 | } |
| 1194 | 1204 | |
| r15778 | r15779 | |
| 2161 | 2171 | if(state->m_sound_irq_mask && state->m_i8214_irq_level >= 5 && irq) |
| 2162 | 2172 | { |
| 2163 | 2173 | state->m_sound_irq_latch = 1; |
| 2164 | | //IRQ_LOG(("sound\n")); |
| 2174 | IRQ_LOG(("sound\n")); |
| 2165 | 2175 | cputag_set_input_line(device->machine(),"maincpu",0,HOLD_LINE); |
| 2166 | 2176 | } |
| 2167 | 2177 | } |
| r15778 | r15779 | |
| 2172 | 2182 | if(state->m_timer_irq_mask && state->m_i8214_irq_level >= 3) |
| 2173 | 2183 | { |
| 2174 | 2184 | state->m_timer_irq_latch = 1; |
| 2175 | | //IRQ_LOG(("timer\n")); |
| 2185 | IRQ_LOG(("timer\n")); |
| 2176 | 2186 | cputag_set_input_line(timer.machine(),"maincpu",0,HOLD_LINE); |
| 2177 | 2187 | } |
| 2178 | 2188 | } |
| r15778 | r15779 | |
| 2183 | 2193 | if(state->m_vrtc_irq_mask && state->m_i8214_irq_level >= 2) |
| 2184 | 2194 | { |
| 2185 | 2195 | state->m_vrtc_irq_latch = 1; |
| 2186 | | //IRQ_LOG(("vrtc\n")); |
| 2196 | IRQ_LOG(("vrtc\n")); |
| 2187 | 2197 | device_set_input_line(device,0,HOLD_LINE); |
| 2188 | 2198 | } |
| 2189 | 2199 | } |