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

Severe Performance Hit

A topic by ASDominion created Apr 13, 2025 Views: 364 Replies: 6
Viewing posts 1 to 6
(+1)

I've built a RAM chip containing 256 Positions (8-bit address) each containing one byte of data and while rendering this chip the simulation speed drops from its default 1000 steps/s to ~100 steps/s; a significant jump that even causes the wires to not render properly. I am also certain that the issue is not a hardware limitation as none of my stuff is near its usage limits. Is there anything I can do, or do I just need to wait for an update? (I am using the 2.0.2 version, but the drop was still there in the 2.0.4 version)

Yeah I experienced the same issue. I guess it's reaching the limits of what the engine can support. I had to settle for only 16 Bytes memory for my project. Would be nice to have a way to "compile" chips so they don't take so much performance. 

(+1)

It would be better to use  RGB display. By using two colors, you'll have 256 bytes each RGB  display. 

I have hit a similar problem when you get to a full 16bit memory address structure (65536 bytes of memory) the simulation takes literal seconds to do just about anything.

This has rather scuppered my plans to recreate the MOS Technology 6502 8-bit processor.

Same here, trying to make a simple 8-bit computer. I did make a chip that has 4096x16 (synced) RAM, but my performance goes from 1000 steps/sec to like 50 step/sec with just one of those chips.

Use trick with RGB display memory

https://itch.io/t/4780694/gigabytes-of-ram-are-now-possible

Yeah, I'm making/have a cpu and my ALU drops my sps by a lot, so I posted this but I don't he is going to do it so I'm just going to mod the game