Previous 199869 Revisions Next

r19676 Tuesday 18th December, 2012 at 22:58:04 UTC by Angelo Salese
Added screen enable to MZ-2500
[src/mess/drivers]mz2500.c

trunk/src/mess/drivers/mz2500.c
r19675r19676
2424    - Mugen no Shinzou II - The Prince of Darkness: dies on IPLPRO loading, presumably a wd17xx core bug;
2525    - Multiplan: random hangs/crashes after you set the RTC, sometimes it loads properly;
2626    - Murder Club: has lots of CG artifacts, FDC issue?
27    - Orbit 3: floppy issue makes it to throw a game over as soon as you start a game;
2728    - Penguin Kun Wars: has a bug with window effects ("Push space or trigger" msg on the bottom"), needs investigation;
2829    - Sound Gal Music Editor: wants a "master disk", that apparently isn't available;
2930    - Yukar K2 (normal version): moans about something, DFJustin: "please put the system disk back to normal", disk write-protected?
r19675r19676
111112   UINT8 m_prev_col_val;
112113   UINT8 m_pio_latchb;
113114   UINT8 m_ym_porta;
115   UINT8 m_screen_enable;
114116   DECLARE_READ8_MEMBER(bank0_r);
115117   DECLARE_READ8_MEMBER(bank1_r);
116118   DECLARE_READ8_MEMBER(bank2_r);
r19675r19676
652654{
653655   bitmap.fill(machine().pens[0], cliprect); //TODO: correct?
654656
657   if(m_screen_enable)
658      return 0;
659
655660   draw_cg_screen(machine(),bitmap,cliprect,0);
656661   draw_tv_screen(machine(),bitmap,cliprect);
657662   draw_cg_screen(machine(),bitmap,cliprect,1);
r19675r19676
18841889    ---- x--- 0->1 transition = IPL reset
18851890    ---- -x-- beeper state
18861891    ---- --x- 0->1 transition = Work RAM reset
1892    ---- ---x screen mask
18871893    */
18881894
18891895   /* work RAM reset */
r19675r19676
19041910
19051911   beep_set_state(machine().device(BEEPER_TAG),data & 0x04);
19061912
1907   if(data & ~0x0e)
1908      logerror("PPI PORTC W %02x\n",data & ~0x0e);
1913   m_screen_enable = data & 1;
1914
1915   if(data & ~0x0f)
1916      logerror("PPI PORTC W %02x\n",data & ~0x0f);
19091917}
19101918
19111919static I8255_INTERFACE( ppi8255_intf )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team