Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!yale!mfci!wilson From: wilson@mfci.UUCP (Jeff Wilson) Newsgroups: comp.sys.atari.8bit Subject: Re: Why does my program take so long? Message-ID: <1254@m3.mfci.UUCP> Date: 7 Mar 90 03:56:08 GMT References: <1894@clyde.concordia.ca> Sender: news@mfci.UUCP Reply-To: wilson@mfci.UUCP (Jeff Wilson) Distribution: na Organization: Multiflow Computer Inc., Branford Ct. 06405 Lines: 14 In article <1894@clyde.concordia.ca> dcfs018@antares.Concordia.CA writes: >Hello all. I've written a little machine language program that reads the >trigger port and stores the results in RAM until there's no more memory. > >I optimized the thing so that it ran as fast as possible. That meant counting >cycles to find the fastest instructions to do the job. [...] >Therefore the question is, why is my 130XE slow by 10%? Did you account for the lossage in 6502 performance as references cross page (256 byte) boundaries? But that still doesn't explain 10%. Jeff