Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: mmphosis Newsgroups: comp.sys.apple2.programmer Subject: Re: detecting if ASCII value is a letter Date: Fri, 12 Aug 2016 15:57:39 -0000 (UTC) Organization: Mac GUI Lines: 24 Message-ID: References: <796f9375-af4b-497a-a448-e2338d04d882@googlegroups.com> <6726af6f-e365-4c37-bae9-b308a2459251@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 12 Aug 2016 15:57:39 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="ac9e0e4d7dd3957fb97803ee6801bab8"; logging-data="28441"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+L7XafLmk7vXC1e/qDtZWg" User-Agent: Mac GUI Usenet In-Reply-To: <6726af6f-e365-4c37-bae9-b308a2459251@googlegroups.com> Cancel-Lock: sha1:vLcdGn1oVQmX3uiCdHC+LFtxqD8= Xref: csiph.com comp.sys.apple2.programmer:2927 They are not read as keys, but as push buttons... OPNAPPLE = $C061 ;open apple (command) key data (read) CLSAPPLE = $C062 ;closed apple (option) key data (read) These are actually the first two game Pushbutton inputs (PB0 and PB1) which are borrowed by the Open Apple and Closed Apple keys. Bit 7 is set (=1) in these locations if the game switch or corresponding key is pressed. PB2 = $C063 ;game Pushbutton 2 (read) This input has an option to be connected to the shift key on the keyboard. (See info on the 'shift key mod'.) TAPEIN = $C060 ;bit 7 = data from cassette on Apple II, or PB3 ;II+, IIe. On IIgs bit 7 reflects the ;status of Game Port Pushbutton 3-- ;closed= 1. (read) http://web.archive.org/web/20101216114131/http://home.swbell.net/rubywand/csa2pfaq.html#004