mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
New Working machines added
------------ Parker Brothers Lost Treasure [hap, Sean Riddle] Coleco Zodiac [hap, Sean Riddle]
This commit is contained in:
parent
43db10cf6e
commit
395d6dc2e0
@ -694,8 +694,9 @@ MACHINE_CONFIG_END
|
||||
Coleco Zodiac - The Astrology Computer
|
||||
* TMS1100 MP3435 (no decap)
|
||||
* 8-digit 7seg display, 12 other LEDs, 1bit sound
|
||||
|
||||
|
||||
|
||||
As the name suggests, this is an astrologic calculator. Refer to the
|
||||
(very extensive) manual on how to use it.
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
@ -737,7 +738,7 @@ WRITE16_MEMBER(zodiac_state::write_r)
|
||||
WRITE16_MEMBER(zodiac_state::write_o)
|
||||
{
|
||||
// O0-O7: digit segment/led data
|
||||
m_o = (data >> 1 & 0x7f) | (data << 7 & 0x80);
|
||||
m_o = data;
|
||||
prepare_display();
|
||||
}
|
||||
|
||||
@ -793,16 +794,44 @@ INPUT_PORTS_END
|
||||
// output PLA is not dumped
|
||||
static const UINT16 zodiac_output_pla[0x20] =
|
||||
{
|
||||
0x7e, 0x0c, 0xb6, 0x9e, 0xcc, 0xda, 0xfa, 0x0e,
|
||||
0xfe, 0xce, 0xee, 0xbc, 0xf2, 0x3c, 0x70, 0x7c,
|
||||
0x01, 0x08, 0xa0, 0xa8, 0x40, 0x48, 0xe0, 0xe8,
|
||||
0x06, 0x10, 0xa6, 0xb0, 0x46, 0x50, 0xe6, 0xf0
|
||||
0x80, // empty/led 1/7
|
||||
lC, // i/led 2/8
|
||||
lE+lG, // r/led 3/9
|
||||
lC+lE+lG, // n
|
||||
lF, // seg F/led 4/10
|
||||
0, // ?
|
||||
0, // ?
|
||||
lC+lE+lF+lG, // h
|
||||
lB, // seg B/led 5/11
|
||||
lD, // seg D/led 6/12
|
||||
0, // ?
|
||||
0, // ?
|
||||
0, // ?
|
||||
0, // ?
|
||||
lA+lB+lE+lF+lG, // P
|
||||
0, // ?
|
||||
lA+lB+lC+lD+lE+lF, // 0
|
||||
lB+lC, // 1
|
||||
lA+lB+lD+lE+lG, // 2
|
||||
lA+lB+lC+lD+lG, // 3
|
||||
lB+lC+lF+lG, // 4
|
||||
lA+lC+lD+lF+lG, // 5
|
||||
lA+lC+lD+lE+lF+lG, // 6
|
||||
lA+lB+lC, // 7
|
||||
lA+lB+lC+lD+lE+lF+lG, // 8
|
||||
lA+lB+lC+lD+lF+lG, // 9
|
||||
lA+lB+lC+lE+lF+lG, // A
|
||||
lB+lC+lD+lE+lG, // d
|
||||
lA+lD+lE+lF+lG, // E
|
||||
lB+lC+lD+lE, // J
|
||||
lD+lE+lF, // L
|
||||
lB+lC+lD+lE+lF // U
|
||||
};
|
||||
|
||||
static MACHINE_CONFIG_START( zodiac, zodiac_state )
|
||||
|
||||
/* basic machine hardware */
|
||||
MCFG_CPU_ADD("maincpu", TMS1100, 425000) // approximation - RC osc. R=18K, C=100pf
|
||||
MCFG_CPU_ADD("maincpu", TMS1100, 500000) // approximation - RC osc. R=18K, C=100pf
|
||||
MCFG_TMS1XXX_OUTPUT_PLA(zodiac_output_pla)
|
||||
MCFG_TMS1XXX_READ_K_CB(READ8(zodiac_state, read_k))
|
||||
MCFG_TMS1XXX_WRITE_R_CB(WRITE16(zodiac_state, write_r))
|
||||
@ -4339,28 +4368,28 @@ READ8_MEMBER(lostreas_state::read_k)
|
||||
|
||||
static INPUT_PORTS_START( lostreas )
|
||||
PORT_START("IN.0") // O0
|
||||
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_1) // num
|
||||
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_2) // num
|
||||
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_3) // num
|
||||
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_4) // num
|
||||
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_1) PORT_CODE(KEYCODE_1_PAD) PORT_NAME("1")
|
||||
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_2) PORT_CODE(KEYCODE_2_PAD) PORT_NAME("2")
|
||||
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_3) PORT_CODE(KEYCODE_3_PAD) PORT_NAME("3")
|
||||
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_4) PORT_CODE(KEYCODE_4_PAD) PORT_NAME("4")
|
||||
|
||||
PORT_START("IN.1") // O1
|
||||
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_5) // num
|
||||
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_6) // num
|
||||
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_7) // num
|
||||
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_8) // num
|
||||
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_5) PORT_CODE(KEYCODE_5_PAD) PORT_NAME("5")
|
||||
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_6) PORT_CODE(KEYCODE_6_PAD) PORT_NAME("6")
|
||||
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_7) PORT_CODE(KEYCODE_7_PAD) PORT_NAME("7")
|
||||
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_8) PORT_CODE(KEYCODE_8_PAD) PORT_NAME("8")
|
||||
|
||||
PORT_START("IN.2") // O2
|
||||
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_Q)
|
||||
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_W) // clear
|
||||
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_E)
|
||||
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_R)
|
||||
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_9) PORT_CODE(KEYCODE_9_PAD) PORT_NAME("9")
|
||||
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_DEL) PORT_NAME("Clear")
|
||||
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_A) PORT_CODE(KEYCODE_U) PORT_NAME("Air/Up")
|
||||
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_V) PORT_NAME("$ Value")
|
||||
|
||||
PORT_START("IN.3") // O3
|
||||
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_UNUSED) PORT_CODE(KEYCODE_T) // direction
|
||||
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_Y) // direction
|
||||
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_U) // direction
|
||||
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_I) // direction
|
||||
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_R) PORT_NAME("E-W (silver)")
|
||||
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_E) PORT_NAME("N-S (silver)")
|
||||
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_W) PORT_NAME("E-W (gold)")
|
||||
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_Q) PORT_NAME("N-S (gold)")
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
@ -4373,7 +4402,7 @@ static const INT16 lostreas_speaker_levels[16] =
|
||||
static MACHINE_CONFIG_START( lostreas, lostreas_state )
|
||||
|
||||
/* basic machine hardware */
|
||||
MCFG_CPU_ADD("maincpu", TMS1100, 400000) // approximation - RC osc. R=39K, C=47pf
|
||||
MCFG_CPU_ADD("maincpu", TMS1100, 425000) // approximation - RC osc. R=39K, C=47pf
|
||||
MCFG_TMS1XXX_READ_K_CB(READ8(lostreas_state, read_k))
|
||||
MCFG_TMS1XXX_WRITE_R_CB(WRITE16(lostreas_state, write_r))
|
||||
MCFG_TMS1XXX_WRITE_O_CB(WRITE16(lostreas_state, write_o))
|
||||
@ -5303,7 +5332,7 @@ ROM_END
|
||||
COMP( 1980, mathmagi, 0, 0, mathmagi, mathmagi, driver_device, 0, "APF Electronics Inc.", "Mathemagician", MACHINE_SUPPORTS_SAVE | MACHINE_NO_SOUND_HW )
|
||||
|
||||
CONS( 1979, amaztron, 0, 0, amaztron, amaztron, driver_device, 0, "Coleco", "Amaze-A-Tron", MACHINE_SUPPORTS_SAVE )
|
||||
CONS( 1979, zodiac, 0, 0, zodiac, zodiac, driver_device, 0, "Coleco", "Zodiac - The Astrology Computer", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING )
|
||||
COMP( 1979, zodiac, 0, 0, zodiac, zodiac, driver_device, 0, "Coleco", "Zodiac - The Astrology Computer", MACHINE_SUPPORTS_SAVE )
|
||||
CONS( 1978, cqback, 0, 0, cqback, cqback, driver_device, 0, "Coleco", "Electronic Quarterback", MACHINE_SUPPORTS_SAVE )
|
||||
CONS( 1980, h2hfootb, 0, 0, h2hfootb, h2hfootb, driver_device, 0, "Coleco", "Head to Head Football", MACHINE_SUPPORTS_SAVE )
|
||||
CONS( 1980, h2hbaseb, 0, 0, h2hbaseb, h2hbaseb, driver_device, 0, "Coleco", "Head to Head Baseball", MACHINE_SUPPORTS_SAVE )
|
||||
@ -5341,7 +5370,7 @@ CONS( 1979, stopthiep, stopthie, 0, stopthief, stopthief, driver_device, 0, "Par
|
||||
CONS( 1980, bankshot, 0, 0, bankshot, bankshot, driver_device, 0, "Parker Brothers", "Bank Shot - Electronic Pool", MACHINE_SUPPORTS_SAVE )
|
||||
CONS( 1980, splitsec, 0, 0, splitsec, splitsec, driver_device, 0, "Parker Brothers", "Split Second", MACHINE_SUPPORTS_SAVE )
|
||||
CONS( 1982, mmerlin, 0, 0, mmerlin, mmerlin, driver_device, 0, "Parker Brothers", "Master Merlin", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
|
||||
CONS( 1982, lostreas, 0, 0, lostreas, lostreas, driver_device, 0, "Parker Brothers", "Lost Treasure - The Electronic Deep-Sea Diving Game (Electronic Dive-Control Center)", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING ) // ***
|
||||
CONS( 1982, lostreas, 0, 0, lostreas, lostreas, driver_device, 0, "Parker Brothers", "Lost Treasure - The Electronic Deep-Sea Diving Game (Electronic Dive-Control Center)", MACHINE_SUPPORTS_SAVE ) // ***
|
||||
|
||||
CONS( 1981, tandy12, 0, 0, tandy12, tandy12, driver_device, 0, "Tandy Radio Shack", "Tandy-12: Computerized Arcade", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) // some of the minigames: ***
|
||||
|
||||
|
@ -3,6 +3,10 @@
|
||||
|
||||
<!-- define elements -->
|
||||
|
||||
<element name="static_black"><rect><color red="0" green="0" blue="0" /></rect></element>
|
||||
<element name="disk_black"><disk><color red="0" green="0" blue="0" /></disk></element>
|
||||
<element name="disk_red"><disk><color red="0.25" green="0.05" blue="0.02" /></disk></element>
|
||||
|
||||
<element name="led" defstate="0">
|
||||
<disk state="0"><color red="0.2" green="0.04" blue="0.046" /></disk>
|
||||
<disk state="1"><color red="1.0" green="0.2" blue="0.23" /></disk>
|
||||
@ -12,38 +16,68 @@
|
||||
<led7seg><color red="1.0" green="0.15" blue="0.08" /></led7seg>
|
||||
</element>
|
||||
|
||||
<element name="text_1"><text string="1"><color red="0.7" green="0.7" blue="0.7" /></text></element>
|
||||
<element name="text_2"><text string="2"><color red="0.7" green="0.7" blue="0.7" /></text></element>
|
||||
<element name="text_3"><text string="3"><color red="0.7" green="0.7" blue="0.7" /></text></element>
|
||||
<element name="text_4"><text string="4"><color red="0.7" green="0.7" blue="0.7" /></text></element>
|
||||
<element name="text_5"><text string="5"><color red="0.7" green="0.7" blue="0.7" /></text></element>
|
||||
<element name="text_6"><text string="6"><color red="0.7" green="0.7" blue="0.7" /></text></element>
|
||||
<element name="text_7"><text string="7"><color red="0.7" green="0.7" blue="0.7" /></text></element>
|
||||
<element name="text_8"><text string="8"><color red="0.7" green="0.7" blue="0.7" /></text></element>
|
||||
<element name="text_9"><text string="9"><color red="0.7" green="0.7" blue="0.7" /></text></element>
|
||||
<element name="text_10"><text string="10"><color red="0.7" green="0.7" blue="0.7" /></text></element>
|
||||
<element name="text_11"><text string="11"><color red="0.7" green="0.7" blue="0.7" /></text></element>
|
||||
<element name="text_12"><text string="12"><color red="0.7" green="0.7" blue="0.7" /></text></element>
|
||||
|
||||
|
||||
<!-- build screen -->
|
||||
|
||||
<view name="Internal Layout">
|
||||
<bounds left="0" right="100" top="0" bottom="100" />
|
||||
<bounds left="-35" right="158" top="5" bottom="198" />
|
||||
<bezel element="static_black">
|
||||
<bounds left="-35" right="158" top="5" bottom="198" />
|
||||
</bezel>
|
||||
|
||||
<bezel name="8.0" element="led"><bounds x="1" y="1" width="1" height="1" /></bezel>
|
||||
<bezel name="8.0" element="led"><bounds x="3" y="1" width="1" height="1" /></bezel>
|
||||
<bezel name="8.0" element="led"><bounds x="5" y="1" width="1" height="1" /></bezel>
|
||||
<bezel name="8.0" element="led"><bounds x="7" y="1" width="1" height="1" /></bezel>
|
||||
<bezel name="8.0" element="led"><bounds x="9" y="1" width="1" height="1" /></bezel>
|
||||
<bezel name="8.0" element="led"><bounds x="11" y="1" width="1" height="1" /></bezel>
|
||||
<bezel name="8.0" element="led"><bounds x="13" y="1" width="1" height="1" /></bezel>
|
||||
<bezel name="8.0" element="led"><bounds x="15" y="1" width="1" height="1" /></bezel>
|
||||
<bezel element="disk_red"><bounds x="-40" y="0" width="203" height="203" /></bezel>
|
||||
<bezel element="disk_black"><bounds x="-15" y="25" width="153" height="153" /></bezel>
|
||||
|
||||
<bezel name="9.0" element="led"><bounds x="1" y="3" width="1" height="1" /></bezel>
|
||||
<bezel name="9.0" element="led"><bounds x="3" y="3" width="1" height="1" /></bezel>
|
||||
<bezel name="9.0" element="led"><bounds x="5" y="3" width="1" height="1" /></bezel>
|
||||
<bezel name="9.0" element="led"><bounds x="7" y="3" width="1" height="1" /></bezel>
|
||||
<bezel name="9.0" element="led"><bounds x="9" y="3" width="1" height="1" /></bezel>
|
||||
<bezel name="9.0" element="led"><bounds x="11" y="3" width="1" height="1" /></bezel>
|
||||
<bezel name="9.0" element="led"><bounds x="13" y="3" width="1" height="1" /></bezel>
|
||||
<bezel name="9.0" element="led"><bounds x="15" y="3" width="1" height="1" /></bezel>
|
||||
<bezel name="digit7" element="digit"><bounds x="20" y="70" width="10" height="15" /></bezel>
|
||||
<bezel name="digit6" element="digit"><bounds x="30" y="70" width="10" height="15" /></bezel>
|
||||
<bezel name="digit5" element="digit"><bounds x="40" y="70" width="10" height="15" /></bezel>
|
||||
<bezel name="digit4" element="digit"><bounds x="50" y="70" width="10" height="15" /></bezel>
|
||||
<bezel name="digit3" element="digit"><bounds x="60" y="70" width="10" height="15" /></bezel>
|
||||
<bezel name="digit2" element="digit"><bounds x="70" y="70" width="10" height="15" /></bezel>
|
||||
<bezel name="digit1" element="digit"><bounds x="80" y="70" width="10" height="15" /></bezel>
|
||||
<bezel name="digit0" element="digit"><bounds x="90" y="70" width="10" height="15" /></bezel>
|
||||
|
||||
<bezel name="9.7" element="led"><bounds x="15" y="145" width="3" height="3" /></bezel>
|
||||
<bezel name="9.2" element="led"><bounds x="40" y="160" width="3" height="3" /></bezel>
|
||||
<bezel name="9.4" element="led"><bounds x="80" y="160" width="3" height="3" /></bezel>
|
||||
<bezel name="9.5" element="led"><bounds x="105" y="145" width="3" height="3" /></bezel>
|
||||
<bezel name="9.1" element="led"><bounds x="120" y="120" width="3" height="3" /></bezel>
|
||||
<bezel name="9.3" element="led"><bounds x="120" y="80" width="3" height="3" /></bezel>
|
||||
|
||||
<bezel name="8.7" element="led"><bounds x="105" y="55" width="3" height="3" /></bezel>
|
||||
<bezel name="8.2" element="led"><bounds x="80" y="40" width="3" height="3" /></bezel>
|
||||
<bezel name="8.4" element="led"><bounds x="40" y="40" width="3" height="3" /></bezel>
|
||||
<bezel name="8.5" element="led"><bounds x="15" y="55" width="3" height="3" /></bezel>
|
||||
<bezel name="8.1" element="led"><bounds x="0" y="80" width="3" height="3" /></bezel>
|
||||
<bezel name="8.3" element="led"><bounds x="0" y="120" width="3" height="3" /></bezel>
|
||||
|
||||
<bezel element="text_1"><bounds x="17" y="143" width="12" height="7" /></bezel>
|
||||
<bezel element="text_2"><bounds x="42" y="158" width="12" height="7" /></bezel>
|
||||
<bezel element="text_3"><bounds x="82" y="158" width="12" height="7" /></bezel>
|
||||
<bezel element="text_4"><bounds x="107" y="143" width="12" height="7" /></bezel>
|
||||
<bezel element="text_5"><bounds x="122" y="118" width="12" height="7" /></bezel>
|
||||
<bezel element="text_6"><bounds x="122" y="78" width="12" height="7" /></bezel>
|
||||
|
||||
<bezel element="text_7"><bounds x="107" y="53" width="12" height="7" /></bezel>
|
||||
<bezel element="text_8"><bounds x="82" y="38" width="12" height="7" /></bezel>
|
||||
<bezel element="text_9"><bounds x="42" y="38" width="12" height="7" /></bezel>
|
||||
<bezel element="text_10"><bounds x="17" y="53" width="12" height="7" /></bezel>
|
||||
<bezel element="text_11"><bounds x="2" y="78" width="12" height="7" /></bezel>
|
||||
<bezel element="text_12"><bounds x="2" y="118" width="12" height="7" /></bezel>
|
||||
|
||||
<bezel name="digit7" element="digit"><bounds x="0" y="10" width="10" height="15" /></bezel>
|
||||
<bezel name="digit6" element="digit"><bounds x="10" y="10" width="10" height="15" /></bezel>
|
||||
<bezel name="digit5" element="digit"><bounds x="20" y="10" width="10" height="15" /></bezel>
|
||||
<bezel name="digit4" element="digit"><bounds x="30" y="10" width="10" height="15" /></bezel>
|
||||
<bezel name="digit3" element="digit"><bounds x="40" y="10" width="10" height="15" /></bezel>
|
||||
<bezel name="digit2" element="digit"><bounds x="50" y="10" width="10" height="15" /></bezel>
|
||||
<bezel name="digit1" element="digit"><bounds x="60" y="10" width="10" height="15" /></bezel>
|
||||
<bezel name="digit0" element="digit"><bounds x="70" y="10" width="10" height="15" /></bezel>
|
||||
|
||||
</view>
|
||||
</mamelayout>
|
||||
|
Loading…
Reference in New Issue
Block a user