Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API for the LCD on Ben Eater's 6502 Breadboard Computer #150

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

rweather
Copy link
Contributor

@rweather rweather commented Aug 8, 2023

This patch adds support for the 16x2 LCD screen on Ben Eater's 6502 Breadboard Computer.

  • C code to drive the LCD via PORTB on the 6522 VIA.
  • Declarations in eater.h for programs to use it.
  • Example scrolling text marquee program.

llvm-mos generated better driver code from lcd.c than I could have achieved in hand-crafted assembler! So that was a welcome surprise.

@mysterymath mysterymath merged commit 854d310 into llvm-mos:main Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants