Reverse-engineering and simulating Sinclair's amazing 1974 calculator with half the ROM of the HP-35

I've reverse-engineered the Sinclair Scientific calculator. The remarkable thing about this calculator is they took a simple 4-function calculator chip and reprogrammed its 320-instruction ROM to be a full scientific calculator. By looking at the chip, I've extracted the original code, reverse-engineered how it works, and written a JavaScript simulator that runs the original code and shows what the calculator is doing internally.

The simulator is at righto.com/sinclair. My earlier TI calculator simulator is at righto.com/ti. (The image above is courtesy of Hackaday.)

3 comments:

Anonymous said...

Just in case you do not already have it:

http://www.wass.net/manuals/Sinclair%20Scientific%20Assembly.pdf

http://www.wass.net/manuals/Sinclair%20Scientific%20Operating.pdf

Ken Shirriff said...

My favorite part of the manuals is that they have the 1,2,3 keys arranged backwards in the drawings.

Di Stefano Mario said...

Ciao Ken!
This calculator has been my dram in my childhood for long years, but for a ton of reasons I never have had the opportunity to put my hands on it...
I think you just did a *FANTASTIC JOB* Ken.
I re-read the whole page, and the simulator you kindly posted ket me touch the dream of having that calculator within my grasps... an unbelievable opportunity for me... Thanks!
A hint: why not put a nice blue-violet background to the display, instead of black?
Also digit lenses could be simulated a bit...
Of course these are only cosmetic changes... nothing to do with the real ard work you did!!!
Thanks!!!!