diff --git a/src/mame/drivers/taitojc.c b/src/mame/drivers/taitojc.c index 1588346c858..3abc247fe89 100644 --- a/src/mame/drivers/taitojc.c +++ b/src/mame/drivers/taitojc.c @@ -14,7 +14,7 @@ Taito custom chips on this hardware: TODO: - dendego intro object RAM usage has various gfx bugs (check video file) - dendego title screen builds up and it shouldn't -- dendego attract mode train doesn't ride, the doors light doesn't turn on. +- dendego attract mode train doesn't ride - landgear has some weird crashes (after playing one round, after a couple of loops in attract mode) (needs testing -AS) - landgear has huge 3d problems on gameplay (CPU comms?) - dangcurv DSP program crashes very soon due to undumped rom, so no 3d is currently shown. @@ -708,18 +708,18 @@ READ8_MEMBER(taitojc_state::jc_pcbid_r) /* Some games (Dangerous Curves, Side by Side, Side by Side 2) were released as Twin cabinets, -allowing 2 players to compete eachother. +allowing 2 players to compete eachother via a SMSC COM20020I network IC Not emulated yet... */ -READ32_MEMBER(taitojc_state::jc_lan_r) +READ8_MEMBER(taitojc_state::jc_lan_r) { - return 0xffffffff; + return 0xff; } -WRITE32_MEMBER(taitojc_state::jc_lan_w) +WRITE8_MEMBER(taitojc_state::jc_lan_w) { } @@ -738,7 +738,7 @@ static ADDRESS_MAP_START( taitojc_map, AS_PROGRAM, 32, taitojc_state ) AM_RANGE(0x0660004c, 0x0660004f) AM_WRITE_PORT("EEPROMOUT") AM_RANGE(0x06800000, 0x06800003) AM_WRITENOP // irq mask/ack? a watchdog? AM_RANGE(0x06a00000, 0x06a01fff) AM_READWRITE(snd_share_r, snd_share_w) AM_SHARE("snd_shared") - AM_RANGE(0x06c00000, 0x06c0001f) AM_READWRITE(jc_lan_r, jc_lan_w) + AM_RANGE(0x06c00000, 0x06c0001f) AM_READWRITE8(jc_lan_r, jc_lan_w, 0x00ff0000) AM_RANGE(0x08000000, 0x080fffff) AM_RAM AM_SHARE("main_ram") AM_RANGE(0x10000000, 0x10001fff) AM_READWRITE(dsp_shared_r, dsp_shared_w) ADDRESS_MAP_END @@ -1145,17 +1145,17 @@ static INPUT_PORTS_START( sidebs ) PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("View Switch") PORT_MODIFY("BUTTONS") - PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Shift Up") - PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Shift Down") + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_NAME("Shift Up") + PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_NAME("Shift Down") PORT_START("ANALOG1") // Steering PORT_BIT( 0xff, 0x80, IPT_PADDLE ) PORT_MINMAX(0x00, 0xff) PORT_SENSITIVITY(35) PORT_KEYDELTA(10) PORT_NAME("Steering Wheel") PORT_START("ANALOG2") // Acceleration - PORT_BIT( 0xff, 0x00, IPT_PEDAL ) PORT_MINMAX(0x00, 0xff) PORT_SENSITIVITY(75) PORT_KEYDELTA(25) PORT_NAME("Gas Pedal") + PORT_BIT( 0xff, 0x00, IPT_PEDAL ) PORT_MINMAX(0x00, 0xff) PORT_SENSITIVITY(100) PORT_KEYDELTA(25) PORT_NAME("Gas Pedal") PORT_START("ANALOG3") // Brake - PORT_BIT( 0xff, 0x00, IPT_PEDAL2 ) PORT_MINMAX(0x00, 0xff) PORT_SENSITIVITY(75) PORT_KEYDELTA(25) PORT_NAME("Brake Pedal") + PORT_BIT( 0xff, 0x00, IPT_PEDAL2 ) PORT_MINMAX(0x00, 0xff) PORT_SENSITIVITY(100) PORT_KEYDELTA(25) PORT_NAME("Brake Pedal") INPUT_PORTS_END static INPUT_PORTS_START( dangcurv ) @@ -1169,17 +1169,17 @@ static INPUT_PORTS_START( dangcurv ) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Rear Switch") PORT_MODIFY("BUTTONS") - PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Shift Up") - PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Shift Down") + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_NAME("Shift Up") + PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_NAME("Shift Down") PORT_START("ANALOG1") // Steering PORT_BIT( 0xff, 0x80, IPT_PADDLE ) PORT_MINMAX(0x00, 0xff) PORT_SENSITIVITY(35) PORT_KEYDELTA(10) PORT_REVERSE PORT_NAME("Steering Wheel") PORT_START("ANALOG2") // Acceleration - PORT_BIT( 0xff, 0x00, IPT_PEDAL ) PORT_MINMAX(0x00, 0xff) PORT_SENSITIVITY(75) PORT_KEYDELTA(25) PORT_REVERSE PORT_NAME("Gas Pedal") + PORT_BIT( 0xff, 0x00, IPT_PEDAL ) PORT_MINMAX(0x00, 0xff) PORT_SENSITIVITY(100) PORT_KEYDELTA(25) PORT_REVERSE PORT_NAME("Gas Pedal") PORT_START("ANALOG3") // Brake - PORT_BIT( 0xff, 0x00, IPT_PEDAL2 ) PORT_MINMAX(0x00, 0xff) PORT_SENSITIVITY(75) PORT_KEYDELTA(25) PORT_REVERSE PORT_NAME("Brake Pedal") + PORT_BIT( 0xff, 0x00, IPT_PEDAL2 ) PORT_MINMAX(0x00, 0xff) PORT_SENSITIVITY(100) PORT_KEYDELTA(25) PORT_REVERSE PORT_NAME("Brake Pedal") INPUT_PORTS_END @@ -1286,7 +1286,7 @@ static MACHINE_CONFIG_DERIVED( dendego, taitojc ) /* sound hardware */ MCFG_SPEAKER_ADD("subwoofer", 0.0, 0.0, 1.0) - MCFG_OKIM6295_ADD("oki", 32000000/32, OKIM6295_PIN7_HIGH) + MCFG_OKIM6295_ADD("oki", 1056000, OKIM6295_PIN7_HIGH) // clock frequency & pin 7 not verified MCFG_SOUND_ROUTE(ALL_OUTPUTS, "subwoofer", 0.20) MACHINE_CONFIG_END diff --git a/src/mame/includes/taitojc.h b/src/mame/includes/taitojc.h index fb6326db000..12fdd9096ff 100644 --- a/src/mame/includes/taitojc.h +++ b/src/mame/includes/taitojc.h @@ -82,8 +82,8 @@ public: DECLARE_READ32_MEMBER(snd_share_r); DECLARE_WRITE32_MEMBER(snd_share_w); DECLARE_READ8_MEMBER(jc_pcbid_r); - DECLARE_READ32_MEMBER(jc_lan_r); - DECLARE_WRITE32_MEMBER(jc_lan_w); + DECLARE_READ8_MEMBER(jc_lan_r); + DECLARE_WRITE8_MEMBER(jc_lan_w); DECLARE_WRITE8_MEMBER(dendego_speedmeter_w); DECLARE_WRITE8_MEMBER(dendego_brakemeter_w);