Ultimate Amiga

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

Title: Multibutton controller code
Post by: SamuraiCrow on August 01, 2019, 02:40:41 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 August 01, 2019, 07:43:27 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 August 02, 2019, 04:12:59 AM
How many buttons are supported by AMCAF's controller reader?
Title: Re: Multibutton controller code
Post by: Hungry Horace on August 02, 2019, 03:13:41 PM
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 August 02, 2019, 04:06:05 PM
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.