Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Multibutton controller code  (Read 673 times)

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 889
  • Compile-time wierdo
Multibutton controller code
« on: August 01, 2019, 02:40:41 AM »

I just found this code on the Aminet:  http://aminet.net/package/dev/asm/ReadJoyPad
Logged

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 306
  • Offline Offline
  • Posts: 3,322
  • Don't forget... Ameboid's need love too!
    • Amiga Online
Re: Multibutton controller code
« Reply #1 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)

Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

Hungry Horace's Artwork Available
Buy my work

http://twitter.com/horaceandspider

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 889
  • Compile-time wierdo
Re: Multibutton controller code
« Reply #2 on: August 02, 2019, 04:12:59 AM »

How many buttons are supported by AMCAF's controller reader?
Logged

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 306
  • Offline Offline
  • Posts: 3,322
  • Don't forget... Ameboid's need love too!
    • Amiga Online
Re: Multibutton controller code
« Reply #3 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.
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

Hungry Horace's Artwork Available
Buy my work

http://twitter.com/horaceandspider

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 889
  • Compile-time wierdo
Re: Multibutton controller code
« Reply #4 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.
Logged
Pages: [1]   Go Up
 

TinyPortal 1.6.4 © 2005-2019