Previous 15994 Revisions Next

r15779 Monday 6th August, 2012 at 15:19:10 UTC by Angelo Salese
PC-8801: Fixed spurious irq happening in Art of War
[src/mess/drivers]pc8801.c

src/mess/drivers/pc8801.c
r15778r15779
3232    - Advanced Fantasian: wants an irq that can't happen (I is equal to 0x3f)
3333    - American Success: reads the light pen?
3434    - 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;
3537    - Balance of Power: uses the SIO port for mouse polling;
3638    - Bishoujo Baseball Gakuen: checks ym2608 after intro screen;
3739    - The Black Onyx: writes a katakana msg: "rino kata ha koko ni orimasen" then doesn't show up anything. (Needs user disk?)
r15778r15779
5052    - Agni no Ishi
5153    - Amazoness no Hihou (takes invalid data from floppy)
5254    - 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)
5360    - Bokosuka Wars (polls read ID command)
5461    - Bruce Lee (fdccpu reads port C in a weird fashion)
5562    - Burning Point (trips a spurious irq)
r15778r15779
11321139   else
11331140      m_i8214_irq_level = data & 7;
11341141
1135   //IRQ_LOG(("%02x LV\n",m_i8214_irq_level));
1142   IRQ_LOG(("%02x LV\n",m_i8214_irq_level));
11361143}
11371144
11381145
r15778r15779
11471154   if(m_vrtc_irq_mask == 0)
11481155      m_vrtc_irq_latch = 0;
11491156
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)
11511158      cputag_set_input_line(machine(),"maincpu",0,CLEAR_LINE);
11521159
1153   //IRQ_LOG(("%02x MASK\n",data));
1160   IRQ_LOG(("%02x MASK (%02x %02x)\n",data,m_timer_irq_latch,m_vrtc_irq_latch));
11541161
11551162   //if(data & 4)
11561163   //  printf("IRQ mask %02x\n",data);
r15778r15779
11891196
11901197   if(m_sound_irq_mask == 0)
11911198      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);
11921202   #endif
11931203}
11941204
r15778r15779
21612171   if(state->m_sound_irq_mask && state->m_i8214_irq_level >= 5 && irq)
21622172   {
21632173      state->m_sound_irq_latch = 1;
2164      //IRQ_LOG(("sound\n"));
2174      IRQ_LOG(("sound\n"));
21652175      cputag_set_input_line(device->machine(),"maincpu",0,HOLD_LINE);
21662176   }
21672177}
r15778r15779
21722182   if(state->m_timer_irq_mask && state->m_i8214_irq_level >= 3)
21732183   {
21742184      state->m_timer_irq_latch = 1;
2175      //IRQ_LOG(("timer\n"));
2185      IRQ_LOG(("timer\n"));
21762186      cputag_set_input_line(timer.machine(),"maincpu",0,HOLD_LINE);
21772187   }
21782188}
r15778r15779
21832193   if(state->m_vrtc_irq_mask && state->m_i8214_irq_level >= 2)
21842194   {
21852195      state->m_vrtc_irq_latch = 1;
2186      //IRQ_LOG(("vrtc\n"));
2196      IRQ_LOG(("vrtc\n"));
21872197      device_set_input_line(device,0,HOLD_LINE);
21882198   }
21892199}

Previous 15994 Revisions Next


© 1998-2018 The MESS Team