Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Users Online Now
Guests Online 1

Members Online 0


Total Members: 2
Newest Member: NemesisGene
Amazon
Adverts

I don't use adfly or similar services, and there are no annoying popup ads here.
But why not save yourself some money by using this Amazon link.

Or if you wish to contribute something to running this site here's the paypal link.

Sign In
Forum Threads
Latest Discussions
  • No Threads created
Hottest Threads
  • No Threads created
Welcome

Welcome to the Stealthware website.


This site contains various things I have created, from Minecraft mods and tools for Eve Online, to other code snippets, utilities and tutorials.


I will be keeping this up to date with newer Minecraft releases and adding features whenever possible. There will also be many other projects in the future and a few more tutorials on different programming topics.


Use the Articles or Downloads links above to navigate, or check out the important links to the left. The latest News will be shown below or on the Twitter feed to the right.

------   Mod Download Links   ------

Explodables
MoreMeat
TweakPack
ServerCommandGUI
----
StealthwareCore


Articles

EasyDCPU

Like a lot of people i have been very interested in Notch's new game 0x10c, and especially in the DCPU-16 computer that will be at the heart of it.

So for the last week or so i have been taking a break from Minecraft modding (and most other things) to create EasyDCPU.

 

What it is

EasyDCPU, currently available as version 0.3 Alpha. Is a small program that takes C# code and compiles it into assembly code compatible with the DCPU-16 spec.

The reason for creating this is simple. Programming in assembly code is slow and tedious.
Like a lot of programmers I have played with assembly code several times and find it impressive what its possible to achive with just a few instructions. However I would never consider it for larger projects and much prefer coding in a high level language.

There are also a significant number of people who may be interested in creating their own programs for DCPU but would be put off by the assembly code. Now they have a choice.

Currently EasyDCPU is a very simple program with a text editor to enter code and another box to read the assembly output. It is capable of converting most simple c# statements, such as: If, Else If, Else, For and While. It supports variables, basic methods as well as many arithmetic and comparison operators.

 

What it will be

Future versions will provide a better code editor and most likely a built in emulator.

In future it will support most C# language features such as objects and arrays. It will also provide easy access to advanced functions via built in libraries. These will provide features similar to the Math and Console classes in the .Net Framework.

It may also add support for other languages, such as Java which for many basic features only has slight differences to C#.

 

What it is not

It is not a port of the .Net Framework or Mono Class library to DCPU-16. Whilst it would be nice to have access to all those ready to use libraries even the smallest subset of Mono would be many times larger than the memory available.

It is also not going to provide a runtime environment with type checking, garbage collection and other features. Some optimisations may be made when compiling the code but it will be compiled into assembly or binary ready to run on the DCPU-16 rather than interpreted code as C# is normally.

Download and More Info

You download the first version form the link below.

EasyDCPU 0.3 Alpha.zip 69KB ChangeLog

 

There is a Wiki available at the link below, which i have stated populating with useful information.

wiki.easydcpu.com

Please feel free to contribute to the wiki and post comments or questions below.

You can also visit what will become the main website, easydcpu.com, currently contains most of what is on this page.

 

I will be posting new versions every few days over the next week or so. So check back for updates.

Happy Coding!

Martin 24 April 2012 18524 reads 2 comments 0 ratings Print

2 comments

Leave a Comment

Please Login to Post a Comment.
  • Tim
    This is great, but like a lot of people coming from Minecraft who feel more comfortable in Java, I know I'd prefer an option to compile from that. But keep up the good work Grin
    - 05 May 2012 14:41
  • @Tim
    Thanks for the comments.
    I am planning a java version in future as it shouldnt be that much work on top of the c# version. But it will probably be a while yet as i want to get a good functional editor first.
    - 08 May 2012 19:24

Rating is available to Members only.
Please Login to vote.
Awesome! (0)0 %
Very Good (0)0 %
Good (0)0 %
Average (0)0 %
Poor (0)0 %
@IFearitude