Live data from Hacker News

Web emulator for DCPU-16

0x10co.de

11–20 of 29 posts

Re: Web emulator for DCPU-16

#13
I was going to suggest that you add a quick reference, but then I saw that it was on the right. It would be cool if the quick reference had stuff about the [addr] and :jmplabel and PC crash use, but other than that I am highly impressed with this site!

Re: Web emulator for DCPU-16

#15
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.

Re: Web emulator for DCPU-16

#16
One of the cool things about the website is the ease of forking snippets.

When the Word of Notch gave information on how input would work, previous code written using alternative schemes broke.

The snake game, http://0x10co.de/cdbk1, was one of these programs. However, it wasn't too long before people started hacking on it and started forking the code. Here's a version at the bottom of the fork tree:

http://0x10co.de/hbcdo

One draw back is that the newer versions don't show up on the top programs page (since people find out about the original first, and the fixes later) and give the illusion that website doesn't work properly.

Re: Web emulator for DCPU-16

#18

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.

This is the only spec that we have to work with: http://0x10c.com/doc/dcpu-16.txt . Notch said he's reviewed quite a bit of feedback on the spec and to expect revisions although it may be a while.

The rest of our information comes from Notch's tweets. Interrupts are unlikely. IO is memory mapped. There's been some guessing about display and keyboard but nothing set in stone.

Re: Web emulator for DCPU-16

#19

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.

There are, officially, no interrupts. As for the other bits I'm doubting it but Notch hasn't said anything official.

Re: Web emulator for DCPU-16

#20

This one is a 1700+ line operating system (AtlasOS, a multi-process capable DCPU-16 Operating System): http://0x10co.de/ghekp just amazing. The code is apparently available at https://github.com/Noxer/AtlasOS .

Things like this make me feel so stupid. :(
Post reply on HN