Bit Banged I2C on 6502: A Beginner's Guide.

TL;DR Summary
Anders Nielsen demonstrates how to bit-bang I2C using 6502 assembly language in his 65duino project. Since there is no dedicated I2C interface hardware, the programmer must take care of all the details of the I2C protocol in software. Nielsen shows how to generate the I2C start, stop, and NACK conditions required to write to the SSD1306-based OLED. From these basic roots, a complete OLED library in assembly can be constructed.
Reading Insights
Total Reads
0
Unique Readers
1
Time Saved
2 min
vs 2 min read
Condensed
81%
376 → 70 words
Want the full story? Read the original article
Read on Hackaday