Live data from Hacker News

Web emulator for DCPU-16

0x10co.de

21–29 of 29 posts

Re: Web emulator for DCPU-16

#21
shameless self promotion: i also wrote a dcpu emulator pastebin at http://dcpubin.com/ as a weekend exercise to learn heroku and mongodb. it's definitely not as pretty as 0x10code, though. i've also decided not to implement some features (like keyboard input) until an official spec is released for them. maybe that's the wrong choice, not sure. anyway, it's a fun project to hack on. the code is here: https://github.com/jazzychad/dcpubin

Re: Web emulator for DCPU-16

#24
post #4

neat. I took a look at the code base and there is a number of files with a jade extension. Anybody know what language/framework that is?

I've gotta say, it's my first ever experience with express, jade, or a web app on Node (I've done decent amounts of non-web Node stuff, though). When I was starting ti get 10 requests per second, I still wasn't even caching anything.

Re: Web emulator for DCPU-16

#26
post #9

The debugger is great! Until this came along I was really struggling to figure out how to write any kind of code for this DCPU thing. I don't have a background in assembly or really any sort of low level programming. The debugger makes the code a lot more approachable for someone like me!

However running stuff in it locks up the browser a little bit. I will definitely improve on that, but I'm glad it is at least useful.

Re: Web emulator for DCPU-16

#27
Feature request: ability to vote up

Views counter is not very useful really: sketches from top are getting more views, random view is adding chaos. Voting up would be very good tool to identify interesting programs.

Re: Web emulator for DCPU-16

#28

Great work on the web emulator! So--and forgive my ignorance here--is there actually a spec up for things like hardware interrupts, IDTs, trap vectors, whatever? This all seems of limited utility until we know how the machine is actually structured.

In addition to the official spec, there are twitter posts and sample code, which is currently being taken as spec. Colors were justified based on an early screenshot that had text coloring.

Here's Notch's code, originally linked to on twitter, that has been used to justify the way the 16 word buffer works in 0x10co.de

http://pastebin.com/raw.php?i=aJSkRMyC

Post reply on HN