mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
phc25j: Fix MC6847 configuration (nw)
This commit is contained in:
parent
44130d5dd9
commit
05e1dc2353
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user