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

Needed and nice things

A topic by KytheTigerz created Apr 26, 2025 Views: 196 Replies: 6
Viewing posts 1 to 3

What's needed is a customizable ROM and RAM chip (control data bit size, how big it is, clear pin for ram, and anything else good). You may ask why, it's because if someone needs a lot of ROM or RAM (probably RAM) it slows the sim down. I made ~1mb (just above) and it's bring my steps per second to ~2000 (with nothing I'm at 4 mil). This is also now the other part which would be useful for ROM and RAM features, custom bus size, this would allow me to have 16 bit bus without needing 2 8 bit buses (which is a pain to manage). Also the customizability would be great. The next thing would be great, rotation of chips and changing pin position, this would just make it more organized. Next thing is pin color, we already have pin color, but it would be nice to be able to set an RGB value, it would be nice if it was another option in the list, but it brought up a menu (like naming a chip). The last thing I'll say it performance fixes, I don't know C# nor everything about GPUs and CPUs, but I asked chatgpt in a deepsearch (I don't know anything / a lot about C# so I don't know if any of it is correct) and it/other people on websites had some ideas, please consider some of it if it's possible and correct


TLDR
1. customizable ROM and RAM chips, because of performance related issues
2. customizable buses
3. Rotation of chips and pin position customizations
4. RGB input for pin color
5. performance fixes (better steps per seconds)

I definitely agree with larger ROM and Buses but built-in RAM seems too cheap.

You can use rgb screen for 256 x 8 ram, but I need 652 of them for 1mb (laggy)

Why do you need 1mb or ram?

I think the underlying shortcoming here is not that the ROM is too small, but that you can't access the right-click menu of an inner ROM chip from an outer chip, and that each outer chip (I think) would retain the state of the initial inner ROM.

This prevents people from stringing together multiple ROMs into a bigger custom ROM chip.

It's just that I'm building a cpu, so when I have 1 mb of ram it brings my steps per second to ~1500. And 2mb is like ~750. I'm guesssing (havent tested yet) but 16 or more ROM would also it bring it down more and I need as much sps I can get. That would still be nice though

that's definitely an optimization issue, which Sebastian has said needs work.