Re:C-based Virtual Machine for Notch's DCPU-16
by schwap on Wednesday April 04, 2012 @06:44PM
(#3800253)
I started one in JavaScript (As an exercise to learn JS beyond DOM manipulation):
https://github.com/tscho/dcpu16-js
Re:C-based Virtual Machine for Notch's DCPU-16
by fbu on Wednesday April 04, 2012 @08:37PM
(#3800665)
Awesome man! You solved quite a few problems I had working on mine. (Not sure I understand everything though)
I checked your code, fixed a few things. It now works for: 7c01 0030 7de1 1000 0020 7803 1000 https://github.com/fbulens/dcpu16-js
I'll continue tomorrow (Europe here).
Re:C-based Virtual Machine for Notch's DCPU-16
by schwap on Thursday April 05, 2012 @01:38AM
(#3801464)
Glad you found it helpful! I merged in your changes and added an html interface.
Re:C-based Virtual Machine for Notch's DCPU-16
by M4v3R on Thursday April 05, 2012 @03:03AM
(#3801623)
If anyone's interested, I've repackaged kballard's Go VM, so you can compile it and it will run sample Hello World program, outputting it to stdout: http://github.com/M4v3R/dcpu16.go/
Re:C-based Virtual Machine for Notch's DCPU-16
by alnis on Wednesday April 04, 2012 @09:38PM
(#3800851)
Not quite as fancy as an emulator, but I've put together a JavaScript assembler: https://github.com/AlexNisnevich/dcpu16-assembler
Re:C-based Virtual Machine for Notch's DCPU-16
by itsbth on Wednesday April 04, 2012 @08:50PM
(#3800710)
Another one in coffeescript: https://github.com/itsbth/DCPU.coffee
Seems to work, but I have no idea if it's correct, as I don't have much to test it on.
Re:C-based Virtual Machine for Notch's DCPU-16
by jtauber on Wednesday April 04, 2012 @10:40PM
(#3801031)
and a Python one: https://github.com/jtauber/dcpu16py
Re:C-based Virtual Machine for Notch's DCPU-16
by fla on Thursday April 05, 2012 @05:06AM
(#3801862)
Yet another one in CoffeeScript
https://gist.github.com/2308725
Re:C-based Virtual Machine for Notch's DCPU-16
by 1_player on Thursday April 05, 2012 @06:51AM
(#3802052)
And disassembler in Go (by me): https://bitbucket.org/1player/godcpu16
And a disassembler in JavaScript by evilpie: https://gist.github.com/2300590
Edit:
CoffeeScript, too (via steverb): https://github.com/Janiczek/cfs-dcpu16
@sp332: I feexed it