Ultimate Amiga

Network Boards => AMOS Professional Re-Development => AMOS Factory => Feature requests and bug reports => Topic started by: SamuraiCrow on 01 Aug, 2019, 03:40 AM

Title: Multibutton controller code
Post by: SamuraiCrow on 01 Aug, 2019, 03:40 AM
I just found this code on the Aminet:  http://aminet.net/package/dev/asm/ReadJoyPad
Title: Re: Multibutton controller code
Post by: Hungry Horace on 01 Aug, 2019, 08:43 PM
I've actually used this on WHDload slaves :)

I think some of the slave authors have made some improvements over time, especially helpful for emulation compatibility.

http://eab.abime.net/showpost.php?p=1332389&postcount=33

With AMOS i tend to just use the AMCAF commands for it , which work very well.  XFire(p,b) i think ?  (port, button)

Title: Re: Multibutton controller code
Post by: SamuraiCrow on 02 Aug, 2019, 05:12 AM
How many buttons are supported by AMCAF's controller reader?
Title: Re: Multibutton controller code
Post by: Hungry Horace on 02 Aug, 2019, 04:13 PM
Quote from: SamuraiCrow on 02 Aug, 2019, 05:12 AM
How many buttons are supported by AMCAF's controller reader?

All 7 CD32 buttons, on both ports.

It also has Parallel port support (4 directions, 1 fire) but IIRC one of the ports is bugged / read incorrectly, so i usually end up using the ERCOLE extention for that.
Title: Re: Multibutton controller code
Post by: SamuraiCrow on 02 Aug, 2019, 05:06 PM
Quote from: Hungry Horace on 02 Aug, 2019, 04:13 PM
Quote from: SamuraiCrow on 02 Aug, 2019, 05:12 AM
How many buttons are supported by AMCAF's controller reader?

All 7 CD32 buttons, on both ports.

It also has Parallel port support (4 directions, 1 fire) but IIRC one of the ports is bugged / read incorrectly, so i usually end up using the ERCOLE extention for that.
That's why I asked.  I knew you had said you used another extension for port reading due to a bug in the parallel port expansion.