michalin/Arduino-C64-Emulator — reverse-engineered prompt
Reverse engineered prompt
Build me an Arduino Commodore 64 emulator project that I can open in the Arduino IDE and upload to an Uno, Nano, or Mega. I want it to boot into a simple C64 BASIC style screen, run the built in kernal and BASIC ROM from flash, and output black and white composite video to a TV or analog monitor, with PAL and NTSC options if possible.
It should support a PS/2 or compatible USB keyboard so I can type simple BASIC programs. Please include the wiring schematic or clear hookup notes for the video output and keyboard, and make the memory limits obvious so I understand what works on Uno or Nano versus Mega. On Mega, include the bigger BASIC RAM option and the 320 by 200 bitmap mode using images stored in flash.
Also add a small tool or clear instructions for turning a black and white image into a header file for the high resolution bitmap mode. Keep the code organized and commented enough that this feels like an educational project I can tinker with.
Want more depth? Deep Reverse