Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ames!necntc!adelie!infinet!ulowell!cg-atla!saulnier From: saulnier@cg-atla.UUCP (Jim Saulnier X7097) Newsgroups: comp.sys.atari.8bit Subject: Re: Stan Lackey's question about joystick I/O Message-ID: <1060@cg-atla.UUCP> Date: Tue, 10-Nov-87 10:16:04 EST Article-I.D.: cg-atla.1060 Posted: Tue Nov 10 10:16:04 1987 Date-Received: Fri, 13-Nov-87 22:23:47 EST References: <821350@RPITSMTS.BITNET> Organization: Compugraphic Corp., Wilmington, Mass Lines: 22 Summary: joystick I/O The joystick data lines are ACTIVE LOW. If nothing is connected to these ports, you will read $FF from the joystick register. I would not advise connecting +5v to ANY of these lines. I'm not sure if any damage would result, but it's not a good idea anyway. The Atari Hardware manual has the pinout for these ports. I usually read directly from the regiter rather than the shadow locations. In my 130XE, both data ports can be read from the same register ($D300 I think), with port 0 being the lower nibble and port 1 the upper nibble. Anyway, if you want to find the data lines, connect GND to the different pins and read the register or shadow. Better yet, at your request, I will post the pinout for the port and requirements for reading/writing this port. -- Jim Saulnier ...!{decvax,ima,ism780c,ulowell,cgeuro,cg-f}!cg-atla!saulnier "Wow, it never did THAT before."