summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/model1.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-03-27 13:59:39 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-03-27 13:59:39 +0000
commit3c566c5383aea30e5ded3d5fdd2aa59eef361803 (patch)
tree980faa47c982293ef9e5e686d4bd21c1e396ee36 /src/mame/drivers/model1.c
parent678bc3afa05cb9e7247acc5a87e3d3adab5769a1 (diff)
From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Sent: Wednesday, March 25, 2009 2:56 AM To: submit Subject: few small bugfixes Hi, enclosed please find a patch to fix the following small issues: 1. MT 3031 bug: a wrong tag caused P2 Button 3 to overwrite P1 Button 3 in seganinj (pointed out by stephh, you can credit him if you like) 2. MT 3029 bug: a recent megasys1 inputs clean up (I think in 129u1) messed up Demo_Sound settings 3. MT 3024 bug: jrpacmbl used wrong tags in the memory map (pointed out by hyrulian, you can credit him if you like) 4. MT 2864 bug: pleiads and capitol do not use Button 2 (nothing is connected, as documented by Phil Bennett in the report), hence I removed it from their input ports if the patch doesn't apply cleanly in the wip tree, let me know and I will split it into separate diffs. Regards, Fabio -- From: Fabio Priuli [mailto:doge.fabio@gmail.com] Sent: Wednesday, March 25, 2009 4:27 AM To: submit Subject: mjclub dsw Hi, enclosed please find a patch which adds DSW settings to mjclub as listed in Yasu's translation from manual (posted in MT 3042 bug report). Regards, Fabio Priuli -- From: Fabio Priuli [doge.fabio@gmail.com] Sent: Wednesday, March 25, 2009 9:56 AM To: submit Subject: MT 2999 fix Enclosed please find a patch to add the three missing buttons in taotaida. I'm still looking for confirmations about taotaido being a proto, hence I haven't changed their descriptions. Regards, Fabio -- From: Fabio Priuli [mailto:doge.fabio@gmail.com] Sent: Thursday, March 26, 2009 2:04 AM To: submit Subject: model2 inputs Hi, enclosed please find a patch to implement model2 inputs through direct AM_READ_PORT access rather than using read handlers. The patch also fixes daytona brakes (which were previously labeled with the wrong tag) Patch based on MAME 0.130u1 but I hope that there haven't been too many changes in the meanwhile. Regards, Fabio Priuli -- From: Fabio Priuli [mailto:doge.fabio@gmail.com] Sent: Friday, March 27, 2009 1:58 AM To: submit Subject: a couple of patches Hi, I hope it's not too late for 130u2. However, enclosed you can find * pedal.diff : a patch which (finally) fixes driving games using P2 & P3 pedals and buttons for P1 pedals and view buttons (MT 2172 bug). I also added PORT_NAMES to view/gear buttons even if usually MAME drivers don't because it makes easier remapping these games with ~15 buttons. I hope I haven't broken any convention. * taitof3.diff: a patch which simplifies input handling in taito F3 games. Depending on the status of the driver, you may also consider the possibility to remove entirely f3_control_r and simply use AM_READ_PORTs to read inputs (for now, I left there the handler because of the read accesses logging) Let me know if there is any problem in applying the patches. Regards, Fabio
Diffstat (limited to 'src/mame/drivers/model1.c')
-rw-r--r--src/mame/drivers/model1.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/model1.c b/src/mame/drivers/model1.c
index 8f933416437..d46ae6d5d38 100644
--- a/src/mame/drivers/model1.c
+++ b/src/mame/drivers/model1.c
@@ -1045,7 +1045,7 @@ static INPUT_PORTS_START( vr )
PORT_BIT( 0xff, 0x30, IPT_PEDAL ) PORT_MINMAX(1,0xff) PORT_SENSITIVITY(100) PORT_KEYDELTA(16)
PORT_START("AN2") /* Brake */
- PORT_BIT( 0xff, 0x30, IPT_PEDAL ) PORT_MINMAX(1,0xff) PORT_SENSITIVITY(100) PORT_KEYDELTA(16) PORT_PLAYER(2)
+ PORT_BIT( 0xff, 0x30, IPT_PEDAL2 ) PORT_MINMAX(1,0xff) PORT_SENSITIVITY(100) PORT_KEYDELTA(16)
PORT_START("IN0")
PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 )
@@ -1053,18 +1053,18 @@ static INPUT_PORTS_START( vr )
PORT_SERVICE_NO_TOGGLE(0x0004, IP_ACTIVE_LOW)
PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_SERVICE1 )
PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_START1 )
- PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1)
- PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1)
- PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1)
+ PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("VR1 (Red)") PORT_PLAYER(1)
+ PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("VR2 (Blue)") PORT_PLAYER(1)
+ PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("VR3 (Yellow)") PORT_PLAYER(1)
PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_START("IN1")
- PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(1)
+ PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("VR4 (Green)") PORT_PLAYER(1)
PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_UNUSED )
- PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_PLAYER(1)
- PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_PLAYER(1)
+ PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Shift Down") PORT_PLAYER(1)
+ PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Shift Up") PORT_PLAYER(1)
PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNKNOWN )