Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Logic Gates  (Read 903 times)

FearfulJesuit

  • Bay Watcher
  • True neoliberalism has never been tried
    • View Profile
Logic Gates
« on: October 22, 2010, 02:21:19 pm »

I want to build a dwarfputer- nothing particularly big, one that will add and subtract up to several thousand.
How could I build AND, XOR and OR gates using levers and mechanisms? I'm at a loss for plans, and I'm not exactly fond of fluid logic (tends to lead to Fun if you have too much fluid.)

Logged


@Footjob, you can microwave most grains I've tried pretty easily through the microwave, even if they aren't packaged for it.

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: Logic Gates
« Reply #1 on: October 22, 2010, 02:27:01 pm »

Take a look at the Computing article on the wiki - it should have most of the information you need. Note that you'll still need to deal with fluids in general (since there's no machine that sends an on/off signal depending on whether it is receiving mechanical power, something that'd be really nice to have).
« Last Edit: October 22, 2010, 02:32:52 pm by Quietust »
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

FearfulJesuit

  • Bay Watcher
  • True neoliberalism has never been tried
    • View Profile
Re: Logic Gates
« Reply #2 on: October 22, 2010, 02:44:47 pm »

Take a look at the Computing article on the wiki - it should have most of the information you need. Note that you'll still need to deal with fluids in general (since there's no machine that sends an on/off signal depending on whether it is receiving mechanical power, something that'd be really nice to have).

What about axles? They don't move when they're unpowered, but they do if they are.
Logged


@Footjob, you can microwave most grains I've tried pretty easily through the microwave, even if they aren't packaged for it.

FearfulJesuit

  • Bay Watcher
  • True neoliberalism has never been tried
    • View Profile
Re: Logic Gates
« Reply #3 on: October 22, 2010, 02:45:06 pm »

Take a look at the Computing article on the wiki - it should have most of the information you need. Note that you'll still need to deal with fluids in general (since there's no machine that sends an on/off signal depending on whether it is receiving mechanical power, something that'd be really nice to have).

What about axles or millstones?? They don't move when they're unpowered, but they do if they are.
Logged


@Footjob, you can microwave most grains I've tried pretty easily through the microwave, even if they aren't packaged for it.

Sphalerite

  • Bay Watcher
    • View Profile
    • Drew's Robots and stuff
Re: Logic Gates
« Reply #4 on: October 22, 2010, 02:51:32 pm »

What about axles? They don't move when they're unpowered, but they do if they are.
The problem is that in a computer you need some method by which you can connect the output of one logic gate to inputs of an arbitrary number of other logic gates.  In the case of mechanical computing, your gate inputs are linked connections to gear assemblies (or floodgates, hatches, and doors, but you want to avoid water).  You can connect the output of a mechanical logic gate to millstone or something, but there's no way to have the movement of the millstone then control a gear assembly elsewhere in the system.  To to that you need to use a pump and pressure plate, so that when the axle is turning water is pumped onto the pressure plate to trigger gear assemblies elsewhere in the system.
Logged
Any intelligent fool can make things bigger and more complex... It takes a touch of genius --- and a lot of courage to move in the opposite direction.