trunk/src/mame/drivers/lbeach.c
| r26118 | r26119 | |
| 222 | 222 | // AM_RANGE(0x8003, 0x8003) AM_WRITENOP // ? |
| 223 | 223 | // AM_RANGE(0x8004, 0x8004) AM_WRITENOP // ? |
| 224 | 224 | // AM_RANGE(0x8005, 0x8005) AM_WRITENOP // ? |
| 225 | | AM_RANGE(0x8007, 0x8007) AM_WRITENOP // watchdog? |
| 225 | AM_RANGE(0x8007, 0x8007) AM_WRITENOP // probably watchdog |
| 226 | 226 | AM_RANGE(0xa000, 0xa000) AM_READ_PORT("IN0") |
| 227 | 227 | // AM_RANGE(0xa003, 0xa003) AM_READNOP // ? tests d7 at game over |
| 228 | 228 | AM_RANGE(0xc000, 0xcfff) AM_ROM |
| r26118 | r26119 | |
| 240 | 240 | static INPUT_PORTS_START( lbeach ) |
| 241 | 241 | PORT_START("IN0") |
| 242 | 242 | PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("Gas Pedal") |
| 243 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Shifter 1st Gear") |
| 244 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Shifter 2nd Gear") |
| 245 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Shifter 3rd Gear") |
| 246 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Shifter 4th Gear") |
| 243 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Shifter 1st Gear") |
| 244 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Shifter 2nd Gear") |
| 245 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Shifter 3rd Gear") |
| 246 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Shifter 4th Gear") |
| 247 | 247 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_NAME("Reset Record") // called RR in testmode |
| 248 | 248 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_NAME("Coin Counter") // called CC in testmode |
| 249 | 249 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) |
| r26118 | r26119 | |
| 324 | 324 | /* basic machine hardware */ |
| 325 | 325 | MCFG_CPU_ADD("maincpu", M6800, XTAL_16MHz / 32) // Motorola MC6800P, 500kHz |
| 326 | 326 | MCFG_CPU_PROGRAM_MAP(lbeach_map) |
| 327 | | MCFG_CPU_PERIODIC_INT_DRIVER(lbeach_state, nmi_line_pulse, 50) // unknown freq, it affects steering speed, glitchy if it's too fast |
| 327 | MCFG_CPU_PERIODIC_INT_DRIVER(lbeach_state, nmi_line_pulse, 50) // unknown freq, it affects game speed, glitchy if it's too fast |
| 328 | 328 | |
| 329 | 329 | MCFG_NVRAM_ADD_0FILL("nvram") |
| 330 | 330 | |