techie_alison wrote:What is required (and would be helpful for quite a few people) is a small ST program which shows on screen what the joystick and mouse counters are doing.
UP, DOWN, LEFT, RIGHT, BUTTON1, BUTTON2 etc.
And in the program, the mouse counters would also be displayed. Such that it effectively allows one to test joysticks and mice.
techie_alison wrote:What would you compile this with Hans (so I can play with the code) that's readily available on one of the ftp sites?
techie_alison wrote:Only issue I can see is if you switch to Joystick 0, it then drops the mouse. And you lose the ability to change or exit.
ppera wrote:Here is it ...
All done with system calls. No direct HW access, no supervisor mode. Source is commented more than I use
Tested with TOS 1.02, 1.04, 2.06, 4.02 .
P.S. updated, so displays alternate fire button pressing (right one for joy.) - only when joystick is attached to port 0, as on port 1 pin 9 is not connected.
Users browsing this forum: No registered users and 4 guests