Hangar.La tienda de software del Amiga

MultiJoyTest 0.1

Test a MultiJoyAdapter (8 joysticks)

Short:        Test a MultiJoyAdapter (8 joysticks)
Author:       Chrille_7thSign
Uploader:     7thsign gmx de
Type:         driver/input
Version:      0.1
Architecture: m68k-amigaos >= 1.1
Distribution: Aminet
Kurz:         Test Programm für den MultiJoyAdapter

Description
-----------
The MultiJoyAdapter has up to 8 additional ports and at least 4 additional
ports. If you want to buy this adapter, it will be soon available at
Alinea Computer https://www.amiga-shop.net/.
MultiJoyTest is an example for testing or using a MultiJoyAdapter connected
to your Amiga parallel port. The MultiJoyAdapter is based on my originally
developed 10 player adapter for our game "Gladiators" which was developed in
1995 for AGA Amigas. The code is based on code of Gladiators DebugScreen and
its code for debugging. 

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 and right mouse button.

The program opens a screen and prints the raw data of eight joysticks.
Bit 0 == 1 up is pressed
Bit 1 == 1 down is pressed
Bit 2 == 1 left is pressed
Bit 3 == 1 right is pressed
Bit 4 == 1 fire is pressed
Bit 5 == 1 fire2 is pressed (if your joystick has 2 different buttons)
Bit 6 == 1 fire3 is pressed (if your joystick has 3 different buttons) 

If you want to write new games with up to 10 players with the MultiJoyAdapter,
you can copy/modify parts of the source. The source is free! 

The apdapter is pretty easy to use:
Configure your CIA parallel ports with 
 or.b #7,$bfd200    ; output for addressing the joystick port 
 move.b #0,$BFE301  ; input for $BFE101
 
Address the port via $BFD00:
 move.b #joynum, $BFD00 ; where joynum is between 0 and 7
 
Read the joydata via $BFE101: 
 move.b $bfe101,d0  ; the input of the adressed joyport
 not.b d0	        ; invert the input so that a logical 1 is pressed

Gratis

Descargar 6 KB

Desde el Amiga: abre Hangar y busca MultiJoyTest.

AutorChrille_7thSign
Categoríadriver/input
Tamaño6 KB
Fecha2026-06-22
Param68k-amigaos >= 1.1
OrigenAminet