Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ucbvax!UIAMVS.BITNET!AWCTTYPA From: AWCTTYPA@UIAMVS.BITNET ("David A. Lyons") Newsgroups: comp.sys.apple Subject: Reading buttons with PDL() Message-ID: <8801111752.aa10035@SMOKE.BRL.ARPA> Date: 12 Jan 88 00:10:58 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 16 X-Unparsable-Date: Monday 11 Jan 88 4:48 PM CT >Date: Sun, 11 Jan 87 13:02:00 MEZ >Sender: INFO-APP Info-Apple List >From: Matthias Kapffer >Subject: Re: Reading the Button with PDL() command > >I/O addresses from $C060 thru $C067 (cassette in/button 0-2/paddle 0-3) are >repeated immediatly after them. Therefore a PDL(n), n= 4..7, will access the >four one-bit inputs mentioned above. I recommend NOT counting on this sort of thing. If Apple hasn't documented it, it might not work on future machines. --David A. Lyons a.k.a. DAL Systems PO Box 287 | North Liberty, IA 52317 BITNET: AWCTTYPA@UIAMVS CI$: 72177,3233