Previous 199869 Revisions Next

r18221 Sunday 30th September, 2012 at 21:24:34 UTC by hap
update
[src/mame/drivers]freekick.c

trunk/src/mame/drivers/freekick.c
r18220r18221
179179   AM_RANGE(0xe800, 0xe800) AM_READ_PORT("IN1")
180180   AM_RANGE(0xf000, 0xf000) AM_READ_PORT("DSW1") AM_WRITE(pbillrd_bankswitch_w)
181181   AM_RANGE(0xf800, 0xf800) AM_READ_PORT("DSW2")
182   AM_RANGE(0xfc00, 0xfc00) AM_DEVWRITE("sn1", sn76496_new_device, write)
183   AM_RANGE(0xfc01, 0xfc01) AM_DEVWRITE("sn2", sn76496_new_device, write)
184   AM_RANGE(0xfc02, 0xfc02) AM_DEVWRITE("sn3", sn76496_new_device, write)
185   AM_RANGE(0xfc03, 0xfc03) AM_DEVWRITE("sn4", sn76496_new_device, write)
182   AM_RANGE(0xfc00, 0xfc00) AM_DEVWRITE("sn1", sn76489a_new_device, write)
183   AM_RANGE(0xfc01, 0xfc01) AM_DEVWRITE("sn2", sn76489a_new_device, write)
184   AM_RANGE(0xfc02, 0xfc02) AM_DEVWRITE("sn3", sn76489a_new_device, write)
185   AM_RANGE(0xfc03, 0xfc03) AM_DEVWRITE("sn4", sn76489a_new_device, write)
186186ADDRESS_MAP_END
187187
188188static ADDRESS_MAP_START( freekickb_map, AS_PROGRAM, 8, freekick_state )
r18220r18221
199199   AM_RANGE(0xf802, 0xf803) AM_WRITE(coin_w)
200200   AM_RANGE(0xf804, 0xf804) AM_WRITE(nmi_enable_w)
201201   AM_RANGE(0xf806, 0xf806) AM_WRITE(spinner_select_w)
202   AM_RANGE(0xfc00, 0xfc00) AM_DEVWRITE("sn1", sn76496_new_device, write)
203   AM_RANGE(0xfc01, 0xfc01) AM_DEVWRITE("sn2", sn76496_new_device, write)
204   AM_RANGE(0xfc02, 0xfc02) AM_DEVWRITE("sn3", sn76496_new_device, write)
205   AM_RANGE(0xfc03, 0xfc03) AM_DEVWRITE("sn4", sn76496_new_device, write)
202   AM_RANGE(0xfc00, 0xfc00) AM_DEVWRITE("sn1", sn76489a_new_device, write)
203   AM_RANGE(0xfc01, 0xfc01) AM_DEVWRITE("sn2", sn76489a_new_device, write)
204   AM_RANGE(0xfc02, 0xfc02) AM_DEVWRITE("sn3", sn76489a_new_device, write)
205   AM_RANGE(0xfc03, 0xfc03) AM_DEVWRITE("sn4", sn76489a_new_device, write)
206206ADDRESS_MAP_END
207207
208208static ADDRESS_MAP_START( gigas_map, AS_PROGRAM, 8, freekick_state )
r18220r18221
218218   AM_RANGE(0xe800, 0xe800) AM_READ_PORT("IN1")
219219   AM_RANGE(0xf000, 0xf000) AM_READ_PORT("DSW1") AM_WRITENOP //bankswitch ?
220220   AM_RANGE(0xf800, 0xf800) AM_READ_PORT("DSW2")
221   AM_RANGE(0xfc00, 0xfc00) AM_DEVWRITE("sn1", sn76496_new_device, write)
222   AM_RANGE(0xfc01, 0xfc01) AM_DEVWRITE("sn2", sn76496_new_device, write)
223   AM_RANGE(0xfc02, 0xfc02) AM_DEVWRITE("sn3", sn76496_new_device, write)
224   AM_RANGE(0xfc03, 0xfc03) AM_DEVWRITE("sn4", sn76496_new_device, write)
221   AM_RANGE(0xfc00, 0xfc00) AM_DEVWRITE("sn1", sn76489a_new_device, write)
222   AM_RANGE(0xfc01, 0xfc01) AM_DEVWRITE("sn2", sn76489a_new_device, write)
223   AM_RANGE(0xfc02, 0xfc02) AM_DEVWRITE("sn3", sn76489a_new_device, write)
224   AM_RANGE(0xfc03, 0xfc03) AM_DEVWRITE("sn4", sn76489a_new_device, write)
225225ADDRESS_MAP_END
226226
227227static ADDRESS_MAP_START( gigas_io_map, AS_IO, 8, freekick_state )
r18220r18221
646646
647647   /* video hardware */
648648   MCFG_SCREEN_ADD("screen", RASTER)
649   MCFG_SCREEN_REFRESH_RATE(60)
650   MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
651   MCFG_SCREEN_SIZE(32*8, 32*8)
652   MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
649   MCFG_SCREEN_RAW_PARAMS(XTAL_12MHz/2, 768/2, 0, 512/2, 263, 0+16, 224+16)
653650   MCFG_SCREEN_UPDATE_DRIVER(freekick_state, screen_update_pbillrd)
654651
655652   MCFG_GFXDECODE(freekick)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team