Tag

6502

All articles tagged with #6502

technology2 years ago

Unveiling the Enigma: The 6502 Apple 2 Simulator Revealed

A mysterious disk containing a 6502 Apple 2 simulator, named APL6502.SIM, has been discovered by [Tea Leaves]. The simulator, which runs on the Apple 2 itself, showcases the complete data flow of instructions and includes an animated display. Despite its intriguing nature, the disk only contains the simulator and lacks any information about its origin. [Tea Leaves] investigates the source, uncovering incorrectly copied disk images and a surprising revelation.

electronics2 years ago

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

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.