Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!renoir.Berkeley.EDU!robinson From: robinson@renoir.Berkeley.EDU (Michael Robinson) Newsgroups: comp.sys.amiga Subject: Judge not lest ye be judged. (was Worst Enemy--The Manuals!!) Message-ID: <19021@ucbvax.BERKELEY.EDU> Date: Mon, 25-May-87 13:26:33 EDT Article-I.D.: ucbvax.19021 Posted: Mon May 25 13:26:33 1987 Date-Received: Tue, 26-May-87 01:47:47 EDT Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: robinson@renoir.Berkeley.EDU (Michael Robinson) Distribution: world Organization: University of California, Berkeley Lines: 40 In article <1183@charon.unm.edu>, hansb@ariel.UUCP (Hans Bechtel) writes: >I have found the left button's location, $BFE001, but the MANUAL ^^^^^^^^^^^^^^ >does not mention the right button even once. There is another location, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >$BFD100, that mentions /sel0 /sel1 /sel2 /sel3, but absolutely no >documentation on what they are expecting. In the Addison/Weseley Amiga Hardware Reference Manual, Commodore/Amiga writes: pp. 219 "Button 2 (right button on Amiga mouse) is connected to pin 9 of the controller ports. See `Reading Proportional Controllers' for more information. High resistance indicates `switch open.' Low resistance indicates `switch closed.' pp. 222 (extensively edited) "Pin Mouse Proportional Joystick 9 Button 2 POT Y " pp. A-9 POT0DAT 012 R P Pot counter data left pair (vert, horiz) POT0DAT 014 R P Pot counter data right pair (vert, horiz) ... BIT# 15,14,13,12,10,09,08 07,06,05,04,03,02,01,00 ----- --------------------- ------------------------ LEFT Y6 Y5 Y4 Y3 Y2 Y1 Y0 X7 X6 X5 X4 X3 X2 X1 X0 The position of the right mouse button thus may be read at the byte at $DFF012, assuming POTGO has been properly issued. ------------------------------------------------------------------------------ "If you study the logistics and heuristics of the mystics, You will find that their minds rarely move in a line" "The Ranger isn't going to like it, Yogi." Mike Robinson USENET: ucbvax!ernie!robinson ARPA: robinson@ernie.berkeley.edu