Newshot

This USB drive's screen can run Doom, and you can play it just by copying files

AI summary

Doom can now run on the LCD screen built into a USB drive, with players able to play simply by copying files to and from the drive. Hardware modder Aaron Christophel demonstrated the feat in a teardown video. The chip driving the drive's display had its model markings deliberately erased, but Christophel found the device kept an open debug interface, extracted the chip firmware through it, and identified the chip model from that. He then used AI to reverse-engineer the hardware and ultimately got Doom running on the USB drive's screen.

Translation(model translation, not the source's own text)

This USB Drive's Screen Can Run Doom, Playable Just by Copying Files

IT Home, November 16 news — Now, Doom can even run on the LCD screen built into a USB drive, and players only need to copy files to and from the drive to play. Hardware modding enthusiast Aaron 克里斯托费尔 (Aaron Christophel) demonstrated the result in a teardown video.

The model marking on this USB drive's display chip had been deliberately erased, but 克里斯托费尔 found that the device retained an open debug interface. He extracted the chip firmware through that interface and used it to identify the chip model. He then used AI to reverse-engineer the hardware and ultimately succeeded in getting Doom to run on the USB drive's screen.

The off-the-shelf product is called MOVESPEED MSSU10, with a USB-A connector on one end and a USB-C connector on the other. 克里斯托费尔 bought the smallest-capacity 128GB version in the lineup, costing about 50 euros (IT Home note: roughly 368.1 yuan at the current exchange rate). Normally, the USB 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. In addition, the device is equipped with a separate C*Core CCM4101 microcontroller, which drives the 428 × 142 color LCD screen. This microcontroller has 2MB of built-in flash and a small amount of RAM. The NAND flash chip bears the SanDisk logo.

Apart from the screen, the hardware essentially follows a common portable SSD design.

During the teardown, 克里斯托费尔 found that the plastic parts at both ends of the USB drive's metal casing were secured with a large amount of glue. After removing these parts, the display screen can first be taken off and disconnected. Next, by removing the cover on the USB-C end, the circuit board can be slid out, though this step also caused minor cosmetic damage.

The model marking on the display chip had been erased, and 克里斯托费尔 suspects this was most likely done by laser. This practice increases the difficulty of chip identification and hardware modding.

Fortunately, the debug pads on the circuit board gave him a breakthrough. On his first attempt at connecting the probe, ground, and 3.3V power pin, he successfully established a connection and immediately read the chip's memory.

During the readout, the chip's bootloader first returned a version string bearing a 2023 date, followed by the complete firmware. This information greatly helped with identifying the chip. 克里斯托费尔 said this chip is mainly aimed at the security market, such as fingerprint recognition devices and access control systems, but he found that these related functions were not enabled on this USB drive.

He also found a puzzling issue: according to the chip datasheet and the original factory firmware, its operating clock frequency should be 200MHz, but the actual measured result was only 40.2MHz. The reason is currently unclear.

However, there is an even more direct problem with running Doom on this USB drive: the device has no physical buttons at all, so how are players supposed to control the game?

The reason is that the display chip itself has no USB interface. When connected to a computer, it can only read the operating status of the main storage controller and use that information to determine data transfer speed. Specifically, the main storage controller provides read and write counters, and the display chip reads the data via the I2C interface every 50 milliseconds.

克里斯托费尔 said that rather than relying on a single physical button to control the game, this method is actually easier to implement. When he previously modded a power bank, he had used a physical-button control scheme.

Ultimately, he wrote a computer-side script called doomctl.py that converts keyboard presses into timed, small-scale bidirectional file transfer operations. Specifically, the script encodes different commands as data transfer rates, with five speed levels in each transfer direction, and different read/write combinations then correspond to in-game key actions.

The controls are also 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 this script, users can control the game through ordinary file-copy operations, but the experience is much better with the script.

As for game performance, it is less than ideal: the frame rate is only about 13 FPS, which is basically not smooth. However, the game logic still runs at Doom's original 35 logic cycles per second.

克里斯托费尔 believes the chip clock frequency may be the biggest opportunity for improving performance. If the actual operating frequency could be raised to the level specified in the datasheet, there might still be room to improve game performance.

The game itself is based on the DMC100-DOOM port developed by Artur Bieniek, a project specifically optimized for microcontrollers with extremely limited resources. Due to the chip's limited flash capacity, it can currently hold only the game's first level, E1M1. In addition, this USB drive has no buzzer, so the game cannot produce sound either.

Despite these limitations, 克里斯托费尔 still played through this level completely, though the game's screen resolution is quite low.

The reverse engineering and game porting work for the entire project relied heavily on AI. 克里斯托费尔 admitted: "Without AI, I couldn't have completed this kind of work in just a few hours."

At present, this open-source project has released its source code and precompiled firmware, and it is expected to attract more attention from hardware enthusiasts and even spawn similar modding projects. The tools required for the entire modding process are not complicated, mainly a set of debug probes. However, 克里斯托费尔 also reminds other enthusiasts that it is best to back up the device's original firmware before starting.

As for his own USB drive, after the modding was completed it was reassembled and can be used normally like an ordinary USB drive. Of course, if he wants a bit of nostalgia, it can still run Doom.

Related Articles

  • The unusual release history of Doom: it once actively sold genuine packaging boxes to Taiwanese pirates to promote the game's spread
  • A first look at DoomPaint: running Doom in the Win11 Paint app
  • Microsoft Azure's CTO builds a fun project: "running" Doom with a paint tool
  • Running Doom through 96 MB of text: rendering one frame takes about 180 seconds
  • Hardcore stunt: a printer controller from forty years ago successfully runs Doom
  • This time it's serious: the original Doom confirmed for the Evercade retro gaming platform

The translation is machine-generated and individual terms may be off. Nothing is rewritten or cut; the original is authoritative.

Published by IT之家
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗