Jump to content

Open Club  ·  87 members

AtariVox
IGNORED

Multiple writes to AtariVox requires wait for acknowledgement


Bruce-Robert Pocock

Recommended Posts

  Posting this for posterity:

 

When writing to the AtariVox EEPROM (and I presume MemCard/SaveKey), it seems that it's necessary to wait for the write-commit to be acknowledged before starting a second write, or the second write will be silently ignored. Tested both on Stella's software AtariVox emulation and using a Harmony cart with a real AtariVox.

 

Basically all you have to do is something like this:

WaitForI2CAck:
          jsr i2cStartWrite
          bcs WaitForI2CAck
          jsr i2cStopWrite

Having the second write be completely ignored was driving me nuts trying to debug, and just adding a few frames of wait time didn't help for some reason.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...