24 September 2010, 22:24 | #1 |
Banned
Join Date: Apr 2009
Location: France
Posts: 478
|
2 Button support not working
Hi Toni thanks for the new winuae version
but the 2nd button on the game Aladdin don't works...and the 2nd button on the game BCKID also don't works so... maybe the 2nd button on other games can anyone confirms this? |
25 September 2010, 09:27 | #2 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
Quote:
This was already discussed here some time ago.. |
|
25 September 2010, 17:36 | #3 | |
Banned
Join Date: Apr 2009
Location: France
Posts: 478
|
Quote:
but Aladdin 2nd button works on my A1200 using a simple link (pin 9 + ground) try it with any joystick and you will see...it will drop apples so I think the new mode also is not correct |
|
25 September 2010, 18:19 | #4 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
Quote:
Something is missing. Are you absolute sure you used exact same version using exact same configuration? (could someone move these posts to support.WinUAE) |
|
25 September 2010, 18:43 | #5 | |
Banned
Join Date: Apr 2009
Location: France
Posts: 478
|
Quote:
I have a custom made josytick...the 2nd button is simple pin 9 + ground also I just tested the game with my mouse on my A1200 and works the right button on Aladdin my mouse is commodore A1200 original...(no pullupus) btw, do you want that I test and look for other games that uses 2nd button and report if I found another issue? |
|
25 September 2010, 18:52 | #6 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
I only want to know CRC32 of your Aladdin image
|
25 September 2010, 19:10 | #7 |
Banned
Join Date: Apr 2009
Location: France
Posts: 478
|
|
25 September 2010, 20:10 | #8 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
Quote:
EDIT: upload if it you want but you should have mentioned it being HD installed in first post.. |
|
25 September 2010, 21:25 | #9 |
Banned
Join Date: Apr 2009
Location: France
Posts: 478
|
Ok uploaded to the zone
|
25 September 2010, 21:49 | #10 |
CaptainM68K-SPS France
|
Fabie, buy up a megadrive joypad. Aladdin natively support 2 buttons pads.
|
26 September 2010, 09:34 | #11 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
|
26 September 2010, 18:10 | #12 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
(other posts were not moved for some reason, maybe they'll appear later.. EDIT: they are back now)
I just tested Aladdin AGA WHDLoad on my real A1200. Readme says 2nd button is fixed but it works exactly like on emulation, press once and it gets stuck. Works only with joystick or mouse with pullup resistors. Either it is not fully fixed _or_ there are hardware differences. Note that current behavior matches HRM hardware description. (non-pullup button lines requiring output mode) Easy test: Load Aladdin AGA WHD, set joystick option to "joypad: throw" (enables second button), start game, press second button. Non-working: one "item" is thrown, both firebuttons stop working. Player still moves. Working: multiple "items" can be thrown, fire still works. If you don't have real 2 button joystick, put original Commodore mouse in port 2 and press right mouse button. (Third party mice may have pullups) Last edited by Toni Wilen; 26 September 2010 at 18:42. |
26 September 2010, 19:46 | #13 | |
Banned
Join Date: Apr 2009
Location: France
Posts: 478
|
Quote:
because on my A1200 2nd button on Aladdin works perfect and there are not pullups and no resistors on my joystick my A1200 is rev 1.D1 I think you have tested the game on a REV 2B.....I remember there are issues with 2nd button on 2B motherboards....I had one and it had the 2nd button bug....2nd button joystick not worked on some games I had also 1.D4 and haven't any bugs so....I think it's better to return how winuae worked (2nd button joysick working on all games) maybe that was discussed before but I think I'm right because the way winuae worked does not cause any problem and a more compatible winuae = better Amiga |
|
26 September 2010, 20:05 | #14 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
Interesting.. I do have rev 2B.
But it isn't that simple... There is ALWAYS at least one program that expect specific behavior.. (It may not have been found yet but it is guaranteed to exist) AFAIK A500s have same behavior as current WinUAE (and my A1200), so perhaps this is actually a hardware bug in rev1x A1200s.. I guess it must be some extra resistor somewhere because Paula chip is identical. Real hardware difference needs to be found until I can properly implement in WinUAE. It wasn't right in older version, it only _appeared_ to work but it can't be right because it would break analog joysticks.. (if winuae method would have been converted to real hardware) btw, WinUAE is not supposed to be "better" Amiga, something working better generally means (not yet found) compatibility issue.. |
26 September 2010, 20:36 | #15 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
It can't be board revision difference.
But it might be Paula revision specific, Paula IO pin may detect floating state as +5v (high) because it is undefined state and different types of IO ports may have different thresholds. More testing needed.. |
26 September 2010, 20:53 | #16 | |
Banned
Join Date: Apr 2009
Location: France
Posts: 478
|
Quote:
I remember also when I had an Amiga 600 the second button joystick worked perfect on the game Lionheart however on the A1200 2nd button on Lionheart does not works....rev 1d or 1.d4 or 2B so I always be astonished the problem is that ppl behind commodore implemented some differences on motherboards and caused incompatibilities on 2nd button but they never take care of this because 2nd button joystick was not so important and few games use it also developers tested the games on certain motherboards where 2nd button worked.....but ppl have different amigas and different motherboards that's the problem so if you find a way that 2nd button works on all games and do not disturb the analog joystick...will be wonderfull |
|
26 September 2010, 21:10 | #17 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
Could you try following simple test program on your real A1200?
You'll see green/blue stripes, press joystick port second button. Screen turns green, do you get stripes back when you release the button or does green get stuck? My A500, A1200 and A3000 all show green after pressing second button without pullup resistors. (which is exactly same behavior as in WinUAE) Button with pullups will always return back to "stripe" mode. (button state does not get "stuck") |
26 September 2010, 21:12 | #18 |
CaptainM68K-SPS France
|
Fabie please use whdload versions of Aladdin and BCkid. I have 2 1200 that have not the
same rev, and it works. aladdin supports in STANDARD 2 buttons joypad with no hardware modification ! Same for BCkid... |
26 September 2010, 21:20 | #19 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
|
"Standard" joypads usually have pullup resistors which fixes the problem completely.
We are talking about joysticks/pad without pullup resistors in button lines. (measure resistance between pin 9 and pin 7, it should measure open when button is not pressed, not something like 10Kohms) EDIT: If you are wondering why this is so important when all games that support 2 button joystick/pad work if it it has pullup resistors. Problem is that there are SINGLE BUTTON only games (for example Dick Tracy) that work strangely if second or third button is enabled and pullup is connected! (no pullups = 2nd/3rd button is totally passive when not pressed, pullups = active and changes io-pin states) Two buttons are mapped by default in emulation.. (At least 3rd button is not mapped by default..) Last edited by Toni Wilen; 26 September 2010 at 21:40. |
26 September 2010, 22:03 | #20 | |
Banned
Join Date: Apr 2009
Location: France
Posts: 478
|
Quote:
I tested the proggy on my A1200 running the proggy screen turns blue and green with stripes pushed second button and the screen changes to green and remains green until I press mouse button |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
2nd button support for Mean Arenas | rmcin329 | Games images which need to be WHDified | 0 | 17 June 2013 16:56 |
Right mouse button not working? | NovaCoder | project.ClassicWB | 3 | 09 May 2011 06:26 |
'Manage Attachments' button not working | Graham Humphrey | project.EAB | 13 | 13 March 2010 00:27 |
Wiz 'N' Liz - possible two-button support? | MethodGit | project.WHDLoad | 8 | 07 April 2008 22:29 |
Killing Game Show 2nd button support | Bamiga2002 | project.WHDLoad | 0 | 23 January 2008 16:06 |
|
|