Can you do a 32bit version for windows 7?
A downloadable game for Windows, Mac OS X, and Linux
Welcome to DLS, the digital logic simulator game.
The current version of the game includes:
- Truth table levels where your goal is to build a circuit to match a given truth table, under certain restrictions (e.g. limited types of gates).
- Sequential levels where your goal is to create a circuit to match a given timing graph.
- Stream levels where you have to build a circuit to process several inputs streams and produce the desired outputs.
- A powerful sandbox editor where you can build whatever circuit comes to mind! Includes a logic analyzer to debug your circuits, calculate propagation delays and/or find hazards and glitches. Create and organize components into packages and use them to create larger and better circuits.
To get an idea about what's possible to build with DLS, see our github repository of schematics
DISCLAIMER: This is an alpha version of the game. Also, this is a toy logic simulator. You might find out that certain circuits, which should work correctly in real life, are reported as unstable in DLS. We'll be glad to test those circuits if you have the time to send them to us, in order to fix the simulator.
DLS is a time-driven event-based multi-delay 3-value digital logic simulator.
- Time-driven means that the circuit time is advanced forward based on a user-specified target speed, which is measured in circuit nanoseconds per real second (ns/s). The simulation will always advance to a new state if there are pending signals in the circuit's queue. This means that even unstable or asynchronous circuits can be correctly simulated.
- Event-based means that a gate is simulated only if one of its inputs changes value. Otherwise the previous output is considered valid and used as input to all connected gates/components.
- Multi-delay means that each build-in gate/component type has its own propagation delay which is always an integer greater than or equal to 1.
- 3-value means that in addition to logic levels 0 and 1 there's an extra logic value (U for Undefined) which is used as both Z (high impedance) and X (undefined) signals, depending on its origin.Some technical details regarding the current version of the game/simulator.
Third party libraries
DLS uses the following free software (in no particular order):
- GLFW - An OpenGL library (http://www.glfw.org/)
- bgfx - Cross-platform rendering library (https://github.com/bkaradzic/bgfx)
- nanovg - Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations. (https://github.com/memononen/nanovg)
- zange - A single header ANSI C JSON parser (https://github.com/vurtun/zange)
- nanosvg - Simple stupid SVG parser (https://github.com/memononen/nanosvg)
- bnet - Message oriented networking library using TCP transport (https://github.com/bkaradzic/bnet)
- CrashRpt - A crash reporting system for Windows applications (http://crashrpt.sourceforge.net/)
- LuaJIT - a Just-In-Time Compiler for Lua (http://luajit.org/)
- Icons from Font Awesome - the iconic font and CSS toolkit (https://fortawesome.github.io/Font-Awesome/)
- Roboto font (http://www.dafont.com/roboto.font), Anonymous Pro Minus font (http://www.marksimonson.com/fonts/view/anonymous-p...)
We would like to thank their developers for building them and making them public/free.
Programming, testing: Jim Drygiannakis (
Graphics/UI: Antonis Drygiannakis
Beta testing: Sam Swain, Richard Matthias, Josh Callebaut
- NEW: Simulator internals have changed. Circuits are now flattened to their basic logic gates (instead of working on a tree of components) and simulation time is advanced forward if there are any events queued. Steady-state isn't required in order to finish simulating a circuit, so both unstable (i.e. oscillators) and asynchronous circuits should work correctly.
- NEW: Basic logic analyzer. Every debug output is monitored and displayed in the analyzer.
- NEW: You can now clear Display components to black or random color via their context menu.
- FIX: Histogram bucket size was wrong and extreme values weren't displayed properly.
- FIX: Multi-bit OR gate gave wrong results when one of its inputs was equal to 1.
- FIX: Inspecting a component while the parent circuit had a testbench, caused the testbench to reset when returning to parent.
- FIX: During level editing, when the user created a new component and then inspected another component, when returning to the new component's schematic the main menu toolbar was wrong.
For details on previous versions, see Releases.txt or the sandbox manual.
|Published||363 days ago|
|Platforms||Windows, Mac OS X, Linux|
|Author||Making Art Studios|
|Tags||circuit, cpu, digital-logic, gates, logic, nand, puzzle, schematic, scripting, xor|
|License||All rights reserved|
|Average duration||A few minutes|
In order to download this game you must purchase it at or above the minimum price of 3.99€ EUR. You will get access to the following files:
Log in with your itch.io account to leave a comment.
I'll see what I can do for the next release. Problem is that it's one more build on top of 4, that's why I avoided it till now. If I do a 32-bit Win version I'll also have to do two 32-bit Linux versions :)
Could you do a build for OSX 10.10.5? I can't load the EDA simulator, as it says it requires 10.11
Unfortunately I don't own a Mac at the moment. Somebody else is building DLS for me on OS X, so I doubt this is possible. Sorry for that. Hope you'll be able to try it out at some point in the future.
Awesome game - just got my 8 bit CPU up and running :). Would love to be able to paste into the ROM editor, I want to write a compiler for my CPU but can't deal with writing the instructions manually!
Great! Do you mind sharing your schematic? :)
You are right about the ROM editor. It should support pasting, or some other form of input (e.g. load external files). In case of pasting the problem is the format of the string/data. The problem with loading external files is that a native open file dialog won't work correctly in fullscreen mode, and writing a full file browser with the current GUI is going to be a PITA :)
Until I figure it out, you can work around the issue by using a scripted component for your ROM as I did in the 6502 schematic for the Kernal ROM (https://github.com/jdryg/dls-schematics/tree/maste...). Either extract the component from the schematic or copy/paste the script into a new component. Then, Base64 encode your ROM and paste it into the script. It should work. You can even make your compiler generate the whole script and just paste the output into DLS.
Hope that helps for now. Thanks for the feedback!
I'd like to inform you that in the latest version (0.9.0) I've added the ability to save and load ROM data to/from files.
In case you want to load your program into a ROM, save its byte code into a file with a ".rom" extension and place it inside the "roms" sub-folder (which is located under the current user's DLS data folder). You can then select your file via the ROM editor. Note that in case the ROM's size in bytes doesn't match the selected file size, you'll get a warning mentioning the number of bytes actually loaded.
Depending on your OS, the DLS data folder is located at:
- Windows: %USERPROFILE%\Documents\DLS
- Linux: The folder where you extracted the contents of the zip package.
- OS X: ~/Documents/DLS
Awesome! Thank you so so much. Sorry for not sending the schematic through yet, just waiting for a free couple of hours to Polish it up. Will let you know how I get on :)
No worries :) I'm just curious to see what other people build with DLS.
The only schematics I've seen are my own and I'm a newbie on the field (still learning as I go, adding stuff to the game I think will help me build more complex circuits easily). That's why any kind of feedback is appreciated!
./DLS: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./DLS)
/usr/lib/libstdc++.so /usr/lib/libstdc++.so.6 /usr/lib/libstdc++.so.6.0.20
gcc (GCC) 4.9.3
Can you please tell me which OS (incl. version) you are using in order to try and reproduce the error? I might have to link to libstdc++ statically, but before doing that, I want to see if I can find a better solution.
Also, can you post the output of the following command:
strings /usr/lib/libstdc++.so.6 | grep GLIB
Void Linux its a rolling release so no "version"
do let me know if I can help you with any further information....
Apparently Void seems to be stuck with GCC 4.9.3 (there's no official package for GCC 5.x). Rebuilding DLS with libstdc++ statically linked might help, but, unfortunately, I cannot comment on how long that'll take. I'll inform you once I find some time to work on it.
Sorry for the inconvenience. And thank you for your interest in DLS.
According this thread (https://forum.voidlinux.eu/t/why-is-void-still-using-gcc-4-9-3/420) you might be able to build GCC 5.2 from sources, in case you want to give it a try.
I forgot to mention that DLS has been built with GCC 5.2.1 (objdump -s --section .comment ./DLS) so you can try to upgrade GCC, if that's an option.
I've uploaded a new package (DLS v0.8.1 (Linux x64 - GCC 4.9.3).zip) with the executable built under Void Linux x64_86 with GCC 4.9.3. Tested it in a VirtualBox VM and it seems to work.
If you happen to test, please report back any problems you might encounter.
amazing, well done!