r/itrunsdoom • u/PsychologicalBid7836 • 1d ago
Doom running on a VTech KidiZoom Smartwatch DX4 (kids' smartwatch), with sound and OPL music
Doom (shareware episode) running natively on a VTech KidiZoom Smartwatch DX4, a smartwatch for kids.
- Runs at about 20–25 fps on the watch's ARM9-class CPU, 8 MB of RAM
- Sound effects through the watch's speaker, and the music played by a small OPL2 FM emulation using Doom's own GENMIDI instruments, like an AdLib / Sound Blaster
- Touch controls under the picture, the physical button opens the menu
- No firmware modification: it runs from a homebrew launcher I wrote that installs as an extra game. Uninstalling = deleting one file.
Some details for the curious:
- There is no SDK, so everything goes through the firmware's own function table (found by reverse engineering): screen, touch, files, memory.
- The screen is 240×280, so Doom's 320×200 is scaled to 240×150 and the touch pads sit below it.
- Sound: the DAC is fed by DMA, set up the way the firmware's own WAV player does it, with 8 channels mixed at 11025 Hz.
- Music: MUS events at 140 Hz drive 9 two-operator FM voices with OPL2-like log-sine/exp tables and envelopes, for about 4–7% of the CPU.
- Based on doomgeneric (Chocolate Doom).
While I was at it, the same launcher also runs a Game Boy emulator at full speed.
Source code and downloads:
- Doom port: https://github.com/ripleyXLR8/vtech-dx4-doom
- Launcher: https://github.com/ripleyXLR8/vtech-dx4-launcher
- Game Boy emulator: https://github.com/ripleyXLR8/vtech-dx4-gameboy
If you own a DX4, I'd love to know if the launcher works on your watch too: https://github.com/ripleyXLR8/vtech-dx4-launcher/issues/1