ChipsProcessorsFantasy & virtual CPUs › WASM-4

WASM-4

2021

A fantasy console that runs games built as WebAssembly modules within a fixed, minimal 160x160 framebuffer and memory layout.

WASM-4 Online Emulator

Play WASM-4 using WebAssembly directly in your browser.

Configurations

ConfigurationEmulatorMachineOSLegal
WatrisWASM-4WASM-4openOpen ⛶

Downloads - ROMs & software

TitleTypeSize (bytes)Legal
Watrisgame2628openDownload ↓

Machines

Emulators

EmulatorTypeLicenseSite
WASM-4bothISCWebsite ↗

Reference & documentation

External technical references for programming WASM-4 and for writing emulators.

ResourceTypeNotes
WASM-4 Saving Data Guide ↗Formatdiskr/diskw 1024-byte persistent storage layout
WebAssembly Core Specification ↗Instruction setBytecode/binary format that WASM-4 cartridges execute
WASM-4 Memory Layout ↗Memory mapFull 64KB memory map, registers, framebuffer addresses
WASM-4 Sound System Guide ↗Programming4-channel APU: tone(), ADSR, duty cycle, panning
WASM-4 User Input Guide ↗ProgrammingGamepad bit flags and mouse/touch registers
WASM-4 Functions Reference ↗ReferenceComplete host API: blit, line, rect, tone, disk
WASM-4 Introduction & Docs ↗ReferenceConsole overview: specs, display, RAM, cartridge limits
WASM-4 Source Code (aduros/wasm4) ↗SourceOfficial runtimes, CLI, devtools and test games