larry@jc3b21.UUCP (Lawrence F. Strickland) (03/31/88)
I just recently bought a program (OK, its a game, so what!) that uses the joystick port. Having gotten an excellent deal on an (almost) news joy- stick, I was ready to go. With the joystick was a small piece of paper that contained a BASIC program intended to 'center' the joystick. It used the stick(0) and stick(1) functions from {MS,PC,GW}BASIC to determine the highest returned 'values' and then you adjusted some pots on the joystick for half those values. GREAT. Except that it doesn't work quite right, possibly because I'm using an 80386, possibly because the joystick is mucked up,... Anyway, I thought I would re-write the program in "C" just to be sure. I was sure I'd seen some documentation on the joystick and setting it up, but no luck! I know its located at ports 200-207h and can read same and see the buttons on the joystick operate. However it is apparently attached to an SIO, PIO or some other programmable device. Does anyone know how to set/access the joystick? Thanks, -larry -- +--------------------------------------+-- St. Petersburg Junior College --+ | Lawrence F. Strickland | P.O. Box 13489 | | ...gatech!codas!usfvax2!jc3b21!larry | St. Petersburg, FL 33733 | +-(or) ...gatech!usfvax2!jc3b21!larry -+-- Phone: +1 813 341 4705 ---------+