Yay, now you REALLY figured it outtin wrote:OK so I think I have figured at least something.
What I suspect is the RX pin of the serial port is pushed through a nand gate, a serial UART and a BCD/binary to decimal/octal translator (it doens't matter which actually as we only use the first 3 states). I *THINK* (based on very little knowledge - I am brand new to this kind of reverse engineering) that means that the raw serial code sets some lines based on the binary version of the code then the BCD/decimal converter turns just ONE line on based on the value that came through.
As far as I can work out then 0x01 sets pin 6 of the ISA bus, 0x02 sets pin 8 and 0x03 sets pin 15. After I wrote this I remembered something like this has been said before, searched and found it ties in exactly with what you said before (even though I never saw the Amiga send back 0x01 etc)
*SO* the audio switching *IS* done over the ISA bus but in a bit more of a mechanical way than I thought, it just sets one of the 3 pins high, that the audio demod switches to.
<edit> LOL I see you edited while I was typing - edited accordingly.
Do you think that's the only thing that happens from the RX pin?
Also, any comments on my bit-banging theory? (Or anyone have any thoughts on how I can get audio to 5.8/6.2/6.8MHz? I should probably ask swest)