[Coco] Tandy Color Computer 3 RND Function

James Jones jejones3141 at gmail.com
Sat Mar 28 19:35:56 EDT 2020


On Sat, Mar 28, 2020 at 3:09 PM Allen Huffman <alsplace at pobox.com> wrote:

>
> I wish it were a joke! When I was going through the Extended Color BASIC
> unravelled disassembly, I noticed something. The parser will grab a
> character, then decided what to do with it. Certain things will then be
> followed by a check for a modifier.
>
> A modifier is what comes after, like V for volume will have a number after
> it. O for octave will have a number after it.
>
> For notes of A-F, it checks for a “#” or “+” to make it a sharp, or “-“ to
> make it a flat. I noticed that the way it did it, it allowed to sharp and
> flat anything, even though on a piano those notes don’t exist.
>
> Actually, they do. E♯ is F, B♯ is C (and similarly, F♭ is E and C♭ is B.
They're called "enharmonic", and in the engineering solution of equal
temperament, they are the same. (Lest I get out of my depth, that's all
I'll say about temperament.)  If they didn't exist, the circle of fifths
would be broken and there'd be keys you couldn't notate.


More information about the Coco mailing list