phc25j: Fix MC6847 configuration (nw)

This commit is contained in:
AJR 2019-01-20 08:05:17 -05:00
parent 44130d5dd9
commit 05e1dc2353

View File

@ -350,7 +350,7 @@ void phc25_state::pal(machine_config &config)
m_vdg->set_screen("screen");
m_vdg->fsync_wr_callback().set(FUNC(phc25_state::irq_w));
m_vdg->input_callback().set(FUNC(phc25_state::video_ram_r));
m_vdg->set_get_char_rom(mc6847_friend_device::get_char_rom_delegate(FUNC(phc25_state::pal_char_rom_r), this));
m_vdg->set_get_char_rom(FUNC(phc25_state::pal_char_rom_r));
m_vdg->set_get_fixed_mode(mc6847_pal_device::MODE_GM2 | mc6847_pal_device::MODE_GM1 | mc6847_pal_device::MODE_INTEXT);
// other lines not connected
}
@ -365,8 +365,8 @@ void phc25_state::ntsc(machine_config &config)
m_vdg->set_screen("screen");
m_vdg->fsync_wr_callback().set(FUNC(phc25_state::irq_w));
m_vdg->input_callback().set(FUNC(phc25_state::video_ram_r));
m_vdg->set_get_char_rom(FUNC(phc25_state::pal_char_rom_r));
m_vdg->set_get_fixed_mode(mc6847_pal_device::MODE_GM2 | mc6847_pal_device::MODE_GM1 | mc6847_pal_device::MODE_INTEXT);
m_vdg->set_get_char_rom(FUNC(phc25_state::ntsc_char_rom_r));
m_vdg->set_get_fixed_mode(mc6847_ntsc_device::MODE_GM2 | mc6847_ntsc_device::MODE_GM1 | mc6847_ntsc_device::MODE_INTEXT);
// other lines not connected
}