From 3cfd826defe785deaff78daa01c7c53514658bde Mon Sep 17 00:00:00 2001 From: David Haywood Date: Thu, 19 Oct 2017 20:21:33 +0100 Subject: gamate: add some mirroring to memory map gamate.xml: mark all software as supported (next step, make it use a bus / cartridge device instead of protection and banking being hardcoded in driver) --- hash/gamate.xml | 118 ++++++++++++++++++++++---------------------- src/mame/drivers/gamate.cpp | 20 ++++---- 2 files changed, 69 insertions(+), 69 deletions(-) diff --git a/hash/gamate.xml b/hash/gamate.xml index 2abe36ccc02..18e0f75995e 100644 --- a/hash/gamate.xml +++ b/hash/gamate.xml @@ -21,7 +21,7 @@ C1066 - ?? - + Cube Up 1990 Bit Corporation @@ -33,7 +33,7 @@ C1066 - ?? - + Witty Apee 1990 Bit Corporation @@ -45,7 +45,7 @@ C1066 - ?? - + Box Forum 1991 Bit Corporation @@ -57,7 +57,7 @@ C1066 - ?? - + Mighty Tank 199? Bit Corporation @@ -69,7 +69,7 @@ C1066 - ?? - + Enchanted Bricks 1990 Bit Corporation @@ -81,7 +81,7 @@ C1066 - ?? - + Mini Golf 1990 Bit Corporation @@ -93,7 +93,7 @@ C1066 - ?? - + Galaxy Invaders 1990 Bit Corporation @@ -105,7 +105,7 @@ C1066 - ?? - + Legend of Dragon Knight 1991 Bit Corporation @@ -117,7 +117,7 @@ C1066 - ?? - + Tornado 1991 Bit Corporation @@ -129,7 +129,7 @@ C1066 - ?? - + Money Maze 199? <unknown> @@ -141,7 +141,7 @@ C1066 - ?? - + Pharaoh Revenger 1991 Bit Corporation @@ -153,7 +153,7 @@ C1066 - ?? - + Dino Bibo 1991 <unknown> @@ -165,7 +165,7 @@ C1066 - ?? - + Time Warrior 1990 Bit Corporation @@ -177,7 +177,7 @@ C1066 - ?? - + Kill Shot 1991 Bit Corporation @@ -189,7 +189,7 @@ C1066 - ?? - + Volcano Panic 1991 Bit Corporation @@ -201,7 +201,7 @@ C1066 - ?? - + Devil Castle 1991 Bit Corporation @@ -213,7 +213,7 @@ C1066 - ?? - + Kung-Fu Fighter 1990 Bit Corporation @@ -225,7 +225,7 @@ C1066 - ?? - + Dino Ball 1991 Bit Corporation @@ -237,7 +237,7 @@ C1066 - ?? - + Myth of Asamia 1990 Bit Corporation @@ -249,7 +249,7 @@ C1066 - ?? - + Pipemania 1991 Bit Corporation @@ -261,7 +261,7 @@ C1066 - ?? - + Tennis 1991 Bit Corporation @@ -273,7 +273,7 @@ C1066 - ?? - + Marauder 1991 Bit Corporation @@ -285,7 +285,7 @@ C1066 - ?? - + Flipuzzle 1991 Bit Corporation @@ -297,7 +297,7 @@ C1066 - ?? - + Monster Pitfall 1990 Bit Corporation @@ -309,7 +309,7 @@ C1066 - ?? - + Vindicators 1990 Bit Corporation @@ -321,7 +321,7 @@ C1066 - ?? - + Brick Blaster 1990 Bit Corporation @@ -333,7 +333,7 @@ C1066 - ?? - + Bomb Blaster 1990 Bit Corporation @@ -346,7 +346,7 @@ C1066 - ?? - + Bomb Blaster (Alt) 1990 Bit Corporation @@ -358,7 +358,7 @@ C1066 - ?? - + Cosmic Fighter 1990 Bit Corporation @@ -370,7 +370,7 @@ C1066 - ?? - + Fist of Thunder 1991 Bit Corporation @@ -382,7 +382,7 @@ C1066 - ?? - + Treasure Hunter 1990 Bit Corporation @@ -394,7 +394,7 @@ C1066 - ?? - + Jewelriss 1990 Bit Corporation @@ -406,7 +406,7 @@ C1066 - ?? - + Nightmare of Santa Claus 1991 Bit Corporation @@ -418,7 +418,7 @@ C1066 - ?? - + Mars Voyage 1991 Bit Corporation @@ -430,7 +430,7 @@ C1066 - ?? - + Flying Goblin 1991 Bit Corporation @@ -442,7 +442,7 @@ C1066 - ?? - + Boom 1991 Bit Corporation @@ -454,7 +454,7 @@ C1066 - ?? - + Snowman Legend 1991 Bit Corporation @@ -466,7 +466,7 @@ C1066 - ?? - + World Cup Soccer 199? Unknown @@ -478,7 +478,7 @@ C1066 - ?? - + Kiki Inland 1992 Bit Corporation @@ -490,7 +490,7 @@ C1066 - ?? - + Fortune 'n Luck 1992 Bit Corporation @@ -502,7 +502,7 @@ C1066 - ?? - + Baseball 1991 Bit Corporation @@ -514,7 +514,7 @@ C1066 - ?? - + Punk Boy 1992 Bit Corporation @@ -526,7 +526,7 @@ C1066 - ?? - + Famous 7 1993 United Microelectronics Corporation @@ -538,7 +538,7 @@ C1066 - ?? - + Tough Guy 1993 United Microelectronics Corporation @@ -550,7 +550,7 @@ C1066 - ?? - + Magic Jigsaw 1991 Bit Corporation @@ -562,7 +562,7 @@ C1066 - ?? - + GP Race 1992 Bit Corporation @@ -574,7 +574,7 @@ C1066 - ?? - + Fantasy Travel 1993 United Microelectronics Corporation @@ -586,7 +586,7 @@ C1066 - ?? - + QuizFighter 1993 United Microelectronics Corporation @@ -598,7 +598,7 @@ C1066 - ?? - + Further Adventures of Hannibal The Cat 1993 Unknown @@ -610,7 +610,7 @@ C1066 - ?? - + Dinosaur Park 1993 Phinnex Co., Ltd. @@ -622,7 +622,7 @@ C1066 - ?? - + Basketball 199? Unknown @@ -634,7 +634,7 @@ C1066 - ?? - + Bao Qing Tian 199? Unknown @@ -646,7 +646,7 @@ C1066 - ?? - + Hot Hero 199? Unknown @@ -658,7 +658,7 @@ C1066 - ?? - + Robin Hood 1994 Phinnex Co., Ltd. @@ -670,7 +670,7 @@ C1066 - ?? - + The Golden Pyramid 199? Unknown @@ -682,7 +682,7 @@ C1066 - ?? - + Riddle of the Ancient Tomb 1994 Unknown @@ -694,7 +694,7 @@ C1066 - ?? - + Insect War 1995 United Microelectronics Corporation @@ -706,7 +706,7 @@ C1066 - ?? - + 4-in-1 (Mini Golf, Cube-Up, Brick Blaster, and Vindicators) 1991 Bit Corporation @@ -718,7 +718,7 @@ C1066 - ?? - + One Million Whys 1993 United Microelectronics Corporation diff --git a/src/mame/drivers/gamate.cpp b/src/mame/drivers/gamate.cpp index 02ee6bda185..f95bf53bf10 100644 --- a/src/mame/drivers/gamate.cpp +++ b/src/mame/drivers/gamate.cpp @@ -177,11 +177,11 @@ WRITE8_MEMBER(gamate_state::sound_w) } static ADDRESS_MAP_START( gamate_mem, AS_PROGRAM, 8, gamate_state ) - AM_RANGE(0x0000, 0x03ff) AM_RAM - AM_RANGE(0x4000, 0x400f) AM_READWRITE(sound_r,sound_w) - AM_RANGE(0x4400, 0x4400) AM_READ_PORT("JOY") - AM_RANGE(0x4800, 0x4800) AM_READ(gamate_nmi_r) - AM_RANGE(0x5000, 0x5007) AM_DEVICE("video", gamate_video_device, regs_map) + AM_RANGE(0x0000, 0x03ff) AM_MIRROR(0x1c00) AM_RAM + AM_RANGE(0x4000, 0x400f) AM_MIRROR(0x03f0) AM_READWRITE(sound_r,sound_w) + AM_RANGE(0x4400, 0x4400) AM_MIRROR(0x03ff) AM_READ_PORT("JOY") + AM_RANGE(0x4800, 0x4800) AM_MIRROR(0x03ff) AM_READ(gamate_nmi_r) + AM_RANGE(0x5000, 0x5007) AM_MIRROR(0x03f8) AM_DEVICE("video", gamate_video_device, regs_map) AM_RANGE(0x5800, 0x5800) AM_READ(newer_protection_set) AM_RANGE(0x5900, 0x5900) AM_WRITE(protection_reset) AM_RANGE(0x5a00, 0x5a00) AM_READ(protection_r) @@ -190,7 +190,7 @@ static ADDRESS_MAP_START( gamate_mem, AS_PROGRAM, 8, gamate_state ) AM_RANGE(0x6000, 0x6000) AM_READWRITE(gamate_cart_protection_r, gamate_cart_protection_w) AM_RANGE(0x8000, 0x8000) AM_WRITE(cart_bankswitchmulti_w) AM_RANGE(0xc000, 0xc000) AM_WRITE(cart_bankswitch_w) - AM_RANGE(0xf000, 0xffff) AM_ROM AM_SHARE("bios") + AM_RANGE(0xe000, 0xefff) AM_MIRROR(0x1000) AM_ROM AM_SHARE("bios") AM_REGION("maincpu",0) ADDRESS_MAP_END @@ -253,7 +253,7 @@ static MACHINE_CONFIG_START( gamate ) /* sound hardware */ MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") // Stereo headphone output - MCFG_SOUND_ADD("ay8910", AY8910, 4433000 / 2) // AY compatible, no actual AY chip present + MCFG_SOUND_ADD("ay8910", AY8910, 4433000 / 4) // AY compatible, no actual AY chip present MCFG_SOUND_ROUTE(0, "lspeaker", 0.5) MCFG_SOUND_ROUTE(1, "rspeaker", 0.5) MCFG_SOUND_ROUTE(2, "lspeaker", 0.25) @@ -285,11 +285,11 @@ This console appears to have been manufactured in 1994, based on the date markin as well as the PCB. */ ROM_START(gamate) - ROM_REGION(0x10000,"maincpu", 0) + ROM_REGION(0x1000,"maincpu", 0) ROM_SYSTEM_BIOS(0, "default", "DEFAULT") - ROMX_LOAD("gamate_bios_umc.bin", 0xf000, 0x1000, CRC(07090415) SHA1(ea449dc607601f9a68d855ad6ab53800d2e99297), ROM_BIOS(1) ) + ROMX_LOAD("gamate_bios_umc.bin", 0x0000, 0x1000, CRC(07090415) SHA1(ea449dc607601f9a68d855ad6ab53800d2e99297), ROM_BIOS(1) ) ROM_SYSTEM_BIOS(1, "newer", "NEWER") - ROMX_LOAD("gamate_bios_bit.bin", 0xf000, 0x1000, CRC(03a5f3a7) SHA1(4e9dfbfe916ca485530ef4221593ab68738e2217), ROM_BIOS(2) ) + ROMX_LOAD("gamate_bios_bit.bin", 0x0000, 0x1000, CRC(03a5f3a7) SHA1(4e9dfbfe916ca485530ef4221593ab68738e2217), ROM_BIOS(2) ) ROM_END -- cgit v1.2.3