mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
model1: create "screen" before "ioboard:screen" (nw)
This commit is contained in:
parent
cdd8da5ca1
commit
f630b4d194
@ -1705,12 +1705,6 @@ void model1_state::model1(machine_config &config)
|
||||
m_tgp_copro->set_addrmap(AS_IO, &model1_state::copro_io_map);
|
||||
m_tgp_copro->set_addrmap(mb86233_device::AS_RF, &model1_state::copro_rf_map);
|
||||
|
||||
model1io_device &ioboard(SEGA_MODEL1IO(config, "ioboard", 0));
|
||||
ioboard.read_callback().set(m_dpram, FUNC(mb8421_device::left_r));
|
||||
ioboard.write_callback().set(m_dpram, FUNC(mb8421_device::left_w));
|
||||
ioboard.in_callback<0>().set_ioport("IN.0");
|
||||
ioboard.in_callback<1>().set_ioport("IN.1");
|
||||
|
||||
MB8421(config, m_dpram, 0);
|
||||
|
||||
S24TILE(config, m_tiles, 0, 0x3fff).set_palette(m_palette);
|
||||
@ -1723,6 +1717,12 @@ void model1_state::model1(machine_config &config)
|
||||
|
||||
PALETTE(config, m_palette).set_format(palette_device::xBGR_555, 8192);
|
||||
|
||||
model1io_device &ioboard(SEGA_MODEL1IO(config, "ioboard", 0));
|
||||
ioboard.read_callback().set(m_dpram, FUNC(mb8421_device::left_r));
|
||||
ioboard.write_callback().set(m_dpram, FUNC(mb8421_device::left_w));
|
||||
ioboard.in_callback<0>().set_ioport("IN.0");
|
||||
ioboard.in_callback<1>().set_ioport("IN.1");
|
||||
|
||||
SEGAM1AUDIO(config, m_m1audio, 0);
|
||||
m_m1audio->rxd_handler().set(m_m1uart, FUNC(i8251_device::write_rxd));
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
</element>
|
||||
|
||||
<view name="Default">
|
||||
<!-- workaround for MAME selecting a 3-screen view by default -->
|
||||
<!-- workaround for MAME selecting a 2-screen view by default -->
|
||||
<screen tag="ioboard:screen"><bounds left="0" top="0" right="1" bottom="1" /></screen>
|
||||
|
||||
<screen tag="screen">
|
||||
|
Loading…
Reference in New Issue
Block a user