Back to feed

Running Doom on a USB Flash Drive via File Copying

Hacker Aaron Christofel launched the classic shooter Doom on a standard MOVESPEED MSSU10 USB flash drive with a color screen. Game control is achieved by copying files, allowing commands to be sent without physical buttons.

Hardware Features

The experiment used a 128 GB flash drive costing around 50 euros. The 428x142 pixel display is controlled by a separate C*Core CCM4101 microcontroller equipped with 2 MB of flash memory.

The chip's markings were removed, but the debug port remained accessible. This allowed the developer to successfully dump the firmware in one attempt and begin reverse-engineering the device.

Control Mechanics

Since the flash drive lacks physical buttons, control is implemented via the file system. The doomctl.py script converts key presses into short data transfers at varying speeds.

Every 50 milliseconds, the controller reads read and write counters. Five speed levels for each direction encode arrows, shooting, and menu elements, making gameplay possible.

Gameplay

Project performance leaves much to be desired: the frame rate is about 13 FPS. Only the first level, E1M1, fits on the flash drive, and sound support is completely absent.

All code and the final firmware were created using artificial intelligence. The author admitted that he could have handled the task himself in a few hours with AI assistance.

  • The code and firmware are publicly available on GitHub.
  • The author reassembled the flash drive and continues to use it as intended.
6.8K views

More from this channel Black Triangle

Similar in this category Technology