Machines promoted to working

----------------------------
Microvision [hap]
This commit is contained in:
hap 2020-04-13 13:52:39 +02:00
parent 5fba95ff40
commit 6a439f59f7
3 changed files with 11 additions and 13 deletions

View File

@ -29,7 +29,7 @@ The "paddle" feature is used to indicate whether there is paddle circuitry on th
The "butmask" feature indicates cartridge button restrict mask (active-low)
-->
<softwarelist name="microvision" description="Milton Bradley MicroVision cartridges">
<softwarelist name="microvision" description="Milton Bradley Microvision cartridges">
<software name="alienrdr">
<description>Alien Raiders</description>
@ -70,7 +70,7 @@ The "butmask" feature indicates cartridge button restrict mask (active-low)
<year>1979</year>
<publisher>Milton Bradley</publisher>
<info name="pcb" value="4952 REV-A" />
<info name="serial" value="4952" /> <!-- pack-in game, serial of MicroVision console -->
<info name="serial" value="4952" /> <!-- pack-in game, serial of Microvision console -->
<part name="cart" interface="microvision_cart">
<feature name="clock" value="500000" /> <!-- RC = 100pf/23.2K -->
<feature name="pla" value="0" />

View File

@ -3,7 +3,7 @@
// thanks-to:Dan Boris, Kevin Horton, Sean Riddle
/******************************************************************************
Milton Bradley MicroVision, handheld game console
Milton Bradley Microvision, handheld game console
Hardware notes:
- SCUS0488(Hughes HLCD0488) LCD, 16*16 screen
@ -12,6 +12,7 @@ Hardware notes:
12 games were released, all of them have a TMS1100 MCU. The first couple of
games had an Intel 8021 MCU at first, but Milton Bradley switched to TMS1100.
See the softwarelist XML for details.
Each game had a screen- and keypad overlay attached to it, MAME external
artwork is recommended. It's also advised to disable screen filtering,
@ -67,7 +68,7 @@ public:
protected:
virtual void machine_start() override;
virtual void machine_reset() override;
virtual void machine_reset() override { apply_settings(); }
virtual void device_post_load() override { apply_settings(); }
private:
@ -124,11 +125,6 @@ void microvision_state::machine_start()
// m_button_mask, m_paddle_on
}
void microvision_state::machine_reset()
{
apply_settings();
}
/******************************************************************************
@ -259,7 +255,7 @@ uint32_t microvision_state::screen_update(screen_device &screen, bitmap_rgb32 &b
for (int x = 0; x < 16; x++)
{
// simulate LCD persistence
int p = m_lcd_pwm->read_element_bri(y ^ 15, x ^ 15) * 25000;
int p = m_lcd_pwm->read_element_bri(y ^ 15, x ^ 15) * 10000;
p = (p > 255) ? 0 : p ^ 255;
bitmap.pix32(y, x) = p << 16 | p << 8 | p;
@ -462,6 +458,7 @@ void microvision_state::microvision(machine_config &config)
m_lcd->write_cols().set(FUNC(microvision_state::lcd_output_w));
PWM_DISPLAY(config, m_lcd_pwm).set_size(16, 16);
m_lcd_pwm->set_interpolation(0.2);
config.set_default_layout(layout_microvision);
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_LCD));
@ -509,4 +506,4 @@ ROM_END
******************************************************************************/
// YEAR NAME PARENT CMP MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS
CONS( 1979, microvsn, 0, 0, microvision, microvision, microvision_state, empty_init, "Milton Bradley", "MicroVision", MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE | MACHINE_REQUIRES_ARTWORK )
CONS( 1979, microvsn, 0, 0, microvision, microvision, microvision_state, empty_init, "Milton Bradley", "Microvision", MACHINE_SUPPORTS_SAVE | MACHINE_REQUIRES_ARTWORK )

View File

@ -7,8 +7,8 @@ license:CC0
<!-- define elements -->
<element name="lcdb"><rect><color red="1" green="1" blue="1" /></rect></element>
<element name="lcdm"><rect><color red="0.75" green="0.78" blue="0.77" /></rect></element>
<element name="lcda"><rect><color red="0.3" green="0.3" blue="0.3" /></rect></element>
<element name="lcdm"><rect><color red="0.75" green="0.78" blue="0.78" /></rect></element>
<element name="lcda"><rect><color red="0.22" green="0.2" blue="0.36" /></rect></element> <!-- blue tint -->
<!-- build screen -->
@ -19,6 +19,7 @@ license:CC0
<element ref="lcdb"><bounds x="0" y="0" width="18" height="18" /></element>
<screen index="0"><bounds x="1" y="1" width="16" height="16" /></screen>
<!-- draw the grid -->
<repeat count="17">
<param name="i" start="0.95" increment="1" />
<element ref="lcdb"><bounds x="~i~" y="0.5" width="0.1" height="17" /></element>