Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 exptools 1/6/84; site ihnss.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!ihnp4!ihnss!knudsen From: knudsen@ihnss.UUCP Newsgroups: net.micro.cbm,net.micro.6809 Subject: Re: 6809 vs 6502 Message-ID: <2291@ihnss.UUCP> Date: Mon, 5-Nov-84 19:09:55 EST Article-I.D.: ihnss.2291 Posted: Mon Nov 5 19:09:55 1984 Date-Received: Tue, 6-Nov-84 05:33:45 EST Organization: AT&T Bell Labs, Naperville, IL Lines: 23 I am going to partially agree with Brad T. that the 6502 is the fastest thing in tight corners ever made. I bought a KIM-I 6502 hacker board in '77, 3 years before my Coco, so I can talk about both chips. Yes, the 6502 is faster in small, tight loops. I work a lot in software music synthesis (a la Hal Chamberlain's 10/77 BYTE article) and have put his algorithms on both micros. However, his scheme takes only 100 cycles on 6809 vs 112 or so on the 6502, so even here the 6809 comes out ahead, due to its 16-bit load/sore/ adds and 16-bit index registers (used as counters). I've also written assembly graphics routines to set points, draw lines, etc, and all those fancy addressing modes that the high-level language guys crow about really speed things up down there in the gutter too! Multiply instruction sure doesn't hurt either! Best of all, you needn't use all the 6809 features at first -- it's as easy to program as a 6502 -- in fact, you almost always pretend it IS a 6502, then go back and recode -- watch your assembler source shrink! Motorola did make a few booboos -- no direct page indirect, and all memory referencing instructions waste a cycle somewhere relative to the 6502. Even so, at the same clock speed a 6809 will still come out at least equal to the 6502, even in music, graphics, and ... GAMES! > Nothing can touch a 6502 ..... Consider yourself touched. mike k PS: My C benchmark would be 18.3 sec if the Coco ran at 1.00 MHz like a C64.