DCPUToolchain
[ARCHIVED] The code repository for the DCPU-16 Toolchain.
File Explorer
Download Latest Version (.zip)- CMakeLists.txt
- demo.c
- main.c
- CMakeLists.txt
- DCPUToolchain.cmake
- cotire.cmake
- FindGLEW.cmake
- FindQScintilla.cmake
- FindReadline.cmake
- FindSphinx.cmake
- NSIS.InstallOptions.ini.in
- NSIS.template.in
- CODING-STANDARDS.txt
- sanitize-tree.sh
- starter-kit.zip
- DebuggingSymbols.md
- defaults.rst
- index.rst
- policies.rst
- shared.rst
- stubapi.rst
- index.rst
- usage.rst
- index.rst
- math.h.rst
- stdarg.h.rst
- stdint.h.rst
- stdio.h.rst
- stdlib.h.rst
- string.h.rst
- index.rst
- syntax.rst
- index.rst
- assert.rst
- dbgtrace.rst
- hmd2043.rst
- index.rst
- inttrace.rst
- memxtend.rst
- packstr.rst
- peephole.rst
- protect.rst
- rng.rst
- spc2000.rst
- stackchk.rst
- units.rst
- debugger.rst
- hardware.rst
- index.rst
- preprocessor.rst
- download.rst
- index.rst
- cmdline.rst
- index.rst
- syntax.rst
- cmdline.rst
- index.rst
- targets.rst
- cmdline.rst
- commands.rst
- index.rst
- cmdline.rst
- index.rst
- cmdline.rst
- directives.rst
- index.rst
- asm-syntax.rst
- c-syntax.rst
- expressions.rst
- index.rst
- index.rst
- assembly.rst
- dcpu.rst
- gettingtools.rst
- programflow.rst
- usingc.rst
- 01gettingstarted.rst
- index.rst
- deployable.rst
- index.rst
- index.rst
- indexcontent.html
- indexsidebar.html
- toolchain.py
- CMakeLists.txt
- conf.py.in
- Doxyfile.in
- CMakeLists.txt
- main.c
- CMakeLists.txt
- main.cpp
- test.dasm16
- CMakeLists.txt
- main.c
- packets.c
- packets.h
- sdp.c
- sdp.h
- CMakeLists.txt
- dtdb.ui
- dtdbrunner.cpp
- dtdbrunner.h
- main.cpp
- mainwindow.cpp
- mainwindow.h
- CMakeLists.txt
- main.c
- Highlighters.h
- QsciLexerDASM16.cpp
- QsciLexerDASM16.h
- COPYING-bsd2
- COPYING-gpl2
- QHexView
- qhexview.cpp
- qhexview.h
- dtasm.c
- dtasm.h
- dtdb.c
- dtdb.h
- dtemu.c
- dtemu.h
- Toolchain.cpp
- Toolchain.h
- Toolchains.h
- registers.ui
- splash.ui
- API.txt
- Backends.cpp
- Backends.h
- CMakeLists.txt
- CodeEditor.cpp
- CodeEditor.h
- DTIDE.cpp
- DTIDE.h
- DTIDEBuildAPI.cpp
- DTIDEBuildAPI.h
- DTIDEDebuggingSession.cpp
- DTIDEDebuggingSession.h
- DTIDEDebuggingWindow.cpp
- DTIDEDebuggingWindow.h
- DTIDEDirView.cpp
- DTIDEDirView.h
- DTIDEGLWidget.cpp
- DTIDEGLWidget.h
- DTIDEGLWidgets.cpp
- DTIDEGLWidgets.h
- DTIDEHighlighting.cpp
- DTIDEHighlighting.h
- DTIDESplash.cpp
- DTIDESplash.h
- DTIDETabWidget.cpp
- DTIDETabWidget.h
- DTIDEXMLProject.cpp
- DTIDEXMLProject.h
- main.cpp
- Project.cpp
- Project.h
- base.h
- CMakeLists.txt
- main.c
- micro.c
- micro.h
- CMakeLists.txt
- main.c
- CMakeLists.txt
- lua.c
- CMakeLists.txt
- main.c
- CMakeLists.txt
- main.c
- CMakeLists.txt
- main.c
- font.dasm
- hello.dasm
- api.dasm16
- config.cmake
- disk.dasm16
- hardware.dasm16
- memory.dasm16
- policy
- policy.example
- start.dasm16
- CMakeLists.txt
- dcpu.cmake
- README.md
- bfile.c
- bfile.h
- bstring.c
- bstring.h
- CMakeLists.txt
- config.h.in
- dcpu.h
- debug.c
- debug.h
- derr.c
- derr.h
- dirent.portable.h
- err.d
- iio.c
- iio.h
- imap.c
- imap.h
- lexfix.h
- luaglob.h
- osutil.c
- osutil.h
- posix.h
- rparse.c
- rparse.h
- version.c
- version.h
- aout.c
- aout.h
- assem.c
- assem.h
- CMakeLists.txt
- lexer.l
- node.h
- parser.y
- textn.c
- textn.h
- treloc.c
- treloc.h
- CMakeLists.txt
- ddata.c
- ddata.h
- CMakeLists.txt
- ldata.c
- ldata.h
- lprov.c
- lprov.h
- objfile.c
- objfile.h
- ccregistercall.c
- ccregistercall.h
- ccregisterdirect.c
- ccregisterdirect.h
- ccstackcall.c
- ccstackcall.h
- CMakeLists.txt
- ldbin.c
- ldbin.h
- ldbins.c
- ldbins.h
- ldcall.c
- ldcall.h
- ldconv.c
- ldconv.h
- ldlua.c
- ldlua.h
- ldpolicy.c
- ldpolicy.h
- ldtarget.h
- CMakeLists.txt
- lexer.l
- parser.y
- policy.c
- policy.h
- policyast.h
- policyexec.c
- policyexec.h
- policyfree.c
- policyfree.h
- define.c
- expr.c
- include.c
- line.c
- lua.c
- define.c
- expr.c
- include.c
- line.c
- asm.c
- asm.h
- c.c
- c.h
- lexer.l
- parser.y
- pp.c
- pp.h
- ppfind.c
- ppfind.h
- pplua.c
- pplua.h
- CMakeLists.txt
- pp.h
- ppcompat.c
- ppcompat.h
- ppfind.c
- ppfind.h
- ppimpl.c
- ppimpl.h
- ppparam.h
- ppparamlexer.l
- ppparamparser.y
- CMakeLists.txt
- lexer.l
- parser.y
- ppexpr.c
- ppexpr.h
- ppexprlua.c
- ppexprlua.h
- CMakeLists.txt
- dcpudis.c
- dcpudis.h
- dcpuexec.c
- dcpuexec.h
- dcpuhook.c
- dcpuhook.h
- dcpuops.c
- dcpuops.h
- embedfont.c
- font.png
- glfwutils.c
- glfwutils.h
- hw.c
- hw.h
- hwclock.c
- hwclock.h
- hwioascii.c
- hwioascii.h
- hwkeyboard.c
- hwkeyboard.h
- hwlem1802.c
- hwlem1802.h
- hwlem1802mem.c
- hwlem1802mem.h
- hwlem1802util.c
- hwlem1802util.h
- hwlua.c
- hwlua.h
- hwluacpu.c
- hwluacpu.h
- hwm35fd.c
- hwm35fd.h
- hwsped3.c
- hwsped3.h
- timing.c
- timing.h
- vm.c
- vm.h
- backtrace.c
- backtrace.h
- breakpoint.c
- breakpoint.h
- CMakeLists.txt
- dbgaux.c
- dbgaux.h
- dbglua.c
- dbglua.h
- lexer.l
- parser.y
- FindCython.cmake
- ReplicatePythonSourceTree.cmake
- UseCython.cmake
- CMakeLists.txt
- dcpu.pxd
- dcpu.pyx
- setup.py
- DESCRIPTION.txt
- Info.plist
- LICENSE.txt
- MacIcon.png
- MacStart.sh
- screen.h
- math.h
- stdarg.h
- stdint.h
- stdio.h
- stdlib.h
- string.h
- screen.c
- bootstrap.dasm16
- math.c
- stdio.c
- stdlib.c
- string.c
- stubapi.c
- test.out
- CMakeLists.txt
- crash-paramcount.i
- endian-big.oe
- endian-little.oe
- endian.i
- stress-00.i
- stress-00.oe
- stress-01.i
- stress-01.oe
- stress-02.i
- stress-02.oe
- stress-03.i
- stress-03.oe
- stress-04.i
- stress-04.oe
- stress-05.i
- stress-05.oe
- stress-06.i
- stress-06.oe
- stress-07.i
- stress-07.oe
- component.pp
- include-01.pp
- include-02.pp
- include-03.pp
- incmacro.pp
- line-01.pp
- line-02.pp
- line-03.pp
- component.pp
- include-01.pp
- include-02.pp
- include-03.pp
- incmacro.pp
- line-01.pp
- line-02.pp
- line-03.pp
- import-01.dasm16
- import-02.dasm16
- import-03.dasm16
- import-04.dasm16
- plain-01.dasm16
- reassemble.sh
- import-01.i
- import-02.i
- import-02.oe
- import-03.i
- import-04.i
- import-04.oe
- plain-01.i
- plain-01.oe
- general-pick.i
- math-add.i
- math-div.i
- math-dvi.i
- math-generate.lua
- math-mdi.i
- math-mli.i
- math-mod.i
- math-mul.i
- math-shr.i
- math-sub.i
- bcopy-01.c
- bopen-01.c
- bopen-02.c
- bread-01.c
- bread-02.c
- btell-01.c
- btell-02.c
- CMakeLists.txt
- copy.txt
- empty.txt
- main.c
- test.txt
- tests.h
- CMakeLists.txt
- lexer.l
- main.c
- parser.y
- CMakeLists.txt
- main.c
- CMakeLists.txt
- main.c
- assert.lua
- assertdbg.lua
- units.lua
- unitsdbg.lua
- CMakeLists.txt
- main.c
- ALL_BUILD.rule
- arg_dbl.c
- arg_end.c
- arg_file.c
- arg_int.c
- arg_lit.c
- arg_rem.c
- arg_str.c
- argtable2.c
- argtable2.def
- argtable2.h
- AUTHORS
- CMakeLists.txt
- COPYING
- getopt.c
- getopt.h
- getopt1.c
- bstraux.c
- bstraux.h
- bstrlib.c
- bstrlib.h
- bstrlib.txt
- bstrwrap.cpp
- bstrwrap.h
- CMakeLists.txt
- license.txt
- porting.txt
- security.txt
- libcurl.dll
- curl.h
- curlbuild.h
- curlbuild.h.in
- curlrules.h
- curlver.h
- easy.h
- mprintf.h
- multi.h
- stdcheaders.h
- typecheck-gcc.h
- types.h
- libcurl.exp
- libcurl.lib
- CMakeLists.txt
- unistd.h
- README.txt
- Doxyfile.in
- boing.c
- CMakeLists.txt
- gears.c
- heightmap.c
- splitview.c
- triangle.c
- wave.c
- glfw3.h
- glfw3native.h
- clipboard.c
- CMakeLists.txt
- cocoa_clipboard.m
- cocoa_fullscreen.m
- cocoa_gamma.c
- cocoa_init.m
- cocoa_input.m
- cocoa_joystick.m
- cocoa_native.m
- cocoa_opengl.m
- cocoa_platform.h
- cocoa_time.c
- cocoa_window.m
- config.h.in
- fullscreen.c
- gamma.c
- glfw3.pc.in
- init.c
- input.c
- internal.h
- joystick.c
- opengl.c
- time.c
- win32_clipboard.c
- win32_fullscreen.c
- win32_gamma.c
- win32_init.c
- win32_input.c
- win32_joystick.c
- win32_native.c
- win32_opengl.c
- win32_platform.h
- win32_time.c
- win32_window.c
- window.c
- x11_clipboard.c
- x11_fullscreen.c
- x11_gamma.c
- x11_init.c
- x11_input.c
- x11_joystick.c
- x11_keysym2unicode.c
- x11_native.c
- x11_opengl.c
- x11_platform.h
- x11_time.c
- x11_window.c
- glext.h
- glxext.h
- wglext.h
- getopt.c
- getopt.h
- tinycthread.c
- tinycthread.h
- accuracy.c
- clipboard.c
- CMakeLists.txt
- defaults.c
- events.c
- fsaa.c
- fsfocus.c
- gamma.c
- glfwinfo.c
- iconify.c
- joysticks.c
- modes.c
- peter.c
- reopen.c
- sharing.c
- tearing.c
- threads.c
- title.c
- windows.c
- .gitignore
- cmake_uninstall.cmake.in
- CMakeLists.txt
- COPYING.txt
- readme.html
- ANNOUNCE
- CHANGES
- CMakeLists.txt
- LICENSE
- png.c
- png.h
- pngconf.h
- pngdebug.h
- pngerror.c
- pngget.c
- pnginfo.h
- pnglibconf.h.prebuilt
- pngmem.c
- pngpread.c
- pngpriv.h
- pngread.c
- pngrio.c
- pngrtran.c
- pngrutil.c
- pngset.c
- pngstruct.h
- pngtrans.c
- pngwio.c
- pngwrite.c
- pngwtran.c
- pngwutil.c
- README
- TODO
- CMakeLists.txt
- lapi.c
- lapi.h
- lauxlib.c
- lauxlib.h
- lbaselib.c
- lcode.c
- lcode.h
- ldblib.c
- ldebug.c
- ldebug.h
- ldo.c
- ldo.h
- ldump.c
- lfunc.c
- lfunc.h
- lgc.c
- lgc.h
- linit.c
- liolib.c
- llex.c
- llex.h
- llimits.h
- lmathlib.c
- lmem.c
- lmem.h
- loadlib.c
- lobject.c
- lobject.h
- lopcodes.c
- lopcodes.h
- loslib.c
- lparser.c
- lparser.h
- lstate.c
- lstate.h
- lstring.c
- lstring.h
- lstrlib.c
- ltable.c
- ltable.h
- ltablib.c
- ltm.c
- ltm.h
- lua.h
- luaconf.h
- lualib.h
- lundump.c
- lundump.h
- lvm.c
- lvm.h
- lzio.c
- lzio.h
- print.c
- pthreadVC2.dll
- pthread.h
- sched.h
- semaphore.h
- pthreadVC2.lib
- CMakeLists.txt
- COPYING
- qsciabstractapis.h
- qsciapis.h
- qscicommand.h
- qscicommandset.h
- qscidocument.h
- qsciglobal.h
- qscilexer.h
- qscilexerbash.h
- qscilexerbatch.h
- qscilexercmake.h
- qscilexercpp.h
- qscilexercsharp.h
- qscilexercss.h
- qscilexercustom.h
- qscilexerd.h
- qscilexerdiff.h
- qscilexerfortran.h
- qscilexerfortran77.h
- qscilexerhtml.h
- qscilexeridl.h
- qscilexerjava.h
- qscilexerjavascript.h
- qscilexerlua.h
- qscilexermakefile.h
- qscilexermatlab.h
- qscilexeroctave.h
- qscilexerpascal.h
- qscilexerperl.h
- qscilexerpostscript.h
- qscilexerpov.h
- qscilexerproperties.h
- qscilexerpython.h
- qscilexerruby.h
- qscilexerspice.h
- qscilexersql.h
- qscilexertcl.h
- qscilexertex.h
- qscilexerverilog.h
- qscilexervhdl.h
- qscilexerxml.h
- qscilexeryaml.h
- qscimacro.h
- qsciprinter.h
- qsciscintilla.h
- qsciscintillabase.h
- qscistyle.h
- qscistyledtext.h
- ListBoxQt.h
- SciClasses.h
- SciNamespace.h
- ScintillaQt.h
- qscintilla2.lib
- qscintilla2.dll
- qscintilla2.exp
- qscintilla2.lib
- CMakeLists.txt
- history5.dll
- readline5.dll
- chardefs.h
- history.h
- keymaps.h
- readline.h
- rlconf.h
- rlstdc.h
- rltypedefs.h
- tilde.h
- history.lib
- readline.lib
- CMakeLists.txt
- CMakeLists.txt
- README
- simclist.c
- simclist.h
- adler32.c
- CMakeLists.txt
- compress.c
- crc32.c
- crc32.h
- deflate.c
- deflate.h
- gzclose.c
- gzguts.h
- gzlib.c
- gzread.c
- gzwrite.c
- infback.c
- inffast.c
- inffast.h
- inffixed.h
- inflate.c
- inflate.h
- inftrees.c
- inftrees.h
- trees.c
- trees.h
- uncompr.c
- zconf.h
- zlib.h
- zutil.c
- zutil.h
- msvcp100d.dll
- msvcr100d.dll
- CMakeLists.txt
- lexer.l
- parser.y
- .gitignore
- .gitmodules
- AUTHORS.txt
- CMakeLists.txt
- libdcpu-cc
- MIT-LICENSE.txt
- modules
- package.bat
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/DCPUTeam/DCPUToolchain
Downloads the entire project code from GitHub to your computer.
cd DCPUToolchain
Moves into the project folder you just downloaded.
2. CMake
Medium RecommendedPrerequisites
> cmake -G "Visual Studio 10"
Type this command into your terminal and run it.
$ sudo apt-get install bison flex cmake build-essential libreadline-dev libsdl1.2-dev libcurl4-openssl-dev
Type this command into your terminal and run it.
$ sudo yum install bison flex cmake mesa-lib* zlib-devel libpng-devel
Type this command into your terminal and run it.
[dcputoolchain]$ cmake . && make
Type this command into your terminal and run it.
[dcputoolchain]$ cmake . && make -C libdcpu && make
Type this command into your terminal and run it.
Check that an executable was created inside the build folder, then run it directly (e.g. ./build/app_name).
Pulled directly from this repo's README.
3. Python
EasyPrerequisites
pip install .
Installs the package published on PyPI directly β no need to clone the source.
python <μ€νν νμΌλͺ
>.py # READMEμμ μ νν μ€ν νμΌλͺ
μ νμΈνμΈμ
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
// repository documentation
Was this content helpful?
(0 ratings)
