summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/gamecom.c
diff options
context:
space:
mode:
author Fabio Priuli <etabeta78@users.noreply.github.com>2014-09-27 08:45:17 +0000
committer Fabio Priuli <etabeta78@users.noreply.github.com>2014-09-27 08:45:17 +0000
commitf8ef333fb4d171a354981bf01de209ec1bf3a557 (patch)
tree7d4960c6000ee265cab6c639151c531629b5a124 /src/mess/drivers/gamecom.c
parent540b2f00c208de62b5d7097237640b172bf44f4a (diff)
(MESS) misc generic cartslot conversions. while at it, I have added
experimental eprom writing to the beta.c driver (pending more accurate tests). nw.
Diffstat (limited to 'src/mess/drivers/gamecom.c')
-rw-r--r--src/mess/drivers/gamecom.c21
1 files changed, 8 insertions, 13 deletions
diff --git a/src/mess/drivers/gamecom.c b/src/mess/drivers/gamecom.c
index 64aa9ecf103..a7dd7745737 100644
--- a/src/mess/drivers/gamecom.c
+++ b/src/mess/drivers/gamecom.c
@@ -103,9 +103,7 @@ static MACHINE_CONFIG_START( gamecom, gamecom_state )
//MCFG_NVRAM_ADD_0FILL("nvram")
-
/* video hardware */
-
MCFG_SCREEN_ADD("screen", LCD)
MCFG_SCREEN_REFRESH_RATE( 59.732155 )
MCFG_SCREEN_VBLANK_TIME(500)
@@ -126,15 +124,15 @@ static MACHINE_CONFIG_START( gamecom, gamecom_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.00)
/* cartridge */
- MCFG_CARTSLOT_ADD("cart1")
- MCFG_CARTSLOT_EXTENSION_LIST("bin,tgc")
- MCFG_CARTSLOT_INTERFACE("gamecom_cart")
- MCFG_CARTSLOT_LOAD(gamecom_state,gamecom_cart1)
+ MCFG_GENERIC_CARTSLOT_ADD("cartslot1", generic_linear_slot, "gamecom_cart")
+ MCFG_GENERIC_EXTENSIONS("bin,tgc")
+ MCFG_GENERIC_LOAD(gamecom_state, gamecom_cart1)
+
+ MCFG_GENERIC_CARTSLOT_ADD("cartslot2", generic_linear_slot, "gamecom_cart")
+ MCFG_GENERIC_EXTENSIONS("bin,tgc")
+ MCFG_GENERIC_LOAD(gamecom_state, gamecom_cart2)
+
MCFG_SOFTWARE_LIST_ADD("cart_list","gamecom")
- MCFG_CARTSLOT_ADD("cart2")
- MCFG_CARTSLOT_EXTENSION_LIST("bin,tgc")
- MCFG_CARTSLOT_INTERFACE("gamecom_cart")
- MCFG_CARTSLOT_LOAD(gamecom_state,gamecom_cart2)
MACHINE_CONFIG_END
ROM_START( gamecom )
@@ -143,9 +141,6 @@ ROM_START( gamecom )
ROM_REGION( 0x40000, "kernel", 0 )
ROM_LOAD( "external.bin", 0x00000, 0x40000, CRC(e235a589) SHA1(97f782e72d738f4d7b861363266bf46b438d9b50) )
-
- ROM_REGION( 0x200000, "cart1", ROMREGION_ERASEFF )
- ROM_REGION( 0x200000, "cart2", ROMREGION_ERASEFF )
ROM_END
/* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME */