Chips › Processors › Fantasy & virtual CPUs › DCPU-16
DCPU-16
2012
Fictional 16-bit processor specified by Notch for the unreleased game 0x10c, later emulated by hobbyists.
Emulators
| Emulator | Type | License | Site |
|---|---|---|---|
| Zylann DCPU-16 | downloadable | MIT | Website ↗ |
| dcpu16 | online | MIT | Website ↗ |
| dcpu16-js | online | MIT | Website ↗ |
| hulkholden DCPU-16 | both | MIT | Website ↗ |
Reference & documentation
External technical references for programming DCPU-16 and for writing emulators.
| Resource | Type | Notes |
|---|---|---|
| 0x10c hardware specifications archive ↗ | Datasheet | Official CPU plus LEM1802, keyboard, clock, M35FD specs |
| LEM1802 Low Energy Monitor spec ↗ | Format | Video-cell bit layout, font and palette RAM format |
| DCPU-16 1.7 Specification (canonical text) ↗ | Instruction set | Full basic/special opcode table with cycle costs |
| DCPU-16 1.7 Specification (canonical text) ↗ | Interrupt list | IA queue, HWI/INT/RFI semantics, one-per-instruction rule |
| DCPU-16 1.7 Specification (canonical text) ↗ | Memory map | 0x10000-word RAM, registers, stack, addressing modes |
| DCPU-16 Specification (annotated GitBook) ↗ | Programming | Explains addressing notation, little-endian, coding conventions |
| DCPU-16 Specification (annotated GitBook) ↗ | Reference | Readable sectioned walkthrough of the whole spec |
| hydralisk98/dcpu-specs versioned archive ↗ | Reference | Keeps spec versions 1.1 through 1.7 for comparison |
| hellige/dcpu emulator, assembler and Forth ↗ | Source | C 1.7 emulator with LEM1802, keyboard, clock |
| DCPU-16 emulator conformance test program ↗ | Test suite | Assembled test.bin checking instruction and hardware accuracy |
| Fogleman DCPU-16 emulator, assembler, debugger ↗ | Tool | Emulator with macro assembler and hardware debugger |