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.

Difference between revisions of "User:BaronW"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
Line 30: Line 30:
 
[[File:100101001(297)+1011001100(716)=1111110101(1013).PNG]]
 
[[File:100101001(297)+1011001100(716)=1111110101(1013).PNG]]
  
'''Subtraction''' is now working although don't plan these things an 3 in the morning it leads to things being unnecessary complicated.
+
'''Subtraction''' is now working although don't plan these things at 3 in the morning it leads to things being unnecessary complicated.
 
Here is 1010101010(682)-1100101011(811)=-10000001(-129)
 
Here is 1010101010(682)-1100101011(811)=-10000001(-129)
  
 
[[File:1010101010(682)-1100101011(811)=-10000001(-129).PNG]]
 
[[File:1010101010(682)-1100101011(811)=-10000001(-129).PNG]]

Revision as of 00:19, 14 November 2009

The Mighty Dwarven Calculator

In my current fort I am attempting to create a fully functional calculator capable of addition, subtraction, multiplication and division. I hope this calculator will eventually work in base ten and be able to handle inputs up to 999.

Things to do.

Addition engine

Subtraction engine

Multiplication engine

Division engine

Binary Decimal conversion engine

Comleted Work

Binary control house

Here is a picture of the binary control house numbers are displayed in binary as rotating and not rotating gear assemblies. You select the inputs in the top right (currently set to zero). You then select the function and pull the equals leaver. The result will then be showed on the answer line. The red gear assembly is to indicate a positive or negative number (rotating for negative).

Control house.PNG

Addition is working perfectly below is a picture of the addition engine.

Addition.PNG

And here is the Control house showing that 100101001(297)+1011001100(716)=1111110101(1013)

100101001(297)+1011001100(716)=1111110101(1013).PNG

Subtraction is now working although don't plan these things at 3 in the morning it leads to things being unnecessary complicated. Here is 1010101010(682)-1100101011(811)=-10000001(-129)

1010101010(682)-1100101011(811)=-10000001(-129).PNG