ADCPU16-Emu Me on Github Me on Twitter


Android implementation of Notch's DCPU-16 (v1.1) (
Version 0.22
By Andrew "Stick" Boothroyd (@sticksoft)
Latest stable version: Google Play
Source available at:
Don't forget to post issues / feature requests on GitHub :)

You may do whatever the fsck you want with this software, at your own risk. (
If you use it in a project, letting me know and putting a link to in would be appreciated.
If I ever meet you in person, a beer would be even more appreciated!


This version successfully assembles and runs the example found at Supported features include emulator, assembler, console output and virtual ship (2D).
Supported features include emulator, assembler, console output and virtual ship (2D).

Easiest method: Download from Google Play -
To install directly to an Android phone, download the raw .APK file in your phone's browser.  Open the file, and you should be prompted to install it.
Note: You may need to allow applications from unknown sources on your phone.  Simply go to Settings -> Applications and check the "Unknown sources" box.

The first tab shown on app startup is the Control tab, containing the RAM viewer (box at the top) and controls for starting / resetting the emulator.
This won't do much until you assemble a program!

The second tab is the Assembly view.  Here, you can load / save an assembly file from disk (press the Menu key for options) and assemble a program.
Pressing "Assemble" will reset the emulator, assemble your program, output the assembled binary and an assembly -> binary view for debugging, and load the binary data into the emulator's memory.
Return to the first tab to start it and view changes to the memory.

The third tab displays the text console.  This is a work-in-progress and, as such, colours may not be displayed the same as other emulators.

The fourth tab displays a virtual ship!  Control it by writing to 0xAD00 (throttle) and 0xAD02 (yaw starboard / port); sample code is included that does this (move.dasm).
Values for these registers are interpreted as signed 2's complement integers; e.g. 0x7FFF = all ahead full, 0x8000 = full reverse, 0x0000 = all stop.

For current rotation speed, read from 0xAD05 - positive (< 0x8000) values are clockwise (starboard) and negative values are anticlockwise.

Harcoded memory addresses
These are subject to change at any time.
0xAD00 - Throttle control
0xAD01 - (reserved for pitch)
0xAD02 - Yaw
0xAD03 - (reserved for roll)
0xAD04 - (reserved for pitch gyro) 
0xAD05 - Yaw gyro
0xAD06 - (reserved for roll gyro)

0xAD10 - Radar control. Set to 0xFFFF to get count, set to index number (starting at 1) for that contact's info.
0xAD11 - Radar contact count
0xAD12 - Current contact X
0xAD13 - (reserved for contact Y)
0xAD14 - Current contact Z
0xAD15 - (reserved for contact type)
0xAD16 - (reserved for contact size)
0xAD17 - (reserved for contact IFF code)

Known Issues
Should auto-assemble and reset on startup (doesn't yet)
The asteroids are offset slightly on the radar

Added option to toggle keyboard (let me know if this fixes it for you, drew!)
Added web-based chat and email links to help menu

Added keyboard.dasm (just for you, Don!)
It outputs to console and moves ship with w,a,s,d.

Added keyboard input (ask and you shall receive, William! :))

Added rudimentary help files and useful links.

Redone the CPU threading (should run about 5x faster now!)

Added the file overwrite check.
Added a sample radar assembly file

Added asteroids
Altered yaw to use angular velocity and a gyro (Thanks, icarroll!)

Added virtual ship tab!

Fixed a crash issue with ICS (Thanks, Jareb!)

Added an icon
Released on Google Play (Android Market)

Changed to tabbed layout
Added console display

Added DAT support to assembler

Included binary APK
Included a sample pong-like program
Fixed label bug in assembler

Added Load and Save commands for SD storage

Added loading and saving of the ASM buffer

Added text entry

Added an assembler

v0.03, v0.04
Minor bugfixes

Fixed a bug with the PC, first working version