summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gameking.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gameking.cpp')
-rw-r--r--src/mame/drivers/gameking.cpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/mame/drivers/gameking.cpp b/src/mame/drivers/gameking.cpp
index 3c76b3aa560..d6a3bdb1095 100644
--- a/src/mame/drivers/gameking.cpp
+++ b/src/mame/drivers/gameking.cpp
@@ -1,5 +1,5 @@
// license:GPL-2.0+
-// copyright-holders:Peter Trauner
+// copyright-holders:Peter Trauner, AJR
/* TimeTop - GameKing */
/*
PeT mess@utanet.at 2015
@@ -101,8 +101,7 @@ void gameking_state::gameking_mem(address_map &map)
void gameking_state::gameking3_mem(address_map &map)
{
map(0x000000, 0x07ffff).rom().region("maincpu", 0);
- map(0x800000, 0x802fff).ram();
- map(0x804800, 0x8048ff).ram();
+ map(0x800000, 0x807fff).ram();
}
@@ -118,6 +117,13 @@ static INPUT_PORTS_START( gameking )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP)
INPUT_PORTS_END
+static INPUT_PORTS_START( gameking3 )
+ PORT_INCLUDE( gameking )
+ PORT_MODIFY("JOY")
+ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START) PORT_NAME("Start")
+ PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SELECT) PORT_NAME("Select") //?
+INPUT_PORTS_END
+
static constexpr rgb_t gameking_pens[] =
{
{ 255, 255, 255 },
@@ -333,6 +339,6 @@ ROM_END
CONS( 2003, gameking, 0, 0, gameking1, gameking, gameking_state, init_gameking, "TimeTop", "GameKing GM-218", MACHINE_NOT_WORKING | MACHINE_NO_SOUND )
// the GameKing 2 (GM-219) is probably identical HW
-CONS( 2003, gamekin3, 0, 0, gameking3, gameking, gameking_state, init_gameking, "TimeTop", "GameKing 3", MACHINE_NOT_WORKING | MACHINE_NO_SOUND )
+CONS( 2003, gamekin3, 0, 0, gameking3, gameking3, gameking_state, init_gameking, "TimeTop", "GameKing 3", MACHINE_NOT_WORKING | MACHINE_NO_SOUND )
// gameking 3: similiar cartridges, accepts gameking cartridges, gameking3 cartridges not working on gameking (illegal cartridge scroller)
// my gameking bios backup solution might work on it