Published Apr 5th, 2020, 4/5/20 4:52 pm
- 44,701 views, 15 today
- 9,071 downloads, 3 today
388
Hey, so I built an 8-bit calculator in minecraft. This has been a project of mine for quite some time, and I finally got it finished.
Using only redstone, repeaters, torches, comparators, and pistons, this calculator can add, subtract, multiply, or divide two 8-bit numbers (0-255). Division will give you two digits past the decimal point of accuracy.
How the hell is this possible: (gibberish warning)
For the user's input, I used a binary encoder to convert each digit to BCD. The BCD is then sent to the display, and to two 8-bit BCD to binary converters. The operation the user picks determines where they are sent to next. Addition sends them to the binary adder, subtraction sends them to the binary subtractor, etc. Once the calculation is done, the binary result is sent to a 16-bit binary to BCD converter. Finally, each BCD digit is decoded for its seven segment display.
Join my discord!
Using only redstone, repeaters, torches, comparators, and pistons, this calculator can add, subtract, multiply, or divide two 8-bit numbers (0-255). Division will give you two digits past the decimal point of accuracy.
How the hell is this possible: (gibberish warning)
For the user's input, I used a binary encoder to convert each digit to BCD. The BCD is then sent to the display, and to two 8-bit BCD to binary converters. The operation the user picks determines where they are sent to next. Addition sends them to the binary adder, subtraction sends them to the binary subtractor, etc. Once the calculation is done, the binary result is sent to a 16-bit binary to BCD converter. Finally, each BCD digit is decoded for its seven segment display.
Join my discord!
Progress | 100% complete |
Tags |
tools/tracking
4537773
2
8-bit-redstone-calculator-4537773
Create an account or sign in to comment.
Nice touch!
My computer is a bit weak so the game is a bit laggy but map is very big and fun
★★★★★
4/5 would do illegal mathematical functions with again