AminetAminet
Search:
85093 packages online
About
Recent
Browse
Search
Upload
Setup
Services

driver/input/OctodapterSDK.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric iconother icon
No screenshot available
Short:Test and sample code for Octodapter
Author:Chrille_7thsign
Uploader:7thsign gmx de (Chrille)
Type:driver/input
Version:0.2
Architecture:m68k-amigaos
Date:2026-01-09
Replaces:driver/input/MultiJoyTest.lha
Download:driver/input/OctodapterSDK.lha - View contents
Readme:driver/input/OctodapterSDK.readme
Downloads:31

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


Contents of driver/input/OctodapterSDK.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[Amiga]                    405     984  41.2% -lh5- 8396 May 16  1998 OctodapterSDK/src/DFont
[Amiga]                   4047   15634  25.9% -lh5- 6240 Mar 19  1980 OctodapterSDK/src/TestOctodapter.asm
[Amiga]                     15      15 100.0% -lh0- 237f Mar 19  1980 OctodapterSDK/StartOctodapterTest
[Amiga]                    657     935  70.3% -lh5- b5b7 Mar 19  1980 OctodapterSDK/StartOctodapterTest.info
[Amiga]                   1809    8332  21.7% -lh5- 48ce Mar 19  1980 OctodapterSDK/TestOctodapter
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         5 files    6933   25900  26.8%            Jan  9 22:57
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>