From bb7d1102099bb5784b25a8c3b10db6d400116115 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Banaan=20Ananas?= Date: Sun, 30 Sep 2012 21:24:34 +0000 Subject: [PATCH] update --- src/mame/drivers/freekick.c | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/src/mame/drivers/freekick.c b/src/mame/drivers/freekick.c index 7adbf8d6696..e0fc2692950 100644 --- a/src/mame/drivers/freekick.c +++ b/src/mame/drivers/freekick.c @@ -179,10 +179,10 @@ static ADDRESS_MAP_START( pbillrd_map, AS_PROGRAM, 8, freekick_state ) AM_RANGE(0xe800, 0xe800) AM_READ_PORT("IN1") AM_RANGE(0xf000, 0xf000) AM_READ_PORT("DSW1") AM_WRITE(pbillrd_bankswitch_w) AM_RANGE(0xf800, 0xf800) AM_READ_PORT("DSW2") - AM_RANGE(0xfc00, 0xfc00) AM_DEVWRITE("sn1", sn76496_new_device, write) - AM_RANGE(0xfc01, 0xfc01) AM_DEVWRITE("sn2", sn76496_new_device, write) - AM_RANGE(0xfc02, 0xfc02) AM_DEVWRITE("sn3", sn76496_new_device, write) - AM_RANGE(0xfc03, 0xfc03) AM_DEVWRITE("sn4", sn76496_new_device, write) + AM_RANGE(0xfc00, 0xfc00) AM_DEVWRITE("sn1", sn76489a_new_device, write) + AM_RANGE(0xfc01, 0xfc01) AM_DEVWRITE("sn2", sn76489a_new_device, write) + AM_RANGE(0xfc02, 0xfc02) AM_DEVWRITE("sn3", sn76489a_new_device, write) + AM_RANGE(0xfc03, 0xfc03) AM_DEVWRITE("sn4", sn76489a_new_device, write) ADDRESS_MAP_END static ADDRESS_MAP_START( freekickb_map, AS_PROGRAM, 8, freekick_state ) @@ -199,10 +199,10 @@ static ADDRESS_MAP_START( freekickb_map, AS_PROGRAM, 8, freekick_state ) AM_RANGE(0xf802, 0xf803) AM_WRITE(coin_w) AM_RANGE(0xf804, 0xf804) AM_WRITE(nmi_enable_w) AM_RANGE(0xf806, 0xf806) AM_WRITE(spinner_select_w) - AM_RANGE(0xfc00, 0xfc00) AM_DEVWRITE("sn1", sn76496_new_device, write) - AM_RANGE(0xfc01, 0xfc01) AM_DEVWRITE("sn2", sn76496_new_device, write) - AM_RANGE(0xfc02, 0xfc02) AM_DEVWRITE("sn3", sn76496_new_device, write) - AM_RANGE(0xfc03, 0xfc03) AM_DEVWRITE("sn4", sn76496_new_device, write) + AM_RANGE(0xfc00, 0xfc00) AM_DEVWRITE("sn1", sn76489a_new_device, write) + AM_RANGE(0xfc01, 0xfc01) AM_DEVWRITE("sn2", sn76489a_new_device, write) + AM_RANGE(0xfc02, 0xfc02) AM_DEVWRITE("sn3", sn76489a_new_device, write) + AM_RANGE(0xfc03, 0xfc03) AM_DEVWRITE("sn4", sn76489a_new_device, write) ADDRESS_MAP_END static ADDRESS_MAP_START( gigas_map, AS_PROGRAM, 8, freekick_state ) @@ -218,10 +218,10 @@ static ADDRESS_MAP_START( gigas_map, AS_PROGRAM, 8, freekick_state ) AM_RANGE(0xe800, 0xe800) AM_READ_PORT("IN1") AM_RANGE(0xf000, 0xf000) AM_READ_PORT("DSW1") AM_WRITENOP //bankswitch ? AM_RANGE(0xf800, 0xf800) AM_READ_PORT("DSW2") - AM_RANGE(0xfc00, 0xfc00) AM_DEVWRITE("sn1", sn76496_new_device, write) - AM_RANGE(0xfc01, 0xfc01) AM_DEVWRITE("sn2", sn76496_new_device, write) - AM_RANGE(0xfc02, 0xfc02) AM_DEVWRITE("sn3", sn76496_new_device, write) - AM_RANGE(0xfc03, 0xfc03) AM_DEVWRITE("sn4", sn76496_new_device, write) + AM_RANGE(0xfc00, 0xfc00) AM_DEVWRITE("sn1", sn76489a_new_device, write) + AM_RANGE(0xfc01, 0xfc01) AM_DEVWRITE("sn2", sn76489a_new_device, write) + AM_RANGE(0xfc02, 0xfc02) AM_DEVWRITE("sn3", sn76489a_new_device, write) + AM_RANGE(0xfc03, 0xfc03) AM_DEVWRITE("sn4", sn76489a_new_device, write) ADDRESS_MAP_END static ADDRESS_MAP_START( gigas_io_map, AS_IO, 8, freekick_state ) @@ -646,10 +646,7 @@ static MACHINE_CONFIG_START( base, freekick_state ) /* video hardware */ MCFG_SCREEN_ADD("screen", RASTER) - MCFG_SCREEN_REFRESH_RATE(60) - MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) - MCFG_SCREEN_SIZE(32*8, 32*8) - MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1) + MCFG_SCREEN_RAW_PARAMS(XTAL_12MHz/2, 768/2, 0, 512/2, 263, 0+16, 224+16) MCFG_SCREEN_UPDATE_DRIVER(freekick_state, screen_update_pbillrd) MCFG_GFXDECODE(freekick)