ChipsProcessorsFantasy & virtual CPUs › DCPU-16

DCPU-16

2012

Fictional 16-bit processor specified by Notch for the unreleased game 0x10c, later emulated by hobbyists.

Emulators

EmulatorTypeLicenseSite
Zylann DCPU-16downloadableMITWebsite ↗
dcpu16onlineMITWebsite ↗
dcpu16-jsonlineMITWebsite ↗
hulkholden DCPU-16bothMITWebsite ↗

Reference & documentation

External technical references for programming DCPU-16 and for writing emulators.

ResourceTypeNotes
0x10c hardware specifications archive ↗DatasheetOfficial CPU plus LEM1802, keyboard, clock, M35FD specs
LEM1802 Low Energy Monitor spec ↗FormatVideo-cell bit layout, font and palette RAM format
DCPU-16 1.7 Specification (canonical text) ↗Instruction setFull basic/special opcode table with cycle costs
DCPU-16 1.7 Specification (canonical text) ↗Interrupt listIA queue, HWI/INT/RFI semantics, one-per-instruction rule
DCPU-16 1.7 Specification (canonical text) ↗Memory map0x10000-word RAM, registers, stack, addressing modes
DCPU-16 Specification (annotated GitBook) ↗ProgrammingExplains addressing notation, little-endian, coding conventions
DCPU-16 Specification (annotated GitBook) ↗ReferenceReadable sectioned walkthrough of the whole spec
hydralisk98/dcpu-specs versioned archive ↗ReferenceKeeps spec versions 1.1 through 1.7 for comparison
hellige/dcpu emulator, assembler and Forth ↗SourceC 1.7 emulator with LEM1802, keyboard, clock
DCPU-16 emulator conformance test program ↗Test suiteAssembled test.bin checking instruction and hardware accuracy
Fogleman DCPU-16 emulator, assembler, debugger ↗ToolEmulator with macro assembler and hardware debugger