Path: news1.icaen!news.uiowa.edu!uunet!ffx.uu.net!hermes.visi.com!news-out.visi.com!cam-news-hub1.bbnplanet.com!news.gtei.net!newsfeed.mathworks.com!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: Date Doctor - the best y2k fix Newsgroups: comp.sys.apple2.programmer Subject: Re: 6502 assembler Date: Thu, 30 Sep 1999 21:35:12 GMT Organization: Deja.com - Before you buy. Lines: 42 Message-ID: <7t0l2g$m5j$1@nnrp1.deja.com> References: <4iVF3.2276$QJ.87287@typ11.nn.bcandid.com> <7sc1ps$c8l$1@news.rt66.com> <37ED98A4.8E434651@plano.net> <7sot34$2db$1@nnrp1.deja.com> <1dyvc4q.1hrmrbg68993gN@dempson.actrix.gen.nz> <7su1mj$os3$1@nnrp1.deja.com> <1dyz220.ybj8f2hya3jsN@dempson.actrix.gen.nz> NNTP-Posting-Host: 202.27.194.58 X-Article-Creation-Date: Thu Sep 30 21:35:12 1999 GMT X-Http-User-Agent: Mozilla/4.61 [en] (Win95; I) X-Http-Proxy: 1.0 x36.deja.com:80 (Squid/1.1.22) for client 202.27.194.58 X-MyDeja-Info: XMYDJUIDdatedoctor Xref: news1.icaen comp.sys.apple2.programmer:10915 In article <1dyz220.ybj8f2hya3jsN@dempson.actrix.gen.nz>, dempson@actrix.gen.nz (David Empson) wrote: > The key point you are probably missing is that no instruction implements > every addressing mode, and most of them have only a small selection. I am of course aware of this obvious fact... > Some closely related instructions are STZ (4 opcodes), BIT (5 opcodes), ah, that's where I remember Z from... well anyway, heres a small piece of code for sound if I remember rightly if you have a basic program with the following 10 CALL 768 : GOTO 10 it will play what you press on the keyboard ]CALL-151 *! !300: LDY $C000 ! TYA ! TAX ! INX ! BNE $0305 ! STA $C030 ! INY ! BNE $0303 ! RTS regards Lance -- Date Doctor is a new / proactive y2k fix Ask for it by name... It is the only fix that can apply to all PC's - all other fixes are limited to only some/most PC's. It is totally software based. Sent via Deja.com http://www.deja.com/ Before you buy.