-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
33 lines (19 loc) · 1.01 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
This is an emulator for the DCPU16 CPU in Notch's upcoming game 0x10c.
There are also a few code examples of very basic things, and a very rudimentary OS.
There is a description of the OS in the os/ directory.
Install:
Graphical:
1. Install SFML (http://www.sfml-dev.org/)
2. On linux all you have to do is run make.
a. On Mac you will need to create a new Xcode project but it should work fine without any modification
b. On Windows, you'll need to do a bit of modification to emu.cpp to make it launch. Atleast in Visual Studio 2010
Command Line
1. No external libraries needed
2. Compile like you normally would, depending on your OS.
Usage:
./dcppu <flags> <filename>
Flags
-d Outputs a memory dump file called mem.dump after the CPU finishes running.
Assembling code:
I do not have an assembler, but there are a lot out there. I use deNull's assembler
and emulator. (http://denull.ru/dcpu/dcpu.htm). Very good debugger as well.