English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 16 March 2018, 22:56   #61
jotd
Cat freak
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 46
Posts: 2,245
ok Toni, I'm about to test this.

Can you tell me where the CIA chips are located on the mobo? I searched for pics but found nothing.

Also: I've used JoyPortTest by Psygore with my 060 board disabled and same thing: joypad buttons aren't recognized (except for red of course)

EDIT: tested and still same issue: even with delays x9 (9 times slower) the red button is detected, others aren't.

I've zoned "_JoyButtonTestHDDev.zip", it uses whdload (src included) you can start it and change the timer. Works fine in winuae, fails on my A1200. Will test on CD32 TF232 as well.
Tell me if you need more info.

EDIT: I'm realizing that I'm not waiting the VBL delay between reads. So my test is moot... Let me change that later today. Don't test it as reading the buttons too fast renders the read useless (and that's an issue with second button in some commercial games which have native 2 button support like Banshee and some others)

Last edited by jotd; 17 March 2018 at 11:53.
jotd is offline  
AdSense AdSense  
Old 17 March 2018, 17:45   #62
jotd
Cat freak
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 46
Posts: 2,245
Toni, updated (in the zone) with VBL wait between readings. Still same... Do you think you'll be able to find a solution on a real miggy?
jotd is offline  
Old 17 March 2018, 18:04   #63
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 21,391
Quote:
Originally Posted by jotd View Post
Toni, updated (in the zone) with VBL wait between readings. Still same... Do you think you'll be able to find a solution on a real miggy?
More questions..

Increased dummy CIA delays didn't change anything?

Does detection return "no CD32" even when pad is connected?
Does CD32 pad buttons work normally if you skip detection and assume pad exists?

EDIT: You sure it isn't the pad? It is possible some crappy 3rd party pads don't return "extra button" states correctly.

Last edited by Toni Wilen; 17 March 2018 at 18:13.
Toni Wilen is offline  
Old 17 March 2018, 21:24   #64
jotd
Cat freak
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 46
Posts: 2,245
I have always got time for your questions.

- Increased dummy CIA delays didn't change anything?: I performed an higher loop: no go, so no.
- Increased dummy CIA delays didn't change anything?: I have removed the detection (joypadtest by psygore seems to wrongly detect the pad as well) so I don't kno
- Does CD32 pad buttons work normally if you skip detection and assume pad exists?: detection isn't called, so pad is assumed, and no it doesn't work
- It is possible some crappy 3rd party pads don't return "extra button" states correctly: It's an original CD32 pad from C=. It's been working perfectly on the CD32. Maybe now it's buggy. I have several of those. I'll check again

to sum it up, here are the tests I'm planning:

- Running joypadtest/my tester on my TF232 card on my CD32
- Testing with another CD32 joypad
- Testing with another A1200 motherboard (rev 1D)
- not all those tests at the same time

As said before, I believe the TF232 messes with joypad readings, and I cannot test with my raw CD32 because the CD doesn't work anymore!
jotd is offline  
Old 17 March 2018, 22:46   #65
jotd
Cat freak
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 46
Posts: 2,245
I feel stupid: one of my joypads is clearly not working. Well, red button works, others don't...
both original.

Going to make a little fire in the garden.

I'm relieved, but there's still an issue with pads and non-CD32 HW. Lemme check better.

Got 3 joypads. One is broken: only red is working. Probably internal circuitly...
The other one works perfectly. Psygore proggy or my tester: works fine
The third one, really bad contacts on shoulder buttons, but works fine apart from that.

No wonder why I was going crazy now it's possible to test all those joypad-compliant games & HW.

Sorry for this mess.

Last edited by jotd; 17 March 2018 at 22:54.
jotd is offline  
Old 17 March 2018, 23:00   #66
Retro1234
Bo Bo

Retro1234's Avatar
 
Join Date: Jun 2006
Location: 5150
Posts: 3,911
Are you sure Blue button isnt working, I.e in two button mode?

Ive had pads that I thought weren't working but were in Two button mode.
Retro1234 is offline  
Old 18 March 2018, 09:50   #67
jotd
Cat freak
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 46
Posts: 2,245
no, blue isn't working either. Red seems completely different circuitry from 2nd buttons on SEGA joypads, and all-but-red seems completely different circuitry from red button in the CD32 pads.

I have 2 wico joys, 1 joy has second button not working, unless you switch to: both buttons equals. Which means that the button itself isn't at fault. The circuitry is.

That plus the software issues while reading those (respect the timings, POTGO initialization) make all this subject a real nightmare
jotd is offline  
Old 21 March 2018, 20:31   #68
TuRRIcaNEd
AKA Mr. Rhythm Master/AIS

TuRRIcaNEd's Avatar
 
Join Date: Aug 2017
Location: London, UK
Posts: 58
Is it worth seeing if you can hunt down a third-party CD32 pad to see if the circuitry layout is any clearer?
TuRRIcaNEd is offline  
AdSense AdSense  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Lincs Amiga User Group aka "LAG" Meeting Confirmed for Sat 2nd of March" rockape News 2 21 February 2013 22:46
"Reminder "Lincs Amiga User Group aka "LAG" Meet Sat 5th of January 2013" rockape News 4 30 January 2013 00:06
CD32 Image-Name-Bug: "...(bla)[!].zip" -> "...(bla)[" / "...[test].zip" -> "...[tes" cfTrio support.WinUAE 8 18 December 2012 16:31
Shadowlands ("Mystery Tour" problem) Bolch support.Games 1 14 December 2007 15:48
Problems with "Thespywholovedme", "Flood", "Shinobi" sareks support.Games 12 03 May 2006 14:52

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 08:28.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.07888 seconds with 14 queries