22.09.2015 Views

of Microprocessors

Musical-Applications-of-Microprocessors-2ed-Chamberlin-H-1987

Musical-Applications-of-Microprocessors-2ed-Chamberlin-H-1987

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

152 MUSICAL ApPLICATIONS OF MICROPROCESSORS<br />

Since there is now almost total overlap between microprocessor types<br />

and typical applications, the real distinctions have become performance<br />

(speed and ease <strong>of</strong> assembly language programming) and cost (total hardware<br />

cost <strong>of</strong> a typical system). Accordingly, only two microprocessors, one at each<br />

end <strong>of</strong> the spectrum, will be selected for detailed description here.<br />

In the comparative discussions to follow, two areas <strong>of</strong> difference among<br />

microprocessors will be concentrated upon. These are its machine language<br />

instruction set, since that directly influences assembly language programming,<br />

and its bus structure and timing, which influences system hardware<br />

design, particularly in the logic replacement application. Only the most<br />

important points that distinguish the subject microprocessor from others will<br />

be covered. More detail can be found in the wealth <strong>of</strong> manufacturer's literature<br />

and microprocessor design books available.<br />

The 6502 for Logic Replacement and Low Cost<br />

The original notion behind development <strong>of</strong> microprocessors was to<br />

provide a standard LSI chip that, when combined with standard memories,<br />

could perform the functions <strong>of</strong> a custom LSI chip. The reasoning was that,<br />

since semiconductor cost is nearly inversely proportional to production<br />

volume, the lower cost <strong>of</strong>standard parts would outweigh any cost advantages<br />

<strong>of</strong> an optimized custom chip. Although things did not quite work out like<br />

that, quite a lot <strong>of</strong> microprocessors are used for logic replacement instead <strong>of</strong><br />

building microcomputers.<br />

Of all the 8-bit microprocessors now on the market, the 6502 comes<br />

closest to filling all logic replacement needs. Its price, although not the<br />

absolute lowest on the market, is low enough to replace even relatively small<br />

logic systems. Its raw speed, which is the highest <strong>of</strong> all 8-bit MOS<br />

microprocessors, is high enough to replace all but the most speed-sensitive<br />

logic systems. Its instruction set, although not a programmer's dream, is<br />

powerful and straightforward, unlike the obscure and convoluted sets <strong>of</strong><br />

many other logic replacement microprocessors. Its bus structure, which is a<br />

model <strong>of</strong> simplicity, is very easily interfaced while at the same time allowing<br />

some very sophisticated direct memory access and multiprocessor schemes to<br />

be implemented with a minimum <strong>of</strong> effort. Although not nearly as popular<br />

as the 2-80, there is a sizable core <strong>of</strong> users who swear by it for generalpurpose<br />

computer applications also.<br />

In music, there are numerous jobs that might normally be done with<br />

conventional logic that can also be done by a 6502 cheaper, simpler, faster,<br />

smaller, or just plain better. For example, a digitally scanned music<br />

keyboard with velocity sensing on both press and release is one possibility.<br />

Another is a universal multichannel envelope generator with the envelope<br />

shapes programmable by the user. A supersequencer is another obvious application.<br />

The 6502 is fast enough to even generate tones with program-

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!