Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

< jaybonci> actually d-i stands for "divine intervention" ;) -- in #debian-devel


computers / comp.misc / Ken Shirriff on Clive Sinclair's passing

SubjectAuthor
o Ken Shirriff on Clive Sinclair's passingEli the Bearded

1
Ken Shirriff on Clive Sinclair's passing

<eli$2109171505@qaz.wtf>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1168&group=comp.misc#1168

  copy link   Newsgroups: comp.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix5.panix.com!qz!not-for-mail
From: *@eli.users.panix.com (Eli the Bearded)
Newsgroups: comp.misc
Subject: Ken Shirriff on Clive Sinclair's passing
Date: Fri, 17 Sep 2021 19:08:38 -0000 (UTC)
Organization: Some absurd concept
Message-ID: <eli$2109171505@qaz.wtf>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Date: Fri, 17 Sep 2021 19:08:38 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="panix5.panix.com:166.84.1.5";
logging-data="5127"; mail-complaints-to="abuse@panix.com"
User-Agent: Vectrex rn 2.1 (beta)
X-Liz: It's actually happened, the entire Internet is a massive game of Redcode
X-Motto: "Erosion of rights never seems to reverse itself." -- kenny@panix
X-US-Congress: Moronic Fucks.
X-Attribution: EtB
XFrom: is a real address
Encrypted: double rot-13
 by: Eli the Bearded - Fri, 17 Sep 2021 19:08 UTC

Ken Shirriff's reverse engineering of chips has been discussed here
before. This particular exercise is not recent, but is now timely
with the passing of Clive Sinclair this week.

Most of these have one or more images, view on twitter to see them.

https://twitter.com/kenshirriff/status/1438660221493153792
Sir Clive Sinclair, the English entrepreneur responsible for
computers such as the ZX81, has passed away. One of his most
interesting products was the budget Sinclair Scientific calculator
(1974). I wrote a simulator that runs the calculator's actual code.

The Sinclair Scientific calculator was an amazing hack, repurposing a
4-function calculator chip with 320 words of code to implement trig
and logs. My favorite part is the constants like π and e printed on
the case since there wasn't room in ROM to hold them.

I reverse-engineered the calculator chip from Visual6502 and
@johndmcmaster's photos, reading out the bits of the code that
implemented the operations. From this, I reverse-engineered what
the code was doing.
https://siliconpr0n.org/archive/doku.php?id=mcmaster:ti:tmc0805nc

The secret to the calculator's compact code was that the algorithms
were very slow and inaccurate. For example, trig worked by rotating a
vector by .001 radians until the proper angle was achieved. The
larger the angle, the slower the operation.
A diagram showing a vector on a circle, rotated through an angle,
yielding cos and sin coordinates.

Log and exponentiation used another trick, basing them on powers of
.99. This is efficient since X*.99=X-X/100; dividing by 100 is just a
shift on a decimal calculator. Again, this was slow and inaccurate,
but used very little code.

At a time when the HP-35 calculator sold for $395, the Sinclair
Scientific originally sold for under $120, and a £9.95 kit by the end
of the year. Despite being very slow and inaccurate, the calculator
was hugely popular. But at those prices, Sinclair Radionics collapsed
by 1979.

The calculator was built around Texas Instruments' TMS0805 chip. This
strange chip had 11-bit customizable opcodes so I had to
reverse-engineer the instruction set too, helped by the patent.
More details at my simulator page: https://righto.com/ti

The calculator chip patent contained a chip schematic, inconveniently
chopped into many pages. I made the schematic below by tediously
pasting them back together.

That's the story of how Sinclair and team took a calculator chip with
just 320 words of ROM that could barely support 4-function
arithmetic, and amazingly crammed trig, log, and exp into it to make
a budget scientific calculator.
For more: https://righto.com/sinclair

Elijah
------
Sir Clive's daughter has said Clive preferred a slide rule

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor