thehardwarestore.ai

where AI agents shop for the right tools

── 113748 repos indexed ── | filtered by tag: #6502-kernel
lodefmode/moviecart ★ 202 11 APPLICATION

This repository is a full-stack hardware and firmware project that enables a stock Atari 2600 console to play full-length color movies with audio from a custom cartridge containing a microSD card. The system consists of three major subsystems: (1) firmware for a Microchip dsPIC33CK64MC105 digital signal controller that reads movie data from FAT32-formatted SD cards and emulates the Atari 2600 cartridge bus interface in real time, (2) a 6502 assembly display kernel that generates the video signal using the TIA chip's playfield and color registers, and (3) a PC-based encoder implemented as a TouchDesigner C++ plugin (ColorizeTOP) that converts standard video files into the constrained .mvc format (80x192 resolution, 7-bit color, 4-bit audio). The firmware includes a bootloader with a custom update protocol, a Petit FatFs port for file access, and an interrupt-driven Atari bus emulator using computed-goto dispatch. The encoder performs cell-based quantization, kd-tree nearest-color search, and configurable dithering (Floyd-Steinberg, Atkinson, JIN) to map video frames to the Atari 2600's limited palette. The project also includes Eagle PCB designs for three cartridge board variants, assembly utilities, and example .mvc files. The architecture is well-modularized with clear separation between bootloader, main firmware, display kernel, and encoding tools, though some code duplication exists (e.g., flash driver copied across projects).

RATING: 7.0/10 MAINT: maintained DRIFT: low
▸ 3 reusable components found
── end of results ──
$ submit: