![]() |
|
|||||||
| Register | >> Amiga FAQ/Wiki << | Rules & Help | Members List / Moderators List | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Moderator
Join Date: Jul 2004
Location: Norwich, Norfolk, UK
Age: 26
Posts: 9,675
|
Blitz Basic 2.1 problem with reading a CD32 joypad
I've been working on a game recently and it's not that far off being finished but I've hit a bit of a stumbling block. It's a multiplayer game and as well as being able to use a joystick adaptor, there is also a padshare option allowing two players to use one pad - it has to be a CD32 pad though so there is enough buttons available.
Anyway Blitz has a command to read buttons on a CD32 pad called Gameb. You use it thus: Gameb (Port#) where of course port is 0 (mouse port) or 1. When I check the pad in port 1 it works fine and reads all the buttons without a problem. But when I try it in port 0, with the exact same code only I've changed the 'Port' number, it won't read the buttons at all except for the left shoulder button, curiously. Is this a bug with Blitz I wonder? It isn't my pad because it works fine in port 1 with my game, and it isn't my mouse port as I tested it with Base Jumpers CD32 and the padshare option worked perfectly in port 0. And it's not my code because as I said, it works fine in port 1 but as soon as I change all the 1s to 0s it goes bonkers. Any ideas? Does the latest Amiblitz do the same thing?
__________________
The EAB/Lemon Amiga Super League | Round 6 - Arcade Pool | Round 7 voting Lemon Amiga is now on YouTube and Facebook! |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Aug 2007
Location: Gold Coast, Australia
Age: 28
Posts: 1,098
|
It's not Graham's hardware, because the game acts the exact same way on my A1200 too. I hope someone can help!
|
|
|
|
|
|
#3 |
|
Moderator
Join Date: Jul 2004
Location: Norwich, Norfolk, UK
Age: 26
Posts: 9,675
|
I'll have to give AmiBlitz a whirl I think... that is unless somebody can conjure up a solution
![]()
__________________
The EAB/Lemon Amiga Super League | Round 6 - Arcade Pool | Round 7 voting Lemon Amiga is now on YouTube and Facebook! |
|
|
|
|
|
#4 |
|
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 37
Posts: 8,139
|
You could do it directly using asm or even the system includes!
|
|
|
|
|
|
#5 |
|
Moderator
Join Date: Jul 2004
Location: Norwich, Norfolk, UK
Age: 26
Posts: 9,675
|
I could do but my ASM knowledge is nil, likewise for the system includes. Looks like more stuff to get my head around
![]()
__________________
The EAB/Lemon Amiga Super League | Round 6 - Arcade Pool | Round 7 voting Lemon Amiga is now on YouTube and Facebook! |
|
|
|
|
|
#6 |
|
CD32 Fanboi
Join Date: Nov 2006
Location: Exeter, UK
Age: 34
Posts: 520
|
Hey this is interesting Graham - a new amiga game?
![]() |
|
|
|
|
|
#7 |
|
Moderator
Join Date: Jul 2004
Location: Norwich, Norfolk, UK
Age: 26
Posts: 9,675
|
Yes
![]() More details to follow soon ![]()
__________________
The EAB/Lemon Amiga Super League | Round 6 - Arcade Pool | Round 7 voting Lemon Amiga is now on YouTube and Facebook! |
|
|
|
|
|
#8 |
|
Moderator
Join Date: Jul 2004
Location: Norwich, Norfolk, UK
Age: 26
Posts: 9,675
|
Just tried it on (the gargantually appalling) AmiBlitz 3 (when it didn't crash) and exactly the same thing happened so it looks like I'm stuck for the time being
![]()
__________________
The EAB/Lemon Amiga Super League | Round 6 - Arcade Pool | Round 7 voting Lemon Amiga is now on YouTube and Facebook! |
|
|
|
|
|
#9 |
|
Hamster tamer
Join Date: Apr 2007
Location: Out in the woods
Posts: 122
|
Have a look at the RI Blitzlibs (part of the old Blitz support suite), IIRC there was a command lib in them for querying joysticks & joypads.
If your version of Blitz is so old that they're not included, aminet has them http://aminet.net/package/dev/basic/RIBlitzLibs |
|
|
|
|
|
#10 |
|
Registered User
Join Date: Jan 2005
Location: 62-France
Age: 45
Posts: 415
|
hello,
you can post your question on the amiforce.de forum on the amiblitz3 english part: http://www.amiforce.de/main.php the author and others users maybe will help you for the problem and you could post your request/greetings for amiblitz3.1. amiblitz3.1 is located here: http://amiblitz3.amiforce.de/index.php?action=3 there are some german users active on the german part of amiblitz3 on amiforce. Maybe one of them will help you for the problem. you can post on amiforce as anonymous for a try or be registered, like me.
__________________
A1200+Mediator+VooDoo3+060/50+96mo+IIYAMA 17"+CD,CDRW,ZIP SCSI-KIT SAM440EP on Mapower 3000+AOS4.1 |
|
|
|
|
|
#11 |
|
Moderator
Join Date: Jul 2004
Location: Norwich, Norfolk, UK
Age: 26
Posts: 9,675
|
Thanks guys!
__________________
The EAB/Lemon Amiga Super League | Round 6 - Arcade Pool | Round 7 voting Lemon Amiga is now on YouTube and Facebook! |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| blitz basic | petza | request.Apps | 11 | 08 April 2007 01:49 |
| Blitz Basic 2 anyone? | jobro | request.Apps | 12 | 28 November 2005 18:15 |
| Free Blitz Basic! | Amigaboy | Amiga scene | 0 | 13 November 2001 18:36 |
| Blitz Basic 2 Version 1.7 ! | RetroMan | request.Apps | 12 | 06 November 2001 21:10 |
| Blitz Basic 2 | LaundroMat | Retrogaming General Discussion | 5 | 24 July 2001 08:10 |