v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Editing v0.31:Mechanical logic

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.

You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "v0.31"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 260: Line 260:
 
[#000].[#000].[#ff0]O[#aaf]I
 
[#000].[#000].[#ff0]O[#aaf]I
 
[#000].[#000].¦
 
[#000].[#000].¦
[#0f0]P[#aaf]-*
+
[#0f0]P[#aaf]-*[#aaf]i-[#0f0]P
[#000].[#000].[#aaf]i
 
 
[#000].[#000].[#aaf]i
 
[#000].[#000].[#aaf]i
 +
[#000].[#000].¦
 
[#000].[#000].[#0f0]P}}
 
[#000].[#000].[#0f0]P}}
  
Line 285: Line 285:
 
| Yes
 
| Yes
 
| Yes
 
| Yes
| No
+
| Half
 
| 0
 
| 0
 
|-
 
|-
Line 292: Line 292:
 
| Yes
 
| Yes
 
| Yes
 
| Yes
| No
+
| Half
 
| 0
 
| 0
 
|-
 
|-
Line 299: Line 299:
 
| Yes
 
| Yes
 
| Yes
 
| Yes
| Yes
+
| Full
 
| 1
 
| 1
 
|}  
 
|}  
Line 305: Line 305:
 
* The XNOR gate is an equality gate: The output is ON when both inputs are equal, and OFF when they are not equal.
 
* The XNOR gate is an equality gate: The output is ON when both inputs are equal, and OFF when they are not equal.
 
* This gate may be '''even more complicated''' to build than the XOR gate!
 
* This gate may be '''even more complicated''' to build than the XOR gate!
* First, your 'i's are again gears connected to your two inputs. The extra P below them is additional power source, ideally only one windmill.
+
* First, your 'i's are again gears connected to your two inputs. The two extra Ps to the right and below them are additional power sources, ideally only one windmill each.
* Here's where it gets complicated. The load has to be sufficient to shut down the system when additional power supply is disconnected. However, when BOTH inputs are on, there needs to be enough power from additional P to bring the system back online.
+
* Here's where it gets complicated. The load has to be sufficient to shut down the system even when ONE of the inputs' additional power supplies are connected. However, when BOTH inputs are on, there needs to be enough power from both additional Ps to bring the system back online.
 
* Thus our gate does what it is supposed to: Produce enough power to have the OUTPUT gear be ON when both A and B are either 0 or 1, but not when they are not equal.
 
* Thus our gate does what it is supposed to: Produce enough power to have the OUTPUT gear be ON when both A and B are either 0 or 1, but not when they are not equal.
  
 
{{Category|Computing}}
 
{{Category|Computing}}

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)