[stella] AtariVox/SaveKey question

Thomas Jentzsch tjentzsch at web.de
Tue Jun 5 14:35:50 CDT 2007


Bob Montgomery wrote:
> Okay, now I'm confused. :)  Maybe.

> I'm reading three bytes, every time.

> Before I read the first one, I make sure the overflow flag is clear,
> because I don't send an acknowledge bit first.  Right?
> But then when I read the 2nd and 3rd bytes I need to make sure the
> overflow flag is set before calling i2c_rxbyte, so that the acknowledge
> bit is sent first.  Correct?
> And after the 3rd I need to transmit an acknowledge bit, but
> i2c_stopread will take care of that.

> I think this might just work... :D

Yes, sounds about right to me. But you better test it.

Have fun!
Thomas                            
_______________________________________________________
Thomas Jentzsch         | *** Every bit is sacred ! ***
tjentzsch at web dot de |





More information about the Stella mailing list