English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 15 August 2010, 12:53   #1
bagpipes
Registered User
 
bagpipes's Avatar
 
Join Date: Feb 2009
Location: Poland
Posts: 93
Red Button/Input Problem (CD32)

I have problem with Red Button/Input in CD32's compilations maded by rgcd. Others inputs works good.

Here's the site:
http://www.rgcd.co.uk/cd32/

For example Turrican Collection image:
http://www.rgcd.co.uk/cd32/turricancollectioncd32.iso

I know that this compilation (and others maded by rgcd) works good on real CD32.
bagpipes is offline  
Old 15 August 2010, 13:17   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
"Problem" is not very helpful..
Toni Wilen is offline  
Old 15 August 2010, 13:35   #3
bagpipes
Registered User
 
bagpipes's Avatar
 
Join Date: Feb 2009
Location: Poland
Posts: 93
For example - in Turrican Collection when I press & hold blue or yellow buttons the games starts, but when I press & hold red button I see "choose menu" again and again ....Hmm - looks like red button "holding" don't work.
bagpipes is offline  
Old 15 August 2010, 16:10   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
Boot script uses exact same command to read initial red button before menu and after menu image loads.

Red button is also correctly returned in hardware and lowlevel.library read routine detects it correctly. (checked in debugger)

Must be some timing related thing or perhaps even timing issue in pad read utility..
Toni Wilen is offline  
Old 15 August 2010, 21:09   #5
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
It was a bug after all, 3rd button line was not floating in CD32 pad 2-button mode.

This was originally quite confusing problem because of undocumented(?) lowlevel.library "feature":

Very first lowlevel.library/ReadJoyPort() reads CD32 pad as normal joystick (2-button mode, only dpad and red and blue can be detected), all following ReadJoyPort() calls read it as CD32 pad (all buttons are available)

In other words: only first read (Red button check) returns 2 buttons pressed (fire=red and 3rd button=yellow), following reads (Blue and Yellow checks) use full CD32 pad read mode which returns correct button state.

winuae.zip updated, please test that other games still work
Toni Wilen is offline  
Old 15 August 2010, 23:57   #6
bagpipes
Registered User
 
bagpipes's Avatar
 
Join Date: Feb 2009
Location: Poland
Posts: 93
YEAH!!! Everything (RGCD compilations and official titles) works great! Thanks Toni!!!
bagpipes 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
CD32 Input Issue - Perhaps ! how support.WinUAE 8 17 April 2011 21:41
cd32 problem phantom joy button action heerschop support.Hardware 5 19 September 2010 06:09
ATR - All Terrain Racing input problem (CD32) bagpipes support.WinUAE 4 17 August 2010 13:58
Prb: green or red veil on my cd32 + FMV sayasupacrew support.Hardware 21 14 March 2010 21:00
Mouse and infra-red led problem Old Fool support.Hardware 0 07 April 2007 19:16

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 22:38.

Top

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