SA-MP Forums Archive
First Calculator of History - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: First Calculator of History (/showthread.php?tid=635683)



First Calculator of History - NealPeteros - 12.06.2017

How will you, if you put your feet in a coder's boots, not a scientist's, program the first calculator if given the chance?

Things to be notified on


Re: First Calculator of History - CheezIt - 12.06.2017

Looks like your homework.


Re: First Calculator of History - rjjj - 12.06.2017

Those kinds of things are still done using description languages such as VHDL and Verilog. Basically :



1 - Bitwise operations are combined to create the addition and subtraction operations.


2 - Memory logic (clocked) is used to create primitive loops through electrical feedback.


3 - Using the addition operation many times, one can make the multiplication. There is a similar relationship between the subtraction and the division.




I hope that I have helped .


Re: First Calculator of History - NealPeteros - 12.06.2017

Quote:
Originally Posted by CheezIt
Посмотреть сообщение
Looks like your homework.
It's the very question that occurs in my mind. Everytime. Like in every second of every minute of every hour.

Quote:
Originally Posted by rjjj
Посмотреть сообщение
Those kinds of things are still done using description languages such as VHDL and Verilog. Basically :



1 - Bitwise operations are combined to create the addition and subtraction operations.


2 - Memory logic (clocked) is used to create primitive loops through electrical feedback.


3 - Using the addition operation many times, one can make the multiplication. There is a similar relationship between the subtraction and the division.




I hope that I have helped .
You helped...really...my headache.....


Re: First Calculator of History - DRIFT_HUNTER - 12.06.2017

Quote:
Originally Posted by NealPeteros
Посмотреть сообщение
How will you, if you put your feet in a coder's boots, not a scientist's, program the first calculator if given the chance?

Things to be notified on
  • There are no increments. Increments were made after the first calculator was made.
  • There are no decrements. Decrements were made after the first calculator was made.
  • There are no multiplication/division formula. Made after the first calculator was made.
  • Loops are unavailable, it contains increments/decrements which were made after the first calculator was made
If we were put in coder's boots BEFORE first calculator has been made, we would be useless since there was no coding back then.

Anyway, you probably looking for https://en.wikipedia.org/wiki/Analytical_Engine


Re: First Calculator of History - ]Kurence[ - 12.06.2017

Check my tetris/snake games in logisim, there is even a download link and you can play with it yourself in the logisim circuit editor

https://*********/YCBa1NH4ORE

I have first made the cpu/gpu (with loops and inc/dec support ) with no code on it, then made a simple asm compiler that made HEX file from the inatructions and then loaded this file into ROM.

If this was real and first computer in history, then i would not be able to write the compiler on my laptop and I would have to input binary code directly into ROM / hardwire it somehow


Re: First Calculator of History - Mauzen - 12.06.2017

Simple addition/subtraction calculators can be made purley with hardware logic gates. There surely wasnt much programming involved.


Re: First Calculator of History - NealPeteros - 12.06.2017

ouch....my head....thanks tho, some of it made sense.