30 June 2020, 19:32 | #1 |
Registered User
Join Date: Jan 2020
Location: oslo/norway
Posts: 1,607
|
2nd button Amiga joystick
I'm planing to make a 2 button joystick for Amiga.
I know the 5V line need a resistor. Is 0,25Watt 33Ohm ok? |
30 June 2020, 19:34 | #2 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
|
You don't need 5V for a second button at all. Just short it to ground like the first button.
|
30 June 2020, 19:53 | #3 |
Registered User
Join Date: Jan 2020
Location: oslo/norway
Posts: 1,607
|
Daedalus: Ok, thx
|
30 June 2020, 20:05 | #4 |
Registered User
Join Date: Jan 2020
Location: oslo/norway
Posts: 1,607
|
Daedalus: I'm also thinking about a third button for jump to simulate joystick movement (up, right). Is it just to make a split cable from button connect to up, right pins?
|
30 June 2020, 21:20 | #5 |
Registered User
Join Date: Dec 2018
Location: UK
Posts: 1,715
|
For the 2nd fire button you need to have a switch for pin 9.
https://sites.google.com/one-n.co.uk...ttons-joystick And for a dedicated fire button for jump (UP), yes, just wire a switch in parallel to UP. Last edited by solarmon; 30 June 2020 at 22:13. |
30 June 2020, 21:39 | #6 |
Registered User
Join Date: Jan 2020
Location: oslo/norway
Posts: 1,607
|
solarmon: I don't get it. If I have a button with input, ground. Is it not just to wire from pin 9 to input and ground to ground? Why I need a switch?
|
30 June 2020, 21:43 | #7 |
Registered User
Join Date: Jan 2020
Location: oslo/norway
Posts: 1,607
|
solarmon: I guess you are thinking if 2nd button can also be used as fire 1. Just like Competition pro. type of joystick?
|
30 June 2020, 22:03 | #8 |
Registered User
Join Date: Dec 2018
Location: UK
Posts: 1,715
|
When I say 'switch' I mean whatever you use to make the signal active - which in this case is pulling the signal to ground.
See the diagram in the link I have provided. EDIT: I was assuming you were going to use the normal method of using micro-switches. But reading your post again, it seems you are looking to use some other method to activate (pull to ground) the signals. Last edited by solarmon; 30 June 2020 at 22:15. |
30 June 2020, 23:25 | #9 |
Registered User
Join Date: Jan 2020
Location: oslo/norway
Posts: 1,607
|
solarmon: Thank you for the answers. I will use micro switch joystick and maybe micro switch buttons. Everything will go to ground.
|
01 July 2020, 15:41 | #10 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
|
Yep, if you connect a switch in parallel with the up switch, for example, it will have the same function and both will still be usable.
|
01 July 2020, 22:55 | #11 |
Banned
Join Date: Nov 2019
Location: Uranus
Posts: 193
|
you have to dd the 5v 10k resistor otherwise in some games the 2nd button will not work
examples BCkid,bubble and squeak, almost all CD32 games and lot of other games which were designed for the CD32 pad and the SEGA master system pad also adding a resistor the button will be much better and more responsive |
01 July 2020, 23:11 | #12 |
Registered User
Join Date: Dec 2018
Location: UK
Posts: 1,715
|
A Sega Master System controller does not have any active or passive components in it - it is basically wires, pads and buttons.
Edit: You can see the two fire buttons have connections to pin 6 (FIRE1) and 9 (FIRE2) and connections to pin 8 (GROUND). I'll try out some of those games with the Sega Master System controllers that I have and see if the second button works. But it works when testing in Amiga Test Kit. Last edited by solarmon; 01 July 2020 at 23:22. |
01 July 2020, 23:31 | #13 | |
Banned
Join Date: Nov 2019
Location: Uranus
Posts: 193
|
Quote:
anyways for example BCKID is from 1991 then you can reply me for which 2 button gamepad was done this game ? because if you do not add a resistor the 2nd button will not work in this game |
|
01 July 2020, 23:47 | #14 |
Registered User
Join Date: Dec 2018
Location: UK
Posts: 1,715
|
I only questioned your statement:
"designed for the CD32 pad and the SEGA master system pad" I was just pointing out that the Sega Master System pad does not have any resistors. I will try the games and see if what works and what doesn't work. |
02 July 2020, 00:30 | #15 |
Registered User
Join Date: Dec 2018
Location: UK
Posts: 1,715
|
@Misclegend
I tried BC Kid in 2 button mode, and with the Sega Master System Controller, the second button does not work for jump. My Quickshot Maverick QS-162 (designed for Sega Megadrive) does work - B button for headbutt and C button for jump. My Quickshot Maverick QS-128F didn't work in either Amiga or Sega mode. I assume the 'Sega' mode is for a 2-button Master System controller. Strangely, the 2nd fire button signal was triggered whenever I switch in and out of Sega mode, so there would be a jump only when I switch in or out of Seg mode. The Amiga Test Kit joystick test showed that for the Sega Master System controller, it was detecting the second fire button. But for the Quickshot QS-162 and QS-128F it was not detecting a 2 firebutton at all. So this suggest to me that the 2 fire button detection routing is different between ATK and from the game. I assume the required resistor is a pull up resistor to VCC? I assume the second firebutton detection routine doesn't like it floating, hence the need for the pullup resistor. Last edited by solarmon; 02 July 2020 at 00:35. |
02 July 2020, 02:10 | #16 | |
Banned
Join Date: Nov 2019
Location: Uranus
Posts: 193
|
Quote:
according to your tests it seems was coded for the megadrive pad I can't imagine the Amiga users having a megadrive pad in 1991 , that's really funny because the megadrive in 1991 was just 1 year old BTW, if you are testing games here is what I remember personally tested long time ago ( if my memory don't fail) don't need a resistor turrican 1 , 2 and 3 alien 3 yo joe desert strike R-type 1 and 2 needs a resistor: BCKID bubble and squeak AGA alfred chicken CD32 (cracked floppy version) Flink CD32 ( cracked floppy version) and surely all CD32 games which uses lowlevel.library post your results Last edited by Misclegend; 02 July 2020 at 02:17. |
|
02 July 2020, 11:04 | #17 |
Registered User
Join Date: Dec 2018
Location: UK
Posts: 1,715
|
I just tried Turrican 1 (IPF and ADF) and I could not get any of my joysticks to work with the second button feature.
|
02 July 2020, 12:25 | #18 | |
Banned
Join Date: Nov 2019
Location: Uranus
Posts: 193
|
Quote:
check how are the buttons linked in your master system pad,use a multimeter how did you created a floppy from IPF, Have u got a kryoflux? |
|
02 July 2020, 13:21 | #19 |
Registered User
Join Date: Dec 2018
Location: UK
Posts: 1,715
|
The Master System pad is same as picture above - this is my specific one:
You can see that the two fire button pads connect to signal pin 9 and 6 and to common ground pin on 8. This works as fire button 1 and 2 when tested in Amiga Test Kit. I converted the IPF image to HFE and used in a Gotek in my A1200. The second firebutton didn't work in that test. I have a Greaseweazle so I can write the IPF image to floppy disk. But I do have the original Turrican game and disk and tested it in my A500 and that did work! I now need to test with the original disk in A1200 and figure out why it didn't work with the IPF/HFE version, or whether there is a problem with my A1200. |
03 July 2020, 03:05 | #20 |
Banned
Join Date: Nov 2019
Location: Uranus
Posts: 193
|
Quote:
rev 2b motherboards have certain unknown bug which prevent some games the 2nd button work, perhaps they added a pullup resistor or something alike in pin 9 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CD32 joypad blue button vs standard 2 button joystick | jotd | Coders. Asm / Hardware | 6 | 08 May 2018 09:56 |
2nd button support for Mean Arenas | rmcin329 | Games images which need to be WHDified | 0 | 17 June 2013 16:56 |
edit joy 2nd button ? | turrican3 | support.WinUAE | 4 | 15 November 2012 10:30 |
2ND button joystick on a real Amiga | Fabie | support.Hardware | 36 | 20 November 2009 12:02 |
2nd Fire Button | Doozy | support.WinUAE | 7 | 22 January 2002 19:21 |
|
|