meany, meany people have asked me this, and I give up. here you go, how to make an ALU used in redstone computers and CPUs. I will be making a, probably 3 part series on how to make all these parts.
the ALU:
the RAM:
the final CPU(not yet computer!):
next in line: building program memory and the clock.
do you think the computer shud have conditional branching? I think not, I will make a video on this later.
what else do you want me to make a tut about?
But why is there a need of a clock, when you just use buttons because the computer doesnt need to work when there is nothing to do
computers run programs. if there is nothing to do, a computer checks constantly for something to do. imagine you had to press a button on your laptop/computer for it to work. you will need to press it a few trillion times a second for your computer to even work normaly!
Explain how all the parts interact and how they link together and work. I'm very good with redstone it's just don't know how to link all the parts together and form the computer.
Explain how all the parts interact and how they link together and work. I'm very good with redstone it's just don't know how to link all the parts together and form the computer.
Hey, followed your ALU tutorial, Easy to follow, kudos on that, I added a subtracter to your ALU design and hooked up a little 2 bit decoder for switching between functions, but say if I add 1 & 1 together, the second output lights up, where as if I subtract 2 by 1 the third output goes out and the rest light, should it do this, or am I doing something wrong?
You need to invert the carry in and nand the carry out or you're subtracting B from A and its attempting to give a negative number
EDIT: this is wrong, it is the other way around, invert the carry out and nand the carry in, sorry for any confusion
Hey, followed your ALU tutorial, Easy to follow, kudos on that, I added a subtracter to your ALU design and hooked up a little 2 bit decoder for switching between functions, but say if I add 1 & 1 together, the second output lights up, where as if I subtract 2 by 1 the third output goes out and the rest light, should it do this, or am I doing something wrong?
this is PERFECTLY normal, and actually makes sense. if you get a negative number, your data will come out negative! just put an Xor at the end if you know you will work with negative numbers.
the ALU:
the RAM:
the final CPU(not yet computer!):
next in line: building program memory and the clock.
do you think the computer shud have conditional branching? I think not, I will make a video on this later.
what else do you want me to make a tut about?
what else shud I make a tutorial about?
umm...
clock system (quite simple)
boot manager (must be custom built)
GPU (complex)
command interpreter (must be custom)
...... I think that is it?
i have my own GPU and i wanna test it on something.
EDIT: you should make the command interpreter and clock system, i wanna get started on those too.
the clock decides the speed of the computer. whenever the "clock" "ticks", the computer does something.
weeelll, those two are a tad hard to explain. I might try make tutorials for em...later. I have exams to worry about too!
computers run programs. if there is nothing to do, a computer checks constantly for something to do. imagine you had to press a button on your laptop/computer for it to work. you will need to press it a few trillion times a second for your computer to even work normaly!
Doing that in the next tutorial!
There are plenty of adders and tutorials for them!
GLaDOS security computer, perhaps? Or some sort of logging system? Home atomation? Minecart station logging and atomation?
Short answer :The clock is used to synchronize the various parts of the CPU (program counter, ram, rom, ALU)
Long answer :
http://en.wikipedia.org/wiki/Clocked_logic
You need to invert the carry in and nand the carry out or you're subtracting B from A and its attempting to give a negative number
EDIT: this is wrong, it is the other way around, invert the carry out and nand the carry in, sorry for any confusion
this is PERFECTLY normal, and actually makes sense. if you get a negative number, your data will come out negative! just put an Xor at the end if you know you will work with negative numbers.
WHA? no ways! what kind of logic is this?
Slightly off topic, :
1) What software are you using to screen-record your tutorials ?
2) What is the mod for your command line copying / pasting .... etc?
Mike
That would be WorldEdit with SinglePlayerCommands