[Coco] 6809 example

Roger Taylor rtaylor at bayou.com
Sun Jan 18 00:32:24 EST 2004


At 10:37 AM 1/17/2004 -1000, you wrote:

>On Jan 17, 2004, at 9:01 AM, Roger Taylor wrote:

>

>>I just copied it directly from the Barden example, but used lowercase,

>>etc. Also, in no way is that code an efficient sort algorithm. It's a

>>learning program.

>

>On top of that we want something that looks interesting as it runs.

>What other sort would give you such a cool effect as it runs.



You could clone the program as a 2nd part that sorts in the opposite order,
and loop the whole thing. There's also a 2-character (16-bit) version of
that sorter, but you can probably do it yourself by replacing the A and B
swaps with D and U and where you see -1,x or 1,x use -2,x or 2,x.


----------
Roger Taylor






More information about the Coco mailing list