|
84741 packages online
|
|
|
|
|
|
No screenshot available
|
|
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
|
Contents of driver/input/MultiJoyTest.lha
PERMISSION UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[generic] 405 984 41.2% -lh5- 8396 May 16 1998 MultiJoyAdapter/src/DFont
[generic] 3985 15411 25.9% -lh5- 3f56 Mar 9 1980 MultiJoyAdapter/src/TestMuliJoyV1.asm
[generic] 1562 7532 20.7% -lh5- 5ccd Mar 9 1980 MultiJoyAdapter/TestMuliJoyV1
---------- ----------- ------- ------- ------ ---------- ------------ ----------
Total 3 files 5952 23927 24.9% Mar 11 01:05
|
|
|
|
Page generated in 0.001 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminetaminet net> |