English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware > Hardware mods

 
 
Thread Tools
Old 18 April 2017, 18:27   #1
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,646
CD32 reset-by-joypad device?

Would it be possible to create a device, connected internally to the CD32's controller port, that would intercept the signals sent through it and upon a specific combination (let's say both shoulder buttons and play/pause), it would trigger a reset? This would also have to connect to the reset button or another point in the motherboard where a reset can be executed.

I feel like a tiny Arduino could be made to do this and it would be super cool for being able to reset the console from the joystick and choose another game when you are playing compilation CDs. Then again I don't have the tech know-how to make it myself ;(
Amiga1992 is offline  
Old 18 April 2017, 19:19   #2
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,233
Cd32load already does that for games running under it
jotd is offline  
Old 18 April 2017, 20:32   #3
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,646
When did I miss this fantastic feature? How does it get triggered?

Still would be good to have an all purpose solution that could also work on other Amigas and software, as long as you have a CD32 controller. People with Tinylauncher or similar could control it all from their joypad without need to reach towards the keyboard.
Amiga1992 is offline  
Old 18 April 2017, 21:46   #4
Amigajay
Registered User
 
Join Date: Jan 2010
Location: >
Posts: 2,891
Yes CD32load has it, I think it's press all 7 buttons at the same time to reset.
Which is great for those games, also of course works with the demos on the demo disc I'm working on, but whdload or file/exe demos of course need getting up!
Amigajay is offline  
Old 19 April 2017, 00:19   #5
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,646
Would be hard to press all 7, maybe it is color buttons plus shoulder ones? I'll try tonight when I get back home 😊
Amiga1992 is offline  
Old 19 April 2017, 01:19   #6
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
For hardware, a second shift register inside the machine to read the value of the one in the joystick,
then a number of and gates to set the button combination to reset.
Since you'd get four and gates in a chip, it could be done with two stock Logic chips.
xArtx is offline  
Old 19 April 2017, 06:09   #7
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,646
The CD32 pad doesn't work like a standard DB9 Atari-type joystick, so not sure if the solution would be that simple, would it?
I actually don't even know what kind of into the Amiga receives from that sort of pad.
Amiga1992 is offline  
Old 19 April 2017, 07:24   #8
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
It receives both the information from the standard part (directions & fire) in parallel,
and receives a bit stream for the extra buttons serially.
xArtx is offline  
Old 19 April 2017, 15:36   #9
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,646
I guess I have to go and read up some on how to make this, it sounds quite simple.
Which pin on the port sends the data stream?
Amiga1992 is offline  
Old 19 April 2017, 15:56   #10
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,233
I confirm CD32Load resets the console when pressing all 4 color buttons + play button. No need to press shoulder buttons. Can't find that in the doc. Got to document that (I can't believe that I didn't do it earlier, sorry)

Manual solution: if you have a selfie stick you can try to use it to remotely press the reset button

Last edited by jotd; 19 April 2017 at 16:02.
jotd is offline  
Old 19 April 2017, 17:22   #11
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,646
Quote:
Originally Posted by jotd View Post
Manual solution: if you have a selfie stick you can try to use it to remotely press the reset button
That would be something
I wish we could just use CD32Load replacing WHDLoad for everything! Hoping you can get back into it sometime soon
Amiga1992 is offline  
Old 19 April 2017, 21:30   #12
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,233
I don't think you can replace whdload by cd32load anytime soon on a CD32 because some whdload features are not or not accurately emulated (that could be fixed, but that's not trivial)
Besides, there are some issues with custom CD I/O routines, even if it improved, whereas using the OS to load from CD works much better.

Not sure when I'll resume the work on the project. It's advanced enough already, and now the remaining missing features/bugs are very hard to implement/fix.
jotd is offline  
Old 19 April 2017, 21:59   #13
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,646
I wish you had some help, really. You've done so much for us CD32 users!
Amiga1992 is offline  
Old 20 April 2017, 19:34   #14
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,233
Unlike some of my fellow colleagues (guess who this may be) I always provide the source of my projects. So CD32load is almost open source (except some CDIO parts which I just use as binary).

Toni helped a great deal BTW: fixing the CDIO bug present in RN loader AND in Psygore loader (I guess one copied the other, just find out which is which ), and providing the routine to send a key event without keyboard He also provided a routine to read CD audio. That one I didn't use (yet).

But taking over someone else's work is never easy, even with the source.
jotd is offline  
Old 26 September 2021, 23:54   #15
MrDBUG
Registered User
 
Join Date: Apr 2010
Location: Larvik, Norway
Posts: 125
Button two on joystick resets CD32 ?!

Hello !
Ive been testing my CD32 a little lately and had some odd behaviour on the Factor5 collection by AmigaJay. I have been using the twobutton Amiga joystick from AmigaKit and oddly I've seen resets when pushing button two in some off the games ! This is in the games that does not use the button for anything ingame. And also I had some Wierd colour pulsing from grayscale to colour on Turrican 2 opening screen and ingame :-(
My CD32 is supposed to be recapped and does not show much errors in other games !
MrDBUG is offline  
Old 27 September 2021, 09:25   #16
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,233
Your console is probably ok. Test with a real CD32 joypad instead of a 2 button joy. I don't know about this collection does it use cd32load?
jotd is offline  
Old 30 September 2021, 00:41   #17
MrDBUG
Registered User
 
Join Date: Apr 2010
Location: Larvik, Norway
Posts: 125
Quote:
Originally Posted by jotd View Post
Your console is probably ok. Test with a real CD32 joypad instead of a 2 button joy. I don't know about this collection does it use cd32load?
Hey !

JTOD - CD32Load is thanked in the Readme ! :-)
I tried a compilation from RGCD and there Turrican 2 was sane !
A friend suggested it could be some PAL/Ntsc issue ?!

I dont know about the button though. No crashes with CD32 gamepad. :-O
MrDBUG is offline  
Old 30 September 2021, 19:14   #18
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,233
JTOD lol I know... Try to figure out if the games that reboot use CD32load or not.

Maybe an old version of CD32load is used and joystick isn't properly detected. Or joystick successfully masquerades as joypad just for detection, then fails when second button is pressed.
jotd is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Joypad that's 100% compatible with CD32 Joypad? ancalimon Retrogaming General Discussion 26 15 September 2015 08:49
CD32 reset from joypad? Amiga1992 Hardware mods 9 02 July 2013 08:44
PSX to CD32 JoyPad BadMojo support.Hardware 2 15 March 2006 23:45
CD32 joypad narud17 New to Emulation or Amiga scene 12 06 December 2005 13:07

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 00:47.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11537 seconds with 13 queries