| 84716 packages online |
|
|
| | | | No screenshot available |
|
This patch is meant to simplify the programming of the parallel port 4-player
adapter, by mapping it to port 2 and 3 of LowLevel.library that are
normally unused.
It patches the ReadJoyPort() and SetJoyPortAttrsA() functions. The latter is
simply a wrapper around the original function that always returns success for
ports 2 and 3.
Installation:
Copy "ll4player" into the C: drawer, and add the following line to your
Startup-Sequence or User-Startup:
C:Run >NIL: C:ll4player
The patch takes control of the parallel port, so yo need to remove it before
using any other parallel port device (printer, sampler, etc.).
To test the patch, you can use the included "llporttest" utility. It simply
prints the bitfield for ports 0-3 and interprets them.
The source code for both programs is included, which can be compiled with VBCC
or GCC.
|
Contents of util/misc/ll4player.lhaPERMISSION UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown] 912 1612 56.6% -lh5- fa41 Sep 29 18:42 ll4player
[unknown] 634 1154 54.9% -lh5- bea0 Sep 29 20:04 ll4player.readme
[unknown] 759 1416 53.6% -lh5- 189d Sep 29 20:02 llporttest
[unknown] 1890 6560 28.8% -lh5- 114f Sep 29 18:42 src/ll4player.c
[unknown] 837 2395 34.9% -lh5- 3b89 Sep 29 20:02 src/llporttest.c
[unknown] 152 254 59.8% -lh5- cf1a Sep 29 19:58 src/Makefile
---------- ----------- ------- ------- ------ ---------- ------------ ----------
Total 6 files 5184 13391 38.7% Oct 1 18:41
|
|
|
|
Aminet © 1992-2024 Urban
Müller and
the Aminet team.
Aminet contact address: <aminetaminet net> |