News for hackers. Stuff that matters.

jdryg

Re:DLS, the digital logic simulator game on Sunday August 07, 2016 @09:35AM (#12242032)
For the first error (`GLIBCXX_3.4.21' not found) try the other Linux version (the one marked as GCC 4.9.3). This was the reason I uploaded it.

For the second error (at least on Ubuntu 14.04) it seems that some dependency is missing but ldd doesn't report it. Under Ubuntu 14.04 ldd maps /lib/ld-linux-x86-64.so.2 to /lib64/ld-linux-x86-64.so.2 but when you try loading the executable this doesn't happen. If this is the case for you, try creating a symlink:

ln -s /lib64/ld-linux-x86-64.so.2 /lib/ld-linux-x86-64.so.2

Hope that helps.

Re:DLS, the digital logic simulator game on Sunday August 07, 2016 @03:13AM (#12241355)
Yeah, there aren't any yet. As I said in another comment, I have a couple of ideas on how to turn it into a game. Currently I cannot decide which one I'll be able to implement in finite time and if it'll be any fun to play.
Re:DLS, the digital logic simulator game on Sunday August 07, 2016 @03:10AM (#12241349)
It's at the bottom of my looong TODO list. Hope to find some time to try it out. Don't know if and how it'll work though.
Re:DLS, the digital logic simulator game on Sunday August 07, 2016 @03:07AM (#12241346)
You should do it! I doubt I'll decide how to turn DLS into an actual game sooner than you are able to build yours :)

One of my ideas is similar to what you describe but with more complex cases (I can't think of anything simple that will make sense). E.g. controlling traffic lights.

Re:DLS, the digital logic simulator game on Sunday August 07, 2016 @03:01AM (#12241336)
Thanks!

There are currently no objectives or any game element in DLS. I have some ideas on how this can be turned into a game. Haven't decided which of them will be feasible to implement and be (somewhat) fun at the same time.

Re:DLS, the digital logic simulator game on Sunday August 07, 2016 @02:57AM (#12241334)
The i4004 was the first real thing I tried to simulate in DLS (I thought it would be easy since it's only a 4-bit CPU... :)). As you said, it's mostly the real deal, since it's missing some components. That's why I added scripting to see if it can make the whole process a bit simpler.

When scripting was implemented, I didn't want to redo the i4004, that's why I started the 6502. And since kernel and basic ROMs were available online, I thought of adding a display to see if I can get some output.

AFAICT, building an entire CPU out of logic gates in DLS is feasible. I just don't have all the time required to do it, that's why I'm currently building (reusable?) parts of a CPU and document the process in the blog. It will be complete some day, but not anytime soon :)