Software list items promoted to working

---------------------------------------
rx78_cart: Excite Baseball [Robbbert]
This commit is contained in:
Robbbert 2021-06-12 23:15:58 +10:00
parent 8519af54de
commit 67926ff608
4 changed files with 14 additions and 23 deletions

View File

@ -121,7 +121,7 @@ The monitor will expect you to load a program from cassette.
</part>
</software>
<software name="cracer" supported="partial"><!-- various bugs -->
<software name="cracer" supported="partial"><!-- traffic lights at start are skipped -->
<description>Champion Racer</description>
<year>1983</year>
<publisher>Bandai</publisher>
@ -133,10 +133,11 @@ The monitor will expect you to load a program from cassette.
</part>
</software>
<software name="exbaseb" supported="no"><!-- gfx issues -->
<software name="exbaseb">
<description>Excite Baseball</description>
<year>1983</year>
<publisher>Bandai</publisher>
<info name="usage" value="Blue player uses arrows; Red player uses R,D,F,G" /><!-- difficult to hit the ball -->
<part name="cart" interface="rx78_cart">
<dataarea name="rom" size="32768">
<rom name="exbaseb1.bin" size="0x2000" crc="6237e902" sha1="0f7c236b9425508b3f22664ce7a5f10fc1b991b3" offset="0x4000" />

View File

@ -1649,7 +1649,7 @@ X-3607 : Horse Race
</software>
<software name="crazym">
<description>Crazy Maze</description>
<year>198?</year>
<year>1983</year>
<publisher>Matrix Software</publisher>
<info name="usage" value="L to load, G0 to run" />
<sharedfeat name="compatibility" value="D" />
@ -1660,11 +1660,11 @@ X-3607 : Horse Race
</part>
</software>
<software name="crazymj">
<description>Crazy Maze (L4) (with arrows)</description>
<year>198?</year>
<description>Crazy Maze (with arrows)</description>
<year>1983</year>
<publisher>Matrix Software</publisher>
<info name="usage" value="T3 then, L to load, G0 to run" />
<sharedfeat name="compatibility" value="M" />
<sharedfeat name="compatibility" value="D,M" />
<part name="cass" interface="super80_cass">
<dataarea name="cass" size="0x1bfd20e">
<rom name="crazymj.wav" size="0x1bfd20e" crc="f723e58d" sha1="213a9dca5f58206cd415aa34eb4f0a70eb785c7b"/>

View File

@ -360,7 +360,7 @@ void meritum_state::meritum1(machine_config &config)
mainppi.out_pc_callback().set(FUNC(meritum_state::mainppi_portc_w));
mainppi.out_pb_callback().set(FUNC(meritum_state::mainppi_portb_w));
/* parallel printer */
// printer
CENTRONICS(config, m_centronics, centronics_devices, "printer");
m_centronics->set_data_input_buffer("cent_data_in");
m_centronics->ack_handler().set("mainppi", FUNC(i8255_device::pc2_w));

View File

@ -116,7 +116,7 @@ private:
u8 m_pal_reg[7];
u8 m_pri_mask;
u8 m_key_mux;
u8 m_bgr;
u8 m_background;
std::unique_ptr<u8[]> m_vram;
required_device<cpu_device> m_maincpu;
required_device<cassette_image_device> m_cass;
@ -164,12 +164,10 @@ uint32_t rx78_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap,
laycol[0] = 0;
laycol[1] = 0;
for (u8 j = 0; j < 6; j++)
{
bool bit = BIT(m_pal_reg[6], j);
if (BIT(layers, j))
laycol[bit] |= m_pal_reg[j];
}
u8 color = laycol[1] ? laycol[1] : (laycol[0] ? laycol[0] : m_bgr);
laycol[BIT(m_pal_reg[6], j)] |= m_pal_reg[j];
u8 color = laycol[1] ? laycol[1] : (laycol[0] ? laycol[0] : m_background);
bitmap.pix(y+bordery, x+i+borderx) = color;
}
count++;
@ -230,17 +228,9 @@ void rx78_state::vram_write_bank_w(u8 data)
void rx78_state::vdp_reg_w(offs_t offset, u8 data)
{
if (offset < 6)
{
//u8 r = (data & 0x11) == 0x11 ? 0xff : ((data & 0x11) == 0x01 ? 0x7f : 0);
//u8 g = (data & 0x22) == 0x22 ? 0xff : ((data & 0x22) == 0x02 ? 0x7f : 0);
//u8 b = (data & 0x44) == 0x44 ? 0xff : ((data & 0x44) == 0x04 ? 0x7f : 0);
//m_palette->set_pen_color(66+offset, rgb_t(r,g,b));
m_pal_reg[offset] = bitswap<8>(data, 7, 3, 6, 2, 5, 1, 4, 0) & 0x3f;
}
else
{
m_pal_reg[offset] = data & 0x3f;
}
}
void rx78_state::vdp_bg_reg_w(u8 data)
@ -249,7 +239,7 @@ void rx78_state::vdp_bg_reg_w(u8 data)
u8 g = (data & 0x22) == 0x22 ? 0xff : ((data & 0x22) == 0x02 ? 0x7f : 0);
u8 b = (data & 0x44) == 0x44 ? 0xff : ((data & 0x44) == 0x04 ? 0x7f : 0);
m_palette->set_pen_color(64, rgb_t(r,g,b)); // use this as the border colour
m_bgr = bitswap<8>(data, 7, 3, 6, 2, 5, 1, 4, 0) & 0x3f;
m_background = bitswap<8>(data, 7, 3, 6, 2, 5, 1, 4, 0) & 0x3f;
}
void rx78_state::vdp_pri_mask_w(u8 data)
@ -446,7 +436,7 @@ void rx78_state::machine_start()
save_pointer(NAME(m_pal_reg), 7);
save_item(NAME(m_pri_mask));
save_item(NAME(m_key_mux));
save_item(NAME(m_bgr));
save_item(NAME(m_background));
}
DEVICE_IMAGE_LOAD_MEMBER( rx78_state::cart_load )