Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Digital Logic Sim

​A minimalistic digital logic simulator · By Sebastian Lague

Assembler

A topic by virtual_matt created 43 days ago Views: 415 Replies: 8
Viewing posts 1 to 3

Since I  built my CPU with a costum ISA in DLS, I've literally been in love with my ISA, because I made it. Guess what? I designed my own assembly language and programmed my own assembler for the ISA. I'm so proud of myself! Let me hear, what you have already made with DLS and your CPUs!

My emulator is now complete! I made one, because I didn't want to tell people, that want to test my ISA and assembly language, that they have to download DLS. Keep in mind, that I'm 15. And now I have made an assembler and an emulator all in this week!

Does the emulator have a GUI? I made it with Qt C++.

Yeah, my emulator has a GUI. I just used Unity to make it.

But why in Unity, if you can code it in C++? It would run much faster than C#. For me it ran at 66 mhz, or 16.5 million 2-step instructions per second.

Because I‘m already familiar with Unity and didn‘t want to learn C++ and a graphics API for the GUI. I know it would be more optimizied this way. Could you please explain to me, what you mean by 2-step instructions and why is it aquivalent to 66 MHz?

Its because my cpu needs 3 or 4 steps to execute an instruction. And it runs at 2-4 spct at 550 sps. However, on the emulator, everything runs at the same frame. So 13 MIPS * 4 = 52 MHz.

cool  man, darn, if you start to outgrow this i reccomend turing complete its a great game, where u build a computer, and use it so solve problems or even run minecraft! (note mine only ran it at 0.3fps)

Thank you! I already know Turing Complete. I only need to complete a few levels before I'm done. You really ran Minecraft on your CPU? How complex is the game. Are there any implemented game machanics besides breaking and placing blocks? I'm curious!