So, I figured individual logic gates were a waste of space. Truth tables are the way to go, especially for many input/output functions. viewtopic.php?f=35&t=16547
For the purpose of building latches and flipflops I don't know if they will be able to beat plain gates.
Anyways... anyone know how to make a XOR for 3 inputs? I know I can just run two XORs together, but there has to be a small way than that. I was able to get something like an XOR which would worked except when all three inputs were turned on, but even that was getting too big.
Well if you're really serious about making computers you're going to need some of these:
RS flipflop
Check out the map editor I'm working on. Part of my motivation for building it is so that people like us can mass-duplicate these units and make huge RAM banks, ILUs, 10-digit displays, floating-point units and so on.
Well, I got a full adder built, perhaps not as compact as possible, but not too spread out.
Laying down a layer of glass on top of the field of dirt keeps all the animals from spawning, meaning no bugs (or pigs and sheeps) popping up as they walk on wires.
The Carry overs work fine.
I and all possible pairs of inputs and then or the entirety of it ('or'ing ands is pretty small with the current logic).
The longest wire was too long so I had to extend power with two not gates, but there was a glitch if I had them touching where once I flipped that input on, it would stay on regardless of the switch, so I put some wire inbetween.
I think this will work well enough... I don't like the limit on the wires though, as it will be annoying having to add in the double nots on any decent length wire... but so be it. Now to use adders, flip flops, and the clock to build something impressive.
P.S. If anyone has any suggestions on the color of text to use, yellow shows up, but it doesn't look great.
EDIT: The entire image is not showing, guess I shouldn't take pictures full screen. It does make the final image bigger though.
My dream is that one day we will be able to create computers in Minecraft powerful enough to create computers inside those computers too.
Yo dog I heard you like fictional computers so we put a fictional computer inside your fictional computer so you can waste months making computers in Minecraft while you waste months creating computers in Minecraft.
and another thing, can someone explain the XOR gate at the beginning of the thread to me? it seems that some of the wire is unnecessary, and I have no idea what the arrow smiley represents.
I have been working with different forms of storage, and the one I like the best are criss crossed nands.
So you have two inputs. Input 1 is split, and one of the splits is 'not'ed. Then, both inputs are run through and with the other input to each and gate being input 2.
The split input 1 which is only anded with input 2 is run through is then notted, then ran into one of the two inputs on the first nand gate (the other input coming from the second nand gate). You then take the input 1 that was notted then anded with input 2, and not it before running it into one of nand gates 2 input.
The result of this is simply that the output of nand gate one is the state of input one last time input two was on.
So, if input 2 is off, output is previous state. If input 2 is on, output is input 1.
Perhaps not the most efficient storage, especially considering a number of tricks used in real computers (such as switches on clock rises verses on clock falls), but for the purpose of building something in mine craft, it seems to be the simplest storage I have yet figure out.
I now plan to use this is a 7 switch added w/ storage.
The first 4 switches input a number. The fifth and sixth switch store this number in memory (two storage locations. The final switch adds the two numbers stored in memory and the result will be displayed on 5 torches.
The max this can handle is 8 + 8 = 16, but it does so with memory that can easily be rewitten. Currently my biggest problem is getting enough flat space to do this on, and the wires running out. I also accidentally erased my full added, and the one I built in it's place had a bug in it, so I'm going to have to go try to rebuild it.
and another thing, can someone explain the XOR gate at the beginning of the thread to me? it seems that some of the wire is unnecessary, and I have no idea what the arrow smiley represents.
a XOR gate can be considered like two light switches that control a light bulb. when both are down the light is off, when both are up, the light is off, but if one is up and one is down the light turns on
My dream is that one day we will be able to create computers in Minecraft powerful enough to create computers inside those computers to.
Yo dog I heard you like fictional computers so we put a fictional computer inside your fictional computer so you can waste months making computers in Minecraft while you waste months creating computers in Minecraft.
The emulation cost of running a MCC (minecraft computer) is far to high for us to probably be able to do that in our life time... not to mention the entire issue with the wires only being able to go so far might make it literally impossible to emulate any sufficiently advanced CPU, even counting the trick of extending the power with double not gates. And all it takes is for one pig to spaSEG FAULT
The emulation cost of running a MCC (minecraft computer) is far to high for us to probably be able to do that in our life time... not to mention the entire issue with the wires only being able to go so far might make it literally impossible to emulate any sufficiently advanced CPU, even counting the trick of extending the power with double not gates. And all it takes is for one pig to spaSEG FAULT
you do know you can boost the range of the wire by connecting the end range of the wire to a block with a torch on the other side right?
on a different note, someone should be a 2byte binary clock, with 2 rows of 8 torches, so that it'll count up by the second in binary fashion.
I like the flicker switch idea. If you put enough of them together, you could make a semi-random number generator. What would you do with one of those, you ask? Dunno, but it's nice to have.
you do know you can boost the range of the wire by connecting the end range of the wire to a block with a torch on the other side right?
Yeah, that is what I mean by the double not gate trick. One of those acts like a not gate, so unless you mean to use a not gate, you have to use two at least, though they can be spread out.
So, i saw those spazzing blinker glitched torch thingies, and took it to the logical conclusion:
A disco floor
This video shows my proof of concept disco floor. It should probably be done with materials other than dirt/grass.
At the time of this posting, it's still processing so looks pretty bad, but hopefully that will improve.
Edit: Also, FRAPS murdered my framerate, which didn't help. If you make your own, it looks a LOT better at a high framerate.
So, i saw those spazzing blinker glitched torch thingies, and took it to the logical conclusion:
A disco floor
This video shows my proof of concept disco floor. It should probably be done with materials other than dirt/grass.
At the time of this posting, it's still processing so looks pretty bad, but hopefully that will improve.
Edit: Also, FRAPS murdered my framerate, which didn't help. If you make your own, it looks a LOT better at a high framerate.
[Youtube]
hm... i think we can make music with this...but i don't know how.
ive figured out a simple design to make a constant flicker, and no i did this before looking at the thread and was a little pissed that a "flicker" was already made <.< but ive redesigned it so that its able to send a signal constantly flickering! ever wanted a door to spam?
basicly it seems like it's range is extended, though it may just be a illusion as its going up a slope. not sure. but anyhow, onto the simple construction details. the first layer (the bottom layer) should look something like....
= redpowder
=.........
=air
:!: =output
:!:
while the second layer should look like...
=powertorch
Rollback Post to RevisionRollBack
Science might be an annoying b***h, but Magic is her slutty, drug-addicted cousin. Who enjoys screwing with your head.
Formula for Password Doors of any password you want:
= Password Switch (I'll explain later)
= Block
= Light
:!: = Switch
[iron] = Air
= Wire
Door Base:
[iron]
[iron] door
[iron]
That's an AND gate.
Password Switch 1:
:!:
Password Switch 2:
:!:
On one of the edges, take off the switch. Extend it's distance back with the following circuitry, with the downward switch on the inside.
:!:
[iron] [iron]
:!:
Wall this off and make an enterance, placing blocks above all wires, and you can now close/lock it from the inside.
For the purpose of building latches and flipflops I don't know if they will be able to beat plain gates.
Anyways... anyone know how to make a XOR for 3 inputs? I know I can just run two XORs together, but there has to be a small way than that. I was able to get something like an XOR which would worked except when all three inputs were turned on, but even that was getting too big.
Check out the map editor I'm working on. Part of my motivation for building it is so that people like us can mass-duplicate these units and make huge RAM banks, ILUs, 10-digit displays, floating-point units and so on.
"We will absolutely not keep in mind what external mapeditors will have to do to read data from the disk, that makes no sense whatsoever." - Grum
Laying down a layer of glass on top of the field of dirt keeps all the animals from spawning, meaning no bugs (or pigs and sheeps) popping up as they walk on wires.
The Carry overs work fine.
I and all possible pairs of inputs and then or the entirety of it ('or'ing ands is pretty small with the current logic).
The longest wire was too long so I had to extend power with two not gates, but there was a glitch if I had them touching where once I flipped that input on, it would stay on regardless of the switch, so I put some wire inbetween.
I think this will work well enough... I don't like the limit on the wires though, as it will be annoying having to add in the double nots on any decent length wire... but so be it. Now to use adders, flip flops, and the clock to build something impressive.
P.S. If anyone has any suggestions on the color of text to use, yellow shows up, but it doesn't look great.
EDIT: The entire image is not showing, guess I shouldn't take pictures full screen. It does make the final image bigger though.
Yo dog I heard you like fictional computers so we put a fictional computer inside your fictional computer so you can waste months making computers in Minecraft while you waste months creating computers in Minecraft.
and another thing, can someone explain the XOR gate at the beginning of the thread to me? it seems that some of the wire is unnecessary, and I have no idea what the arrow smiley represents.
So you have two inputs. Input 1 is split, and one of the splits is 'not'ed. Then, both inputs are run through and with the other input to each and gate being input 2.
The split input 1 which is only anded with input 2 is run through is then notted, then ran into one of the two inputs on the first nand gate (the other input coming from the second nand gate). You then take the input 1 that was notted then anded with input 2, and not it before running it into one of nand gates 2 input.
The result of this is simply that the output of nand gate one is the state of input one last time input two was on.
So, if input 2 is off, output is previous state. If input 2 is on, output is input 1.
Perhaps not the most efficient storage, especially considering a number of tricks used in real computers (such as switches on clock rises verses on clock falls), but for the purpose of building something in mine craft, it seems to be the simplest storage I have yet figure out.
I now plan to use this is a 7 switch added w/ storage.
The first 4 switches input a number. The fifth and sixth switch store this number in memory (two storage locations. The final switch adds the two numbers stored in memory and the result will be displayed on 5 torches.
The max this can handle is 8 + 8 = 16, but it does so with memory that can easily be rewitten. Currently my biggest problem is getting enough flat space to do this on, and the wires running out. I also accidentally erased my full added, and the one I built in it's place had a bug in it, so I'm going to have to go try to rebuild it.
a XOR gate can be considered like two light switches that control a light bulb. when both are down the light is off, when both are up, the light is off, but if one is up and one is down the light turns on
The emulation cost of running a MCC (minecraft computer) is far to high for us to probably be able to do that in our life time... not to mention the entire issue with the wires only being able to go so far might make it literally impossible to emulate any sufficiently advanced CPU, even counting the trick of extending the power with double not gates. And all it takes is for one pig to spaSEG FAULT
you do know you can boost the range of the wire by connecting the end range of the wire to a block with a torch on the other side right?
on a different note, someone should be a 2byte binary clock, with 2 rows of 8 torches, so that it'll count up by the second in binary fashion.
Yeah, that is what I mean by the double not gate trick. One of those acts like a not gate, so unless you mean to use a not gate, you have to use two at least, though they can be spread out.
EDIT: nvm, I needed to wait like 3 seconds longer :laugh.gif:
I need to learn more about Turing machines so I can build my own. :<
AND
ABC
000
010
100
111
OR
ABC
000
011
101
111
XOR
ABC
000
011
101
110
it does about 2 or 3 ticks a second (maybe 4)
A disco floor
This video shows my proof of concept disco floor. It should probably be done with materials other than dirt/grass.
At the time of this posting, it's still processing so looks pretty bad, but hopefully that will improve.
Edit: Also, FRAPS murdered my framerate, which didn't help. If you make your own, it looks a LOT better at a high framerate.
hm... i think we can make music with this...but i don't know how.
basicly it seems like it's range is extended, though it may just be a illusion as its going up a slope. not sure. but anyhow, onto the simple construction details. the first layer (the bottom layer) should look something like....
= redpowder
=.........
=air
:!: =output
:!:
while the second layer should look like...
=powertorch
viewtopic.php?f=35&t=16440#p291624
I've already made a more compact version. But there might be other ways to do it.
= Password Switch (I'll explain later)
= Block
= Light
:!: = Switch
[iron] = Air
= Wire
Door Base:
[iron]
[iron] door
[iron]
That's an AND gate.
Password Switch 1:
:!:
Password Switch 2:
:!:
On one of the edges, take off the switch. Extend it's distance back with the following circuitry, with the downward switch on the inside.
:!:
[iron] [iron]
:!:
Wall this off and make an enterance, placing blocks above all wires, and you can now close/lock it from the inside.