[comp.sys.amiga.tech] Analog Joystick

dbk@fbog.UUCP (Dave B. Kinzer @ Price Rd. GEG) (11/07/88)

[]

   OK, that didn't take long - I have another question.

   In order to test the joystick hardware, I wrote a quick & dirty routine
to start a vblank server from a program.  The program would (I almost hate
to admit this) busy wait for the vblank server to change some locations
for it.  The server would check to see if the program was waiting, and if
so it would write out the pot1dat and joy1dat values to the waiting program.
Regardless of whether the program was waiting, the server would then write
a $0001 to the potgo register.  This resulted in some pot values (not quite
what I expected [but obviously paired XY values]) and joyport values (ok)
being passed to the program.  Unfortunately, the screen refreshed for every
value passed back.   What's going on here?  It seems like my vblank server
is being interrupted.  Thanks again in advance.


  


-- 
|     // You've heard of CATS and DOGS, I'm from GOATS, Dave Kinzer         |
|    //  Gladly Offering All Their Support!             noao!nud!fbog!dbk   |
|  \X/   "My employer's machine, my opinion."           (602) 897-3085      |