Skip to content

Update segaufo.cpp #13663

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions src/mame/sega/segaufo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -777,16 +777,16 @@ static INPUT_PORTS_START( ufo21 )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )

PORT_START("DSW1") // coinage
PORT_DIPNAME( 0x01, 0x01, "UNK1-01" )
PORT_DIPNAME( 0x01, 0x01, "1 coin as 2 PLAY" )
PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x02, 0x02, "UNK1-02" )
PORT_DIPNAME( 0x02, 0x02, "1 coin as 3 PLAY, 2 coins as 6 PLAY, 3 coins as 9 PLAY" )
PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x04, 0x04, "UNK1-04" )
PORT_DIPNAME( 0x04, 0x04, "1 coin as 6 PLAY, 2 coins as 9 PLAY" )
PORT_DIPSETTING( 0x04, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x08, 0x08, "UNK1-08" )
PORT_DIPNAME( 0x08, 0x08, "2 coins as 1 PLAY, 3 coins as 2 PLAY" )
PORT_DIPSETTING( 0x08, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x10, 0x10, "UNK1-10" )
Expand All @@ -809,19 +809,19 @@ static INPUT_PORTS_START( ufo21 )
PORT_DIPNAME( 0x02, 0x02, "UNK2-02" )
PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x04, 0x04, "UNK2-04" )
PORT_DIPNAME( 0x04, 0x04, "Advertise BGM CHRISTMAS ON" )
PORT_DIPSETTING( 0x04, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x08, 0x08, "UNK2-08 Demo Music On" )
PORT_DIPNAME( 0x08, 0x08, "Advertise BGM NORMAL ON" )
PORT_DIPSETTING( 0x08, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x10, 0x10, "UNK2-10" )
PORT_DIPNAME( 0x10, 0x10, "TIME ATTACK 1" )
PORT_DIPSETTING( 0x10, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x20, 0x20, "UNK2-20" )
PORT_DIPNAME( 0x20, 0x20, "TIME ATTACK 2" )
PORT_DIPSETTING( 0x20, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x40, 0x40, "UNK2-40" )
PORT_DIPNAME( 0x40, 0x40, "TIME ATTACK 3" )
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x80, 0x80, "UNK2-80" )
Expand Down
76 changes: 73 additions & 3 deletions src/mame/sega/segaufoh8.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,38 @@
/*
Sega UFO Catcher on H8 based hardware
UFO 7
Stickers on PCB:
GAME BD UCS
834-14256
S/NO. 103294
UFO 7 MAX Edition
Stickers on PCB:
GAME BD UCM
834-14426
S/NO. xxxxxx
REV.B
UFO 7 Second
Stickers on PCB:
GAME BD USS
834-14486
S/NO. xxxxxx
Chips on PCB:
UFO 7 REV.B
Chips on PCB:
1x SEGA 315-5338A
1x SEGA 315-5296
1x H8/3007 2D3 HD6413007F20 JAPAN
1x YAMAHA YM3438
UFO 7 Second Rev.A
Chips on PCB:
1x SEGA 315-5338B
1x SEGA 315-5296A
1x H8/3007
1x YAMAHA YM3438C-D
*/

#include "emu.h"
Expand Down Expand Up @@ -107,6 +124,53 @@ static INPUT_PORTS_START( ufo7 )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
INPUT_PORTS_END

static INPUT_PORTS_START( ufo7s )
PORT_START("IN1")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )

PORT_START("IN2")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )

PORT_START("DSW1") // only one bank of dips on PCB, but there is a second empty space
PORT_DIPNAME( 0x01, 0x01, "UNK1-01" )
PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x02, 0x02, "UNK1-02" )
PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x04, 0x04, "UNK1-04" )
PORT_DIPSETTING( 0x04, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x08, 0x08, "UNK1-08" )
PORT_DIPSETTING( 0x08, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x10, 0x10, "UNK1-10" )
PORT_DIPSETTING( 0x10, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x20, 0x20, "UNK1-20" )
PORT_DIPSETTING( 0x20, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x40, 0x40, "UNK1-40" )
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x80, 0x80, "UNK1-80" )
PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
INPUT_PORTS_END

void segaufoh8_state::segaufoh8(machine_config &config)
{
Expand All @@ -130,7 +194,13 @@ ROM_START( ufo7 )
ROM_LOAD16_WORD_SWAP( "epr-23795b.ic408", 0x00000, 0x80000, CRC(ca153fc7) SHA1(f21878deaff2c86896912a8a0a4b17b44e5ef65c) )
ROM_END


ROM_START( ufo7s )
ROM_REGION(0x80000, "maincpu", 0)
ROM_LOAD16_WORD_SWAP( "epr-24240a.ic408", 0x00000, 0x80000, CRC(68631710) SHA1(fa1a214229de5e90fed642c9ca64b9fe2d4050e8) )
ROM_END
} // anonymous namespace


GAME( 2001, ufo7, 0, segaufoh8, ufo7, segaufoh8_state, empty_init, ROT0, "Sega", "UFO Catcher 7", MACHINE_NO_SOUND | MACHINE_NOT_WORKING | MACHINE_MECHANICAL | MACHINE_REQUIRES_ARTWORK ) // UFO Catch 7 V20011112 in string in ROM
GAME( 2004, ufo7, 0, segaufoh8, ufo7s, segaufoh8_state, empty_init, ROT0, "Sega", "UFO Catcher 7 Second", MACHINE_NO_SOUND | MACHINE_NOT_WORKING | MACHINE_MECHANICAL | MACHINE_REQUIRES_ARTWORK ) //