mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
Williams system3 : Contact and Disco Fever marked as WORKING.
This commit is contained in:
parent
3d697c9406
commit
a8db9e1299
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -4442,6 +4442,7 @@ src/mame/layout/roul.lay svneol=native#text/plain
|
||||
src/mame/layout/roundup5.lay svneol=native#text/plain
|
||||
src/mame/layout/rowamet.lay svneol=native#text/plain
|
||||
src/mame/layout/royalcrd.lay svneol=native#text/plain
|
||||
src/mame/layout/s3.lay svneol=native#text/plain
|
||||
src/mame/layout/saiyukip.lay svneol=native#text/plain
|
||||
src/mame/layout/sbrkout.lay svneol=native#text/plain
|
||||
src/mame/layout/sc1_vfd.lay svneol=native#text/plain
|
||||
|
@ -5,8 +5,12 @@
|
||||
|
||||
Typical of Williams hardware: Motorola 8-bit CPUs, and lots of PIAs.
|
||||
|
||||
Sound doesn't work because the diagram doesn't show where the sound data
|
||||
comes from. (variable m_sound_data needs to be written to).
|
||||
When first used, the nvram gets initialised but is otherwise unusable. It will
|
||||
work on the next use.
|
||||
|
||||
ToDo:
|
||||
- Diagnostic switch
|
||||
|
||||
|
||||
************************************************************************************/
|
||||
|
||||
@ -15,7 +19,7 @@
|
||||
#include "cpu/m6800/m6800.h"
|
||||
#include "machine/6821pia.h"
|
||||
#include "sound/dac.h"
|
||||
//#include "s3.lh"
|
||||
#include "s3.lh"
|
||||
|
||||
|
||||
class s3_state : public genpin_class
|
||||
@ -38,6 +42,8 @@ public:
|
||||
DECLARE_WRITE8_MEMBER(dig1_w);
|
||||
DECLARE_WRITE8_MEMBER(lamp0_w);
|
||||
DECLARE_WRITE8_MEMBER(lamp1_w);
|
||||
DECLARE_WRITE8_MEMBER(sol0_w);
|
||||
DECLARE_WRITE8_MEMBER(sol1_w);
|
||||
DECLARE_READ8_MEMBER(switch_r);
|
||||
DECLARE_WRITE8_MEMBER(switch_w);
|
||||
DECLARE_READ_LINE_MEMBER(cb1_r);
|
||||
@ -59,12 +65,15 @@ private:
|
||||
UINT8 m_t_c;
|
||||
UINT8 m_sound_data;
|
||||
UINT8 m_strobe;
|
||||
UINT8 m_kbdrow;
|
||||
bool m_cb1;
|
||||
bool m_data_ok;
|
||||
};
|
||||
|
||||
static ADDRESS_MAP_START( s3_main_map, AS_PROGRAM, 8, s3_state )
|
||||
ADDRESS_MAP_GLOBAL_MASK(0x7fff)
|
||||
AM_RANGE(0x0000, 0x01ff) AM_RAM
|
||||
AM_RANGE(0x0000, 0x00ff) AM_RAM
|
||||
AM_RANGE(0x0100, 0x017f) AM_RAM AM_SHARE("nvram")
|
||||
AM_RANGE(0x2200, 0x2203) AM_DEVREADWRITE("pia0", pia6821_device, read, write) // solenoids
|
||||
AM_RANGE(0x2400, 0x2403) AM_DEVREADWRITE("pia1", pia6821_device, read, write) // lamps
|
||||
AM_RANGE(0x2800, 0x2803) AM_DEVREADWRITE("pia2", pia6821_device, read, write) // display
|
||||
@ -81,6 +90,78 @@ static ADDRESS_MAP_START( s3_audio_map, AS_PROGRAM, 8, s3_state )
|
||||
ADDRESS_MAP_END
|
||||
|
||||
static INPUT_PORTS_START( s3 )
|
||||
PORT_START("X0")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_Q)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_W)
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_E)
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_R)
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_Y)
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_U)
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_I)
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_O)
|
||||
|
||||
PORT_START("X1")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_TILT )
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_START )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN3 )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER )
|
||||
|
||||
PORT_START("X2")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_A)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_S)
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_D)
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_F)
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_G)
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_H)
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_J)
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_K)
|
||||
|
||||
PORT_START("X4")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_L)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_Z)
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_C)
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_V)
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_B)
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_N)
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_M)
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_COMMA)
|
||||
|
||||
PORT_START("X8")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_STOP)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_SLASH)
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_COLON)
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_QUOTE)
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Outhole") PORT_CODE(KEYCODE_X)
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_MINUS)
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_EQUALS)
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_BACKSPACE)
|
||||
|
||||
PORT_START("X10")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_OPENBRACE)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_CLOSEBRACE)
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_BACKSLASH)
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_ENTER)
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_LEFT)
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_RIGHT)
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_UP)
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_DOWN)
|
||||
|
||||
PORT_START("X20")
|
||||
PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
|
||||
PORT_START("X40")
|
||||
PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
|
||||
PORT_START("X80")
|
||||
PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
|
||||
PORT_START("SND")
|
||||
PORT_BIT( 0xbf, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Music") PORT_CODE(KEYCODE_9) PORT_TOGGLE
|
||||
INPUT_PORTS_END
|
||||
|
||||
void s3_state::machine_reset()
|
||||
@ -88,6 +169,44 @@ void s3_state::machine_reset()
|
||||
m_t_c = 0;
|
||||
}
|
||||
|
||||
WRITE8_MEMBER( s3_state::sol0_w )
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
WRITE8_MEMBER( s3_state::sol1_w )
|
||||
{
|
||||
m_sound_data = ioport("SND")->read(); // 0xff or 0xbf
|
||||
if (BIT(data, 0))
|
||||
m_sound_data &= 0xfe;
|
||||
else
|
||||
if (BIT(data, 1))
|
||||
m_sound_data &= 0xfd;
|
||||
else
|
||||
if (BIT(data, 2))
|
||||
m_sound_data &= 0xfb;
|
||||
else
|
||||
if (BIT(data, 3))
|
||||
m_sound_data &= 0xf7;
|
||||
else
|
||||
if (BIT(data, 4))
|
||||
m_sound_data &= 0x7f;
|
||||
else
|
||||
if (BIT(data, 5))
|
||||
m_samples->start(0, 6); // knocker
|
||||
|
||||
if ((m_sound_data & 0xbf) == 0xbf)
|
||||
{
|
||||
m_cb1 = 0;
|
||||
m_pia4->cb1_w(0);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_cb1 = 1;
|
||||
m_pia4->cb1_w(1);
|
||||
}
|
||||
}
|
||||
|
||||
static const pia6821_interface pia0_intf =
|
||||
{
|
||||
DEVCB_NULL, /* port A in */
|
||||
@ -96,8 +215,8 @@ static const pia6821_interface pia0_intf =
|
||||
DEVCB_LINE_GND, /* line CB1 in */
|
||||
DEVCB_NULL, /* line CA2 in */
|
||||
DEVCB_NULL, /* line CB2 in */
|
||||
DEVCB_NULL, /* port A out */
|
||||
DEVCB_NULL, /* port B out */
|
||||
DEVCB_DRIVER_MEMBER(s3_state, sol0_w), /* port A out */
|
||||
DEVCB_DRIVER_MEMBER(s3_state, sol1_w), /* port B out */
|
||||
DEVCB_NULL, /* line CA2 out */
|
||||
DEVCB_NULL, /* port CB2 out */
|
||||
DEVCB_CPU_INPUT_LINE("maincpu", M6800_IRQ_LINE), /* IRQA */
|
||||
@ -111,7 +230,7 @@ WRITE8_MEMBER( s3_state::lamp0_w )
|
||||
|
||||
WRITE8_MEMBER( s3_state::lamp1_w )
|
||||
{
|
||||
//printf("1=%X ",data);
|
||||
|
||||
}
|
||||
|
||||
static const pia6821_interface pia1_intf =
|
||||
@ -133,15 +252,18 @@ static const pia6821_interface pia1_intf =
|
||||
WRITE8_MEMBER( s3_state::dig0_w )
|
||||
{
|
||||
m_strobe = data;
|
||||
m_data_ok = true;
|
||||
}
|
||||
|
||||
WRITE8_MEMBER( s3_state::dig1_w )
|
||||
{
|
||||
static const UINT8 patterns[16] = { 0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7d, 0x07, 0x7f, 0x6f, 0, 0, 0, 0, 0, 0 }; // MC14558
|
||||
// player 1, 2, credits, balls
|
||||
output_set_digit_value(m_strobe, patterns[data&15]);
|
||||
// player 3 and 4
|
||||
output_set_digit_value(m_strobe+20, patterns[data>>4]);
|
||||
static const UINT8 patterns[16] = { 0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7c, 0x07, 0x7f, 0x67, 0, 0, 0, 0, 0, 0 }; // MC14558
|
||||
if (m_data_ok)
|
||||
{
|
||||
output_set_digit_value(m_strobe+16, patterns[data&15]);
|
||||
output_set_digit_value(m_strobe, patterns[data>>4]);
|
||||
}
|
||||
m_data_ok = false;
|
||||
}
|
||||
|
||||
static const pia6821_interface pia2_intf =
|
||||
@ -162,12 +284,14 @@ static const pia6821_interface pia2_intf =
|
||||
|
||||
READ8_MEMBER( s3_state::switch_r )
|
||||
{
|
||||
return 0xff;
|
||||
char kbdrow[8];
|
||||
sprintf(kbdrow,"X%X",m_kbdrow);
|
||||
return ioport(kbdrow)->read();
|
||||
}
|
||||
|
||||
WRITE8_MEMBER( s3_state::switch_w )
|
||||
{
|
||||
|
||||
m_kbdrow = data;
|
||||
}
|
||||
|
||||
static const pia6821_interface pia3_intf =
|
||||
@ -193,8 +317,6 @@ READ_LINE_MEMBER( s3_state::cb1_r )
|
||||
|
||||
READ8_MEMBER( s3_state::dac_r )
|
||||
{
|
||||
m_cb1 = (m_sound_data < 255);
|
||||
// add code to activate cb1
|
||||
return m_sound_data;
|
||||
}
|
||||
|
||||
@ -236,13 +358,13 @@ static MACHINE_CONFIG_START( s3, s3_state )
|
||||
MCFG_TIMER_DRIVER_ADD_PERIODIC("irq", s3_state, irq, attotime::from_hz(1000))
|
||||
|
||||
/* Video */
|
||||
//MCFG_DEFAULT_LAYOUT(layout_s3)
|
||||
MCFG_DEFAULT_LAYOUT(layout_s3)
|
||||
|
||||
/* Sound */
|
||||
MCFG_FRAGMENT_ADD( genpin_audio )
|
||||
MCFG_SPEAKER_STANDARD_MONO("mono")
|
||||
MCFG_SOUND_ADD("dac", DAC, 0)
|
||||
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
|
||||
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
|
||||
|
||||
/* Devices */
|
||||
MCFG_PIA6821_ADD("pia0", pia0_intf)
|
||||
@ -250,6 +372,7 @@ static MACHINE_CONFIG_START( s3, s3_state )
|
||||
MCFG_PIA6821_ADD("pia2", pia2_intf)
|
||||
MCFG_PIA6821_ADD("pia3", pia3_intf)
|
||||
MCFG_PIA6821_ADD("pia4", pia4_intf)
|
||||
MCFG_NVRAM_ADD_1FILL("nvram")
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
/*-------------------------------------
|
||||
@ -316,8 +439,8 @@ ROM_START(wldcp_l1)
|
||||
ROM_END
|
||||
|
||||
|
||||
GAME( 1977, httip_l1, 0, s3, s3, driver_device, 0, ROT0, "Williams", "Hot Tip (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME( 1977, lucky_l1, 0, s3, s3, driver_device, 0, ROT0, "Williams", "Lucky Seven (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME( 1978, wldcp_l1, 0, s3, s3, driver_device, 0, ROT0, "Williams", "World Cup Soccer (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME( 1978, cntct_l1, 0, s3, s3, driver_device, 0, ROT0, "Williams", "Contact (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME( 1978, disco_l1, 0, s3, s3, driver_device, 0, ROT0, "Williams", "Disco Fever (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME( 1977, httip_l1, 0, s3, s3, driver_device, 0, ROT0, "Williams", "Hot Tip (L-1)", GAME_MECHANICAL | GAME_NO_SOUND)
|
||||
GAME( 1977, lucky_l1, 0, s3, s3, driver_device, 0, ROT0, "Williams", "Lucky Seven (L-1)", GAME_MECHANICAL | GAME_NO_SOUND)
|
||||
GAME( 1978, wldcp_l1, 0, s3, s3, driver_device, 0, ROT0, "Williams", "World Cup Soccer (L-1)", GAME_MECHANICAL | GAME_NOT_WORKING)
|
||||
GAME( 1978, cntct_l1, 0, s3, s3, driver_device, 0, ROT0, "Williams", "Contact (L-1)", GAME_MECHANICAL)
|
||||
GAME( 1978, disco_l1, 0, s3, s3, driver_device, 0, ROT0, "Williams", "Disco Fever (L-1)", GAME_MECHANICAL)
|
||||
|
@ -3,15 +3,15 @@
|
||||
*/
|
||||
|
||||
|
||||
#include "emu.h"
|
||||
#include "machine/genpin.h"
|
||||
#include "cpu/m6800/m6800.h"
|
||||
|
||||
class williams_s4_state : public driver_device
|
||||
class s4_state : public genpin_class
|
||||
{
|
||||
public:
|
||||
williams_s4_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this, "maincpu")
|
||||
s4_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: genpin_class(mconfig, type, tag),
|
||||
m_maincpu(*this, "maincpu")
|
||||
{ }
|
||||
|
||||
protected:
|
||||
@ -21,29 +21,24 @@ protected:
|
||||
|
||||
// driver_device overrides
|
||||
virtual void machine_reset();
|
||||
public:
|
||||
DECLARE_DRIVER_INIT(williams_s4);
|
||||
private:
|
||||
};
|
||||
|
||||
static ADDRESS_MAP_START( williams_s4_map, AS_PROGRAM, 8, williams_s4_state )
|
||||
static ADDRESS_MAP_START( s4_main_map, AS_PROGRAM, 8, s4_state )
|
||||
AM_RANGE(0x0000, 0xffff) AM_NOP
|
||||
ADDRESS_MAP_END
|
||||
|
||||
static INPUT_PORTS_START( williams_s4 )
|
||||
static INPUT_PORTS_START( s4 )
|
||||
INPUT_PORTS_END
|
||||
|
||||
void williams_s4_state::machine_reset()
|
||||
void s4_state::machine_reset()
|
||||
{
|
||||
}
|
||||
|
||||
DRIVER_INIT_MEMBER(williams_s4_state,williams_s4)
|
||||
{
|
||||
}
|
||||
|
||||
static MACHINE_CONFIG_START( williams_s4, williams_s4_state )
|
||||
static MACHINE_CONFIG_START( s4, s4_state )
|
||||
/* basic machine hardware */
|
||||
MCFG_CPU_ADD("maincpu", M6800, 1000000)
|
||||
MCFG_CPU_PROGRAM_MAP(williams_s4_map)
|
||||
MCFG_CPU_PROGRAM_MAP(s4_main_map)
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
/*--------------------------------
|
||||
@ -57,7 +52,8 @@ ROM_START(flash_l1)
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_LOAD("green1.716", 0x7000, 0x0800, CRC(2145f8ab) SHA1(ddf63208559a3a08d4e88327c55426b0eed27654))
|
||||
ROM_RELOAD( 0xf000, 0x0800)
|
||||
ROM_REGION(0x10000, "cpu2", 0)
|
||||
|
||||
ROM_REGION(0x10000, "audiocpu", 0)
|
||||
ROM_LOAD("sound1.716", 0x7800, 0x0800, CRC(f4190ca3) SHA1(ee234fb5c894fca5876ee6dc7ea8e89e7e0aec9c))
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_END
|
||||
@ -70,7 +66,8 @@ ROM_START(flash_t1)
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_LOAD("green1.716", 0x7000, 0x0800, CRC(2145f8ab) SHA1(ddf63208559a3a08d4e88327c55426b0eed27654))
|
||||
ROM_RELOAD( 0xf000, 0x0800)
|
||||
ROM_REGION(0x10000, "cpu2", 0)
|
||||
|
||||
ROM_REGION(0x10000, "audiocpu", 0)
|
||||
ROM_LOAD("sound1.716", 0x7800, 0x0800, CRC(f4190ca3) SHA1(ee234fb5c894fca5876ee6dc7ea8e89e7e0aec9c))
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_END
|
||||
@ -86,7 +83,8 @@ ROM_START(phnix_l1)
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_LOAD("white1.716", 0x7000, 0x0800, CRC(9bbbf14f) SHA1(b0542ffdd683fa0ea4a9819576f3789cd5a4b2eb))
|
||||
ROM_RELOAD( 0xf000, 0x0800)
|
||||
ROM_REGION(0x10000, "cpu2", 0)
|
||||
|
||||
ROM_REGION(0x10000, "audiocpu", 0)
|
||||
ROM_LOAD("sound1.716", 0x7800, 0x0800, CRC(f4190ca3) SHA1(ee234fb5c894fca5876ee6dc7ea8e89e7e0aec9c))
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_END
|
||||
@ -102,7 +100,8 @@ ROM_START(pkrno_l1)
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_LOAD("white1.716", 0x7000, 0x0800, CRC(9bbbf14f) SHA1(b0542ffdd683fa0ea4a9819576f3789cd5a4b2eb))
|
||||
ROM_RELOAD( 0xf000, 0x0800)
|
||||
ROM_REGION(0x10000, "cpu2", 0)
|
||||
|
||||
ROM_REGION(0x10000, "audiocpu", 0)
|
||||
ROM_LOAD("sound1.716", 0x7800, 0x0800, CRC(f4190ca3) SHA1(ee234fb5c894fca5876ee6dc7ea8e89e7e0aec9c))
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_END
|
||||
@ -118,7 +117,8 @@ ROM_START(stlwr_l2)
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_LOAD("yellow1.716", 0x7000, 0x0800, CRC(d251738c) SHA1(65ddbf5c36e429243331a4c5d2339df87a8a7f64))
|
||||
ROM_RELOAD( 0xf000, 0x0800)
|
||||
ROM_REGION(0x10000, "cpu2", 0)
|
||||
|
||||
ROM_REGION(0x10000, "audiocpu", 0)
|
||||
ROM_LOAD("sound1.716", 0x7800, 0x0800, CRC(f4190ca3) SHA1(ee234fb5c894fca5876ee6dc7ea8e89e7e0aec9c))
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_END
|
||||
@ -134,7 +134,8 @@ ROM_START(pomp_l1)
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_LOAD("b_ic20.716", 0x7000, 0x0800, CRC(c6f8e3b1) SHA1(cb78d42e1265162132a1ab2320148b6857106b0e))
|
||||
ROM_RELOAD( 0xf000, 0x0800)
|
||||
ROM_REGION(0x10000, "cpu2", 0)
|
||||
|
||||
ROM_REGION(0x10000, "audiocpu", 0)
|
||||
ROM_LOAD("soundx.716", 0x7800, 0x0800, CRC(539d64fb) SHA1(ff0d09c8d7c65e1072691b5b9e4fcaa3f38d67e8))
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_END
|
||||
@ -150,7 +151,8 @@ ROM_START(arist_l1)
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_LOAD("b_ic20.716", 0x7000, 0x0800, CRC(c6f8e3b1) SHA1(cb78d42e1265162132a1ab2320148b6857106b0e))
|
||||
ROM_RELOAD( 0xf000, 0x0800)
|
||||
ROM_REGION(0x10000, "cpu2", 0)
|
||||
|
||||
ROM_REGION(0x10000, "audiocpu", 0)
|
||||
ROM_LOAD("soundx.716", 0x7800, 0x0800, CRC(539d64fb) SHA1(ff0d09c8d7c65e1072691b5b9e4fcaa3f38d67e8))
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_END
|
||||
@ -166,7 +168,8 @@ ROM_START(topaz_l1)
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_LOAD("b_ic20.716", 0x7000, 0x0800, CRC(c6f8e3b1) SHA1(cb78d42e1265162132a1ab2320148b6857106b0e))
|
||||
ROM_RELOAD( 0xf000, 0x0800)
|
||||
ROM_REGION(0x10000, "cpu2", 0)
|
||||
|
||||
ROM_REGION(0x10000, "audiocpu", 0)
|
||||
ROM_LOAD("sound1.716", 0x7800, 0x0800, CRC(f4190ca3) SHA1(ee234fb5c894fca5876ee6dc7ea8e89e7e0aec9c))
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_END
|
||||
@ -182,7 +185,8 @@ ROM_START(taurs_l1)
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_LOAD("b_ic20.716", 0x7000, 0x0800, CRC(c6f8e3b1) SHA1(cb78d42e1265162132a1ab2320148b6857106b0e))
|
||||
ROM_RELOAD( 0xf000, 0x0800)
|
||||
ROM_REGION(0x10000, "cpu2", 0)
|
||||
|
||||
ROM_REGION(0x10000, "audiocpu", 0)
|
||||
ROM_LOAD("soundx.716", 0x7800, 0x0800, CRC(539d64fb) SHA1(ff0d09c8d7c65e1072691b5b9e4fcaa3f38d67e8))
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_END
|
||||
@ -198,7 +202,8 @@ ROM_START(kingt_l1)
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_LOAD("b_ic20.716", 0x7000, 0x0800, CRC(c6f8e3b1) SHA1(cb78d42e1265162132a1ab2320148b6857106b0e))
|
||||
ROM_RELOAD( 0xf000, 0x0800)
|
||||
ROM_REGION(0x10000, "cpu2", 0)
|
||||
|
||||
ROM_REGION(0x10000, "audiocpu", 0)
|
||||
ROM_LOAD("soundx.716", 0x7800, 0x0800, CRC(539d64fb) SHA1(ff0d09c8d7c65e1072691b5b9e4fcaa3f38d67e8))
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_END
|
||||
@ -214,7 +219,8 @@ ROM_START(omni_l1)
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_LOAD("b_ic20.716", 0x7000, 0x0800, CRC(c6f8e3b1) SHA1(cb78d42e1265162132a1ab2320148b6857106b0e))
|
||||
ROM_RELOAD( 0xf000, 0x0800)
|
||||
ROM_REGION(0x10000, "cpu2", 0)
|
||||
|
||||
ROM_REGION(0x10000, "audiocpu", 0)
|
||||
ROM_LOAD("sound.716", 0x7800, 0x0800, CRC(db085cbb) SHA1(9a57abbad183ba16b3dba16d16923c3bfc46a0c3))
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_END
|
||||
@ -230,6 +236,8 @@ ROM_START(bstrk_l1)
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_LOAD("b_ic20.716", 0x7000, 0x0800, CRC(c6f8e3b1) SHA1(cb78d42e1265162132a1ab2320148b6857106b0e))
|
||||
ROM_RELOAD( 0xf000, 0x0800)
|
||||
|
||||
ROM_REGION(0x10000, "audiocpu", ROMREGION_ERASEFF)
|
||||
ROM_END
|
||||
|
||||
/*----------------------------
|
||||
@ -243,19 +251,21 @@ ROM_START(tstrk_l1)
|
||||
ROM_RELOAD( 0xf800, 0x0800)
|
||||
ROM_LOAD("ic20.716", 0x7000, 0x0800, CRC(f163fc88) SHA1(988b60626f3d4dc8f4a1dbd0c99282418bc53aae))
|
||||
ROM_RELOAD( 0xf000, 0x0800)
|
||||
|
||||
ROM_REGION(0x10000, "audiocpu", ROMREGION_ERASEFF)
|
||||
ROM_END
|
||||
|
||||
|
||||
GAME(1979, flash_l1, 0, williams_s4, williams_s4, williams_s4_state, williams_s4, ROT0, "Williams", "Flash (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1979, flash_t1, flash_l1, williams_s4, williams_s4, williams_s4_state, williams_s4, ROT0, "Williams", "Flash (T-1) Ted Estes", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1978, phnix_l1, 0, williams_s4, williams_s4, williams_s4_state, williams_s4, ROT0, "Williams", "Phoenix (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1978, pkrno_l1, 0, williams_s4, williams_s4, williams_s4_state, williams_s4, ROT0, "Williams", "Pokerino (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1979, stlwr_l2, 0, williams_s4, williams_s4, williams_s4_state, williams_s4, ROT0, "Williams", "Stellar Wars (L-2)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1978, pomp_l1, 0, williams_s4, williams_s4, williams_s4_state, williams_s4, ROT0, "Williams", "Pompeii (Shuffle) (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1978, arist_l1, 0, williams_s4, williams_s4, williams_s4_state, williams_s4, ROT0, "Williams", "Aristocrat (Shuffle) (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1978, topaz_l1, 0, williams_s4, williams_s4, williams_s4_state, williams_s4, ROT0, "Williams", "Topaz (Shuffle) (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1979, taurs_l1, 0, williams_s4, williams_s4, williams_s4_state, williams_s4, ROT0, "Williams", "Taurus (Shuffle) (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1979, kingt_l1, 0, williams_s4, williams_s4, williams_s4_state, williams_s4, ROT0, "Williams", "King Tut (Shuffle) (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1980, omni_l1, 0, williams_s4, williams_s4, williams_s4_state, williams_s4, ROT0, "Williams", "Omni (Shuffle) (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1983, bstrk_l1, 0, williams_s4, williams_s4, williams_s4_state, williams_s4, ROT0, "Williams", "Big Strike (Shuffle) (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1983, tstrk_l1, 0, williams_s4, williams_s4, williams_s4_state, williams_s4, ROT0, "Williams", "Triple Strike (Shuffle) (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1979,flash_l1, 0, s4, s4, driver_device, 0, ROT0, "Williams", "Flash (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1979,flash_t1, flash_l1, s4, s4, driver_device, 0, ROT0, "Williams", "Flash (T-1) Ted Estes", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1978,phnix_l1, 0, s4, s4, driver_device, 0, ROT0, "Williams", "Phoenix (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1978,pkrno_l1, 0, s4, s4, driver_device, 0, ROT0, "Williams", "Pokerino (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1979,stlwr_l2, 0, s4, s4, driver_device, 0, ROT0, "Williams", "Stellar Wars (L-2)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1978,pomp_l1, 0, s4, s4, driver_device, 0, ROT0, "Williams", "Pompeii (Shuffle) (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1978,arist_l1, 0, s4, s4, driver_device, 0, ROT0, "Williams", "Aristocrat (Shuffle) (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1978,topaz_l1, 0, s4, s4, driver_device, 0, ROT0, "Williams", "Topaz (Shuffle) (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1979,taurs_l1, 0, s4, s4, driver_device, 0, ROT0, "Williams", "Taurus (Shuffle) (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1979,kingt_l1, 0, s4, s4, driver_device, 0, ROT0, "Williams", "King Tut (Shuffle) (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1980,omni_l1, 0, s4, s4, driver_device, 0, ROT0, "Williams", "Omni (Shuffle) (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1983,bstrk_l1, 0, s4, s4, driver_device, 0, ROT0, "Williams", "Big Strike (Shuffle) (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
GAME(1983,tstrk_l1, 0, s4, s4, driver_device, 0, ROT0, "Williams", "Triple Strike (Shuffle) (L-1)", GAME_IS_SKELETON_MECHANICAL)
|
||||
|
136
src/mame/layout/s3.lay
Normal file
136
src/mame/layout/s3.lay
Normal file
@ -0,0 +1,136 @@
|
||||
<!-- s3.lay -->
|
||||
|
||||
<!-- 2012-10-21: Initial version. [Robbbert] -->
|
||||
|
||||
<mamelayout version="2">
|
||||
|
||||
<element name="digit" defstate="0">
|
||||
<led7seg>
|
||||
<color red="1.0" green="0.25" blue="0.0" />
|
||||
</led7seg>
|
||||
</element>
|
||||
|
||||
<element name="background">
|
||||
<rect>
|
||||
<bounds left="0" top="0" right="1" bottom="1" />
|
||||
<color red="0.0" green="0.0" blue="0.0" />
|
||||
</rect>
|
||||
</element>
|
||||
<element name="P0"><text string="Ball / Match"><color red="1.0" green="1.0" blue="1.0" /></text></element>
|
||||
<element name="P1"><text string="Credits"><color red="1.0" green="1.0" blue="1.0" /></text></element>
|
||||
<element name="P3"><text string="Player 1"><color red="1.0" green="1.0" blue="1.0" /></text></element>
|
||||
<element name="P4"><text string="Player 2"><color red="1.0" green="1.0" blue="1.0" /></text></element>
|
||||
<element name="P5"><text string="Player 3"><color red="1.0" green="1.0" blue="1.0" /></text></element>
|
||||
<element name="P6"><text string="Player 4"><color red="1.0" green="1.0" blue="1.0" /></text></element>
|
||||
|
||||
<view name="Default Layout">
|
||||
|
||||
<!-- Background -->
|
||||
<backdrop element="background">
|
||||
<bounds left="0" top="20" right="274" bottom="394" />
|
||||
</backdrop>
|
||||
|
||||
<!-- LEDs -->
|
||||
|
||||
<!-- Player 1 Score -->
|
||||
|
||||
<bezel name="digit0" element="digit">
|
||||
<bounds left="10" top="45" right="44" bottom="84" />
|
||||
</bezel>
|
||||
<bezel name="digit1" element="digit">
|
||||
<bounds left="54" top="45" right="88" bottom="84" />
|
||||
</bezel>
|
||||
<bezel name="digit2" element="digit">
|
||||
<bounds left="98" top="45" right="132" bottom="84" />
|
||||
</bezel>
|
||||
<bezel name="digit3" element="digit">
|
||||
<bounds left="142" top="45" right="176" bottom="84" />
|
||||
</bezel>
|
||||
<bezel name="digit4" element="digit">
|
||||
<bounds left="186" top="45" right="220" bottom="84" />
|
||||
</bezel>
|
||||
<bezel name="digit5" element="digit">
|
||||
<bounds left="230" top="45" right="264" bottom="84" />
|
||||
</bezel>
|
||||
|
||||
<!-- Player 2 Score -->
|
||||
<bezel name="digit8" element="digit">
|
||||
<bounds left="10" top="105" right="44" bottom="144" />
|
||||
</bezel>
|
||||
<bezel name="digit9" element="digit">
|
||||
<bounds left="54" top="105" right="88" bottom="144" />
|
||||
</bezel>
|
||||
<bezel name="digit10" element="digit">
|
||||
<bounds left="98" top="105" right="132" bottom="144" />
|
||||
</bezel>
|
||||
<bezel name="digit11" element="digit">
|
||||
<bounds left="142" top="105" right="176" bottom="144" />
|
||||
</bezel>
|
||||
<bezel name="digit12" element="digit">
|
||||
<bounds left="186" top="105" right="220" bottom="144" />
|
||||
</bezel>
|
||||
<bezel name="digit13" element="digit">
|
||||
<bounds left="230" top="105" right="264" bottom="144" />
|
||||
</bezel>
|
||||
|
||||
<!-- Player 3 Score -->
|
||||
<bezel name="digit16" element="digit">
|
||||
<bounds left="10" top="165" right="44" bottom="204" />
|
||||
</bezel>
|
||||
<bezel name="digit17" element="digit">
|
||||
<bounds left="54" top="165" right="88" bottom="204" />
|
||||
</bezel>
|
||||
<bezel name="digit18" element="digit">
|
||||
<bounds left="98" top="165" right="132" bottom="204" />
|
||||
</bezel>
|
||||
<bezel name="digit19" element="digit">
|
||||
<bounds left="142" top="165" right="176" bottom="204" />
|
||||
</bezel>
|
||||
<bezel name="digit20" element="digit">
|
||||
<bounds left="186" top="165" right="220" bottom="204" />
|
||||
</bezel>
|
||||
<bezel name="digit21" element="digit">
|
||||
<bounds left="230" top="165" right="264" bottom="204" />
|
||||
</bezel>
|
||||
|
||||
<!-- Player 4 Score -->
|
||||
<bezel name="digit24" element="digit">
|
||||
<bounds left="10" top="225" right="44" bottom="264" />
|
||||
</bezel>
|
||||
<bezel name="digit25" element="digit">
|
||||
<bounds left="54" top="225" right="88" bottom="264" />
|
||||
</bezel>
|
||||
<bezel name="digit26" element="digit">
|
||||
<bounds left="98" top="225" right="132" bottom="264" />
|
||||
</bezel>
|
||||
<bezel name="digit27" element="digit">
|
||||
<bounds left="142" top="225" right="176" bottom="264" />
|
||||
</bezel>
|
||||
<bezel name="digit28" element="digit">
|
||||
<bounds left="186" top="225" right="220" bottom="264" />
|
||||
</bezel>
|
||||
<bezel name="digit29" element="digit">
|
||||
<bounds left="230" top="225" right="264" bottom="264" />
|
||||
</bezel>
|
||||
|
||||
<!-- Credits and Balls -->
|
||||
<bezel name="digit14" element="digit">
|
||||
<bounds left="10" top="345" right="44" bottom="384" />
|
||||
</bezel>
|
||||
<bezel name="digit15" element="digit">
|
||||
<bounds left="54" top="345" right="88" bottom="384" />
|
||||
</bezel>
|
||||
<bezel name="digit8" element="digit">
|
||||
<bounds left="186" top="345" right="220" bottom="384" />
|
||||
</bezel>
|
||||
<bezel name="digit7" element="digit">
|
||||
<bounds left="230" top="345" right="264" bottom="384" />
|
||||
</bezel>
|
||||
<bezel element="P0"><bounds left="200" right="258" top="330" bottom="342" /></bezel>
|
||||
<bezel element="P1"><bounds left="30" right="88" top="330" bottom="342" /></bezel>
|
||||
<bezel name="text3" element="P3"><bounds left="100" right="180" top="30" bottom="42" /></bezel>
|
||||
<bezel name="text2" element="P4"><bounds left="100" right="180" top="90" bottom="102" /></bezel>
|
||||
<bezel name="text1" element="P5"><bounds left="100" right="180" top="150" bottom="162" /></bezel>
|
||||
<bezel name="text0" element="P6"><bounds left="100" right="180" top="210" bottom="222" /></bezel>
|
||||
</view>
|
||||
</mamelayout>
|
@ -2222,6 +2222,8 @@ $(DRIVERS)/roul.o: $(LAYOUT)/roul.lh
|
||||
|
||||
$(DRIVERS)/rowamet.o: $(LAYOUT)/rowamet.lh
|
||||
|
||||
$(DRIVERS)/s3.o: $(LAYOUT)/s3.lh
|
||||
|
||||
$(DRIVERS)/sbrkout.o: $(LAYOUT)/sbrkout.lh
|
||||
|
||||
$(DRIVERS)/sderby.o: $(LAYOUT)/sderby.lh \
|
||||
|
Loading…
Reference in New Issue
Block a user