Previous 199869 Revisions Next

r34160 Friday 2nd January, 2015 at 07:53:42 UTC by Osso
Fixed MT05811 (nw)
[src/mame/drivers]maygay1b.c

trunk/src/mame/drivers/maygay1b.c
r242671r242672
105105// FIRQ, related to the sample playback?
106106READ8_MEMBER( maygay1b_state::m1_firq_trg_r )
107107{
108   int nar = m_msm6376->nar_r();
109   if (nar)
108   if (m_msm6376)
110109   {
111      cpu0_firq(1);
110      int nar = m_msm6376->nar_r();
111      if (nar)
112      {
113         cpu0_firq(1);
114      }
112115   }
113116   return 0xff;
114117}
r242671r242672
377380//A strange setup this, the address lines are used to move st to the right level
378381READ8_MEMBER(maygay1b_state::latch_st_hi)
379382{
380   m_msm6376->st_w(1);
383   if (m_msm6376)
384   {
385      m_msm6376->st_w(1);
386   }
381387   return 0xff;
382388}
383389
384390READ8_MEMBER(maygay1b_state::latch_st_lo)
385391{
386   m_msm6376->st_w(0);
392   if (m_msm6376)
393   {
394      m_msm6376->st_w(0);
395   }
387396   return 0xff;
388397}
389398


Previous 199869 Revisions Next


© 1997-2024 The MAME Team