AY-3-8910

That sounds pretty good. I'm not sure how to write an API. Would it be something like the main loop asking for or waiting for a choice of what register to change?