DOOM on wasm-posix-kernel
unmodified fbDOOM
running in your browser via the kernel's /dev/fb0 Linux fbdev surface.
Click Start to boot fbdoom.
Controls
- WASD / arrows
- Move forward / back / strafe
- Mouse
- Aim (turn left / right)
- Left click
- Fire
- Space
- Use / open door
- Ctrl
- Fire (keyboard)
- Enter
- Confirm menu
- Esc
- Menu (also releases pointer lock)
Click the canvas to capture keyboard + mouse. The page requests
Pointer Lock so the browser delivers unbounded relative motion
instead of clamping at the canvas edges. Keyboard goes through
stdin as AT-set-1 scancodes (Linux MEDIUMRAW); mouse motion is
injected as PS/2 packets that fbDOOM reads from
/dev/input/mice; sound effects and music (MUS/MIDI
synthesized in-process by an OPL2 emulator) are mixed together
and flow through /dev/dsp (OSS) into a Web Audio
AudioContext.