This archive is a snapshot of my current test code - it's only a first
stab at documentation and the code is even more poorly structured as
it was intended only to explore the procedures needed to respond
correctly to the Clarion head unit.

The file 'clarmon.as' is a protocol converter that passively monitors
the lines between head unit and changer, copying the synchronous data
onto an async output for capture by a simple terminal program. It
needs to connect to at least the serial clock and data lines : if 
connected also to SRQ and the changer's data output, it will provide
additional information about the state of the SRQ line and the 
direction of data transfer in the async stream.


The file 'changer.as' is the program that actively emulates a CD
changer. There's very little control of the changer's responses and
some of the necessary messages are only sent when commands are
received by the micro from an attached terminal - these commands cause
the micro to raise an SRQ interrupt and then send suitable responses
to the resulting <Cmd 11> operations.


Both files are intended to be run on an Atmel 2213 AVR, clarmon with a 
6.4MHz crystal while changer.as has been adjusted for a 10MHz crystal
(actually, 9.8304 MHz is ideal).

The assembly syntax is suitable for Alfred Arnold's 'ASL' assembler.



