SID ASM Question

;    Pin = 0 for the D7 output pin of the shift register

;    Pin = 1 for the D6 output pin of the shift register

;    …

;    Pin = 7 for the last output pin (D0) of the shift register

Is the above true? So it’s a mirror of not only the obvious, but also the DIN setup?

SR Pins are numbered that way :slight_smile:

Re: DOUT pins backwards?

As this is directly taken from TK’s source code - yes it is true and yes, it is “mirrored” compared to the DIN setup. See: http://www.midibox.org/forum/index.php/topic,8518.msg59674.html#msg59674

DOUT:

;     Pin = 0 for the D7 output pin of the shift register

;     Pin = 1 for the D6 output pin of the shift register

;     …

;     Pin = 7 for the last output pin (D0) of the shift register

DIN:

;     Pin = 0 for the D0 input pin of the shift register

;     Pin = 1 for the D1 input pin of the shift register

;     …

;     Pin = 7 for the last input pin (D7) of the shift register

edit: Beaten. As usual.

Cool, thanks guys