88Z AI, 5 December — A developer has successfully run a full-resolution, smooth-framerate 3D first-person game called "Lest" on the classic Commodore 64, using an LLM to assist in writing assembly code. The project overcomes old hardware limitations through extreme assembly optimization and character-mode rendering tricks. Players can now experience this AI-assisted retro tech feat via browser or emulator.
At a glance
- LLM-assisted assembly coding enables smooth, full-resolution 3D first-person rendering on Commodore 64
- Extreme optimizations like character-mode framebuffer and hardware sprite culling overcome legacy hardware limits
- Project is open source, playable online via browser or locally via VICE emulator with disk/cartridge images
Breaking Hardware Limits with 3D Rendering
The project "Lest" explores whether an unmodified Commodore 64 can run a first-person 3D game at full resolution with a decent frame rate. Unlike traditional C64 3D games that often suffer from sub-10 fps rates and blocky graphics, this title achieves smoother and clearer visuals. The developer employed numerous low-level optimization tricks, such as drawing the screen in character mode instead of bitmap, vertically mirroring scenes to halve calculations, and using hardware sprites with precalculated occlusion zones. All code was written with assistance from the LLM Claude and underwent aggressive profiling and optimization.
Play Now and Open Source Build
Players can try the game immediately in their browser or load disk (.d64) and EasyFlash cartridge (.crt) images via the VICE emulator. For the best experience, it is recommended to run in NTSC mode with true drive emulation enabled. The project is open-sourced on GitHub under the MIT license. The build process requires Node.js, ImageMagick 7, and a patched version of GoatTracker 2 for music. The source code includes complete level data, an assembly generator, and art asset conversion tools, demonstrating the deep integration of AI in modern retro programming workflows.
Sources & editorial note
This article is an AI-assisted synthesis by 88Z AI based on the public sources below. Product claims and availability are attributed to their publishers. It does not represent independent testing or first-hand reporting.
- GitHubSource published
Source dates above refer to the original announcements; the date under the headline is this article’s publication on 88Z AI.