Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: D Finnigan Newsgroups: comp.sys.apple2.programmer Subject: Re: Method to address both Legend and Saturn RAM cards Date: Mon, 19 Jan 2015 18:29:44 +0000 (UTC) Organization: Mac GUI Lines: 14 Message-ID: References: <276de793-dd18-47b7-87b7-f9c5f5316798@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 19 Jan 2015 18:29:44 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="ac9e0e4d7dd3957fb97803ee6801bab8"; logging-data="13067"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ZPkxG0IykGwzOUC9ck/oi" User-Agent: Mac GUI Usenet In-Reply-To: Cancel-Lock: sha1:QAWw7Rp2P+MTTlRhS6ybt/LYY40= Xref: csiph.com comp.sys.apple2.programmer:1486 Anton Treuenfels wrote: > > Uh, not quite. If you store $00 in RAMTYPE, then the AND will set the > A-register to zero as well. So this code will never select anything but I would have gotten it right on the third try. :-) > > That's assuming that the actual value stored from the A-register matters > for the Legend but only the address written to matters for the Saturn. Yes.