trunk/src/mame/drivers/freekick.c
| r18220 | r18221 | |
| 179 | 179 | AM_RANGE(0xe800, 0xe800) AM_READ_PORT("IN1") |
| 180 | 180 | AM_RANGE(0xf000, 0xf000) AM_READ_PORT("DSW1") AM_WRITE(pbillrd_bankswitch_w) |
| 181 | 181 | 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) |
| 186 | 186 | ADDRESS_MAP_END |
| 187 | 187 | |
| 188 | 188 | static ADDRESS_MAP_START( freekickb_map, AS_PROGRAM, 8, freekick_state ) |
| r18220 | r18221 | |
| 199 | 199 | AM_RANGE(0xf802, 0xf803) AM_WRITE(coin_w) |
| 200 | 200 | AM_RANGE(0xf804, 0xf804) AM_WRITE(nmi_enable_w) |
| 201 | 201 | 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) |
| 206 | 206 | ADDRESS_MAP_END |
| 207 | 207 | |
| 208 | 208 | static ADDRESS_MAP_START( gigas_map, AS_PROGRAM, 8, freekick_state ) |
| r18220 | r18221 | |
| 218 | 218 | AM_RANGE(0xe800, 0xe800) AM_READ_PORT("IN1") |
| 219 | 219 | AM_RANGE(0xf000, 0xf000) AM_READ_PORT("DSW1") AM_WRITENOP //bankswitch ? |
| 220 | 220 | 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) |
| 225 | 225 | ADDRESS_MAP_END |
| 226 | 226 | |
| 227 | 227 | static ADDRESS_MAP_START( gigas_io_map, AS_IO, 8, freekick_state ) |
| r18220 | r18221 | |
| 646 | 646 | |
| 647 | 647 | /* video hardware */ |
| 648 | 648 | 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) |
| 653 | 650 | MCFG_SCREEN_UPDATE_DRIVER(freekick_state, screen_update_pbillrd) |
| 654 | 651 | |
| 655 | 652 | MCFG_GFXDECODE(freekick) |