Short: Test and sample code for Octodapter Author: Chrille_7thsign Uploader: 7thsign gmx de (Chrille) Type: driver/input Version: 0.2 Replaces: driver/input/MultiJoyTest.lha Architecture: m68k-amigaos Kurz: Test und Beispiel Code für Octodapter Descriprtion ------------ The Software Development Kit for Octodapter. Included is a test program which shows the raw input of 8 joysticks conected to the Octodapter which is plugged into your Amiga parallel port. The Octodapter is based on my originally developed 10 player adapter for our Bomberman clone "Gladiators" which was developed in 1995 for AGA Amigas. The MultiJoyAdapter has up to 8 additional ports and at least 4 additional ports. If there is no adapter connected it will only print 00 00 00 00 00 00 00 on the screen. You can exit the program with left mouse button The program opens a screen and prints the raw data of eight joysticks. Bit 0 is up Bit 1 is down Bit 2 is left Bit 3 is right Bit 4 is fire Bit 5 is fire2 (if your joystick has 2 different buttons) Bit 6 is fire3 (if your joystick has 3 different buttons) The Octodapter will be soon available at Alinea Computer. If you want to write new games with up to 10 players, you can copy parts of the source. The usage of the adapter is easy: Configure your CIA paralellel ports with or.b #7,$bfd200 ; output for addressing the joystick port move.b #0,$BFE301 ; input for $BFE101 Address the port via $BFD000 like: ; in d0 is the joynum and joynum is between 0 and 7 and.b #$f8,$bfd000 or.b d0,$bfd000 Read the joydata via $BFE101 move.b $bfe101,d0 ; the inut of the adressed joyport not.b d0 ; invert the input so that a logical 1 is pressed ======== History: OctodapterSDK V0.2 - fixed the readme file. There was the wrong port address, correct address is $BFD000 and NOT $BFD00 (sorry) - renamed package name to Octodapter SDK - does not destroy bits for serial port anymore, but if you are not using the serial port and your code is running with disabled Amiga OS, you can still use "move" instead of "and" and "or" MultiJoyTest V0.1 first Aminet Release