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.

User:Gregorah

From Dwarf Fortress Wiki
Jump to navigation Jump to search

Mechanical Pull-up Pull-down logic[edit]

Basically written because the Mechanical logic page is infeasible for large projects. I propose a new method.

All logic, when using a mechanical logic system, should be implemented with positive logic. This means heavy use of logic equivalences to get a complicated formula into a simple one.

Note that all of these are on-by-default. We're assuming that a lever's default state is 'OFF' so use of these results in on-by-default.

NAND Logic: NAND is implemented by putting gear assemblies linked to the inputs in series:

 =ab=

NOR Logic: NOR is implemented by putting gear assemblies linked to the inputs in parallel:

 =*a*=
  *b*

XNOR Logic: XNOR is implemented by putting gear assemblies all linked to one lever.

 =*=

TODO: Link them together. Give Examples. Show where the 'PUN/PDN' comes in.