正文 · AI 翻译
IT Home reported on November 16 that Doom can now even run on the LCD screen built into a USB flash drive, with players able to play simply by copying files to and from the drive. Hardware modding enthusiast Aaron Christophel demonstrated the feat in a teardown video.
The model marking on the USB drive’s display chip had been deliberately erased. However, Christophel found that the device retained an accessible debugging interface. He used it to extract the chip’s firmware and identify the chip model. He then used AI to reverse engineer the hardware and ultimately got Doom running on the drive’s screen.
The off-the-shelf product is called the MOVESPEED MSSU10. It has a USB-A connector at one end and a USB-C connector at the other. Christophel bought the smallest-capacity version in the series, with 128GB of storage, for about 50 euros (approximately 368.1 yuan at the current exchange rate; IT Home notes that this is approximately 410 yuan). Normally, the drive’s screen displays status information such as transfer speed, remaining capacity and device temperature.
The drive uses Silicon Motion’s SM2320G as its main flash controller. It also has a separate C*Core CCM4101 microcontroller that drives a color LCD screen with a resolution of 428 × 142. The microcontroller has 2MB of built-in flash memory and a small amount of RAM. The NAND flash chips bear SanDisk markings.
Apart from the screen, the hardware largely follows a conventional portable SSD design.
During the teardown, Christophel found that the plastic pieces at both ends of the drive’s metal casing were secured with a large amount of glue. After removing them, he could first take off and disconnect the display. He then removed the cover at the USB-C end and slid out the circuit board, though this step caused minor cosmetic damage.
The model marking on the display chip had been erased, possibly by laser treatment, Christophel speculated. This makes identifying the chip and modifying the hardware more difficult.
Fortunately, debugging pads on the circuit board gave him a way forward. On his first attempt, he connected a probe, ground and a 3.3V power pin, successfully established a connection and immediately read the chip’s memory.
During the readout, the chip’s bootloader first returned version information bearing a 2023 date, followed by the complete firmware. This information greatly helped identify the chip. Christophel said the chip is mainly marketed for security applications, such as fingerprint recognition devices and access control systems, but he found no indication that these functions were enabled on the drive.
He also found a puzzling issue: according to the chip’s datasheet and original firmware, its operating clock frequency should be 200MHz, but he measured only 40.2MHz. The reason is still unclear.
But running Doom on this drive presented a more immediate problem: without any physical buttons, how could players control the game?
The reason is that the display chip itself has no USB interface. When the drive is connected to a computer, the chip can only read the main storage controller’s operating status and use that information to determine the data transfer speed. Specifically, the main storage controller provides read and write counters, which the display chip reads over an I2C interface every 50 milliseconds.
Christophel said this approach was actually easier to implement than relying on a single physical button to control the game. He had previously used a physical-button control scheme when modifying a power bank.
He ultimately wrote a computer-side script called doomctl.py that converts keyboard presses into timed, small-scale file transfers in both directions. Specifically, the script encodes different commands as data transfer rates, with five speed levels in each transfer direction. Different combinations of reads and writes then correspond to in-game button presses.
The controls are fairly intuitive: the arrow keys handle movement and turning, the space bar or Ctrl key handles shooting and opening doors, and the M key opens the menu. Even without running the script, users can control the game through ordinary file-copying operations, though the script makes it much easier to play.
Game performance is less impressive: it runs at only about 13 FPS, which is hardly smooth. The game logic, however, still runs at the original Doom rate of 35 logic cycles per second.
Christophel believes the chip’s clock frequency may offer the biggest opportunity to improve performance. If its actual operating frequency can be raised to the level specified in the datasheet, the game’s performance might improve.
The game is based on the DMC100-DOOM port developed by Artur Bieniek, a project optimized specifically for microcontrollers with extremely limited resources. Because the chip has limited flash capacity, it can currently hold only the game’s first level, E1M1. The drive also has no buzzer, so the game cannot produce sound.
Despite these limitations, Christophel played through the entire level, although the game’s display resolution was quite low.
AI was used extensively throughout the project’s reverse engineering and game porting work. Christophel admitted, “Without AI, I could not have done this work in just a few hours.”
The open-source project has now released its source code and precompiled firmware. It is expected to attract more hardware enthusiasts and perhaps inspire similar modifications. The modification requires little specialized equipment, mainly a set of debugging probes. Christophel nevertheless advised other enthusiasts to back up the device’s original firmware before starting.
As for his own drive, he reassembled it after the modification, and it can still be used normally like any other USB flash drive. Of course, when he feels nostalgic, it can still run Doom.