Skip to main content

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

TheXadGaming

28
Posts
2
Topics
1
Followers
1
Following
A member registered Nov 07, 2022 · View creator page →

Recent community posts

it's a feature that is activated in the Code, if your familiar with Unity Development their is an Object called "VideoFeatures", or something, and you can activate that to get the experimental features like seeing the Displays in a chip. Their are some mods, And very helpful posts on how to do this on this forum, so if you can find those you should be able to activate this feature.

Join what exactly? Do you mean Open the Program? Or, Join the itch.io fees?

That is do-able, but it would bakr a very large chip you'd have to fit in there, with the smaller chips you can the wires a little neater.

Why?

(3 edits)

You change the name by clicking the Grey line next to the Pin. And in the settings you can turn off the pin names.

It looks like that's from Digital Logic Sim Classic, and I don't know much about that, maybe try checking on the Forums there.

This is extremely impressive.

Assuming your using Windows, You can download Unity and there should be a button like 'open project' or 'open folder' then click the folder with the code in it, then Digital Logic Sim is open in Unity. If you have Notepad or Visual Studio (Code) then you can edit the code in there.

For a more in-depth explanation someone else in the community might know, I've personally never experimented with the code of Digital Logic Sim that much, just opened the code in Unity.

I use windows, so I can't be of much help.

@Ninja Coder Tech, posted this it might help: GUIDE

That code as @fuighy mentioned, can be opened in Unity. I don't know though how to enable the display visualizer thing, but this a quote from another comment: "So, I found out that it must be somewhere in "the code" there is VidHelper.cs and VidHelper.cs.meta in there." If you do something with these files you can enable the features. And I know you can increase the size of the workspace, there's a guide here.

I don't remember where but he said he didn't want to share it, but I'll look and see if I can figure out how to do it myself.

The comment above yours explains why.

I don't know the exact directory, ill reply with it shortly, but for now I know it's located somewhere in %appdata%

See this post: "https://itch.io/t/2884559/how-to-make-this

I don't know of any tutorials, but there's  a tutorial on how to make the workspace bigger in the comment section of this post: "https://itch.io/t/2624472/i-made-an-8-bit-computer-in-digital-logic-sim-v2".

https://itch.io/t/2884559/how-to-make-this

The ability to see a 7-Segment Display in a chip is disabled by default because the feature is Unstable. Sebastian Lague turns the feature on when he's filming.

I think if you want you can go pocking around in the code to turn it on I believe.


But by default it's turned off.

I'll update the post in a day or two.

This is pretty cool, thanks for making this. I used this design and modified it for my own CPU.

(1 edit)

In My last post I made a 16-Byte RAM chip.

Today I'm making an ALU, an Arithmetic and Logic Unit.

Here's how:

The ALU:

-----------------------------------------------------------

Architecture:

The ALU has 8 Functions on it, 4 Logical, 4 Arithmetic.

Logical: NOT, OR, AND, XOR.

Arithmetic: ADD, SUB, INC, DEC.

-----------------------------------------------------------

The Addition and Subtraction:

This Chip has 2 8-bit inputs, and an 8-bit Output along with an extra 9th bit for output.

And a Carry Input, and a Subtraction Signal. When the Subtraction Signal is on we use 2s Complement

to Subtract the 2 inputs.

Note:

This is the Full-Adder chip, the design is umm, pretty bad, but it works!

-----------------------------------------------------------

The Logical Part:

So this does the Logical Operations.

It has 2 8-bit inputs, and 4 selection signals.

Depending on which selection is on, the output of that operation is put on to an 8-Bit Bus wire and fed out of the chip

on an 8-bit output number.

-----------------------------------------------------------

The finished Build:

Finally, We combine everything together to make a ALU.

First the Arithmetic part, we have the 4 selection signals, and  when the In B1 Signal or the Decrement/Increment signal is on then the first bit of the second number is on. And the Subtraction on the chip is on, when the Decrement or the Subtraction signal is on.

Logic is just the LU chip, the Arithmetic and Logic are put through an OR gate so we can choose which to output, and we also have the Clock.

It ahh, I didn't setup the Clock properly, so I might address that in the future and add some stuff to the ALU, but that's it for now.

-----------------------------------------------------------

Thanks for reading.

That isn't in the actual program, and was added after while editing the video. But to calculate the number yourself there's pretty good guides online.

Sebastian might add this in the future though.

👍

Wow this is really cool! Good job 👍

(2 edits)

Thanks, I'm planning on making post about building up to a basic computer.

(1 edit)

16-Byte RAM:

-----------------------------------------------------------------------------------------------------------------

So I saw that people were talking about making computer RAM in the posts.

And I thought I could probably build this.

So I made a 16-Byte Ram Chip:

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Step 1: The 1-Byte Ram:


So first I put together 8-1-Bit-Registers to make a 1-Byte Ram Chip.

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Step 2: The 4-Byte Ram:


So This may look like a mess of wires, but I'll try and explain.

Pins:

So there's 8 Data In Pins, The Store And Clock Pins. Then 4 Pins for selecting which Byte to write to.

Wiring:

Then Each 1-Byte Chip gets its own Byte Pin, Then I use some Ands to store in that Byte If the Store Pin and that Bytes Pin is on.

Then I store the Data In Pins in that Byte of RAM. Then Everything goes into a Tri-State Buffer. Which the Byte Pins are used to turn the Buffers On and Off. Then the Output of the Bus Buffers are feed to the Data Output Pins.

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Step 3: 4-16 Binary:


So Here there's 4 Inputs and 16 Outputs. For each combination of the 4 Inputs there's an Output Pin. So using the 4 Inputs we can select between 16 different Bytes of Memory.

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Step 4: 16-Byte RAM:


So this is basically a bigger version of the 4-Byte RAM. But everything is scaled up for 16-Bytes.

We also use the 4-16 Binary to select between all 16 Bytes of Ram. And like before feed there outputs through Tri-State Buffers.

And for the Store signal I turn the 16 Byte Selection signals back down to a 4 Byte signal to store if that 4-Byte Ram's Byte Signal is on.

Then use the full 16 Byte Selection Signals to pick between which Byte in the 4-Byte Chip to store in.

And ALL of this uses a Clock, so it could be used in a computer.

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Wow, you actually read all of this? Thanks.

-TheXadGaming