Page 3 of 3

Re: A program for today

Posted: Tue Mar 15, 2016 4:22 pm
by BigDumbDinosaur
Did anyone notice that yesterday was pi day? I celebrated by having a slice of pie after dinner. :D

Re: A program for today

Posted: Tue Mar 15, 2016 5:09 pm
by calculi
Yes ;-)
I celebrated by launching a computation of digits of Pi, on my (homemade 65C02-based) desktop calculator -still going strong after more than 3000 hours of service.

Re: A program for today

Posted: Tue Mar 15, 2016 5:14 pm
by BigEd
Oh, that's good - how many digits did you do?
There's a nice related thread over at viewtopic.php?f=2&t=2239

Re: A program for today

Posted: Tue Mar 15, 2016 5:48 pm
by calculi
I launched a 5,000-digit computation, with a program which I'm almost sure isn't the best one in terms of speed. I found it here* :
http://serge.mehl.free.fr/anx/pi1000_basic.html (computation of digits of e is on the same site)
and translated it for my RPN machine. It will run for approximately 80 hours. My machine's average execution rate is around 2,000 RPN instructions per second, when using only simple arithmetic. The longest computation I could launch is 13,930 digits, for an estimated duration of 28 days. (already did a successful 16-day computation of 15,928 digits of e)

I had noticed the thread you mention, I archived the documents for a later study :-)

*last year I ran the e computation on EhBASIC, when my calculator firmware still didn't exist : 30,000 digits in 2 months (1-MHz clock rate, compared to the current 6-MHz one).

Re: A program for today

Posted: Tue Mar 15, 2016 6:15 pm
by BigEd
This sounds very good - perhaps you could start a new thread? With a photo??

Re: A program for today

Posted: Tue Mar 15, 2016 8:35 pm
by calculi
Thank you BigEd,

...but my machine isn't photogenic at all, it's rather an "Emmett Brown's" prototype ! I didn't have time to custom-build a case (used a very basic Teko one) neither did I find the keys I'd like to use. For more than a year I've been looking for a keyboard with big keys, and translucent keycaps like the ones used some years ago on cash registers. No way... Instead I used 2 20-key Grayhill keypads. (looks like a "double-Digicode" !!) I focused much more on software and performance.

Anyway, since you find it interesting (thanks again) I'll take some time to write a little technical description, with some photos ;-) which I'll post within one or two days.

BTW : should I post that in the "hardware" or "programming" section ? I'd think the latter will be more pertinent, but I may be wrong.

Re: A program for today

Posted: Tue Mar 15, 2016 8:45 pm
by BigEd
(Replied by PM)

Edit: see this thread for the photogenic verdict:
viewtopic.php?f=2&t=3639

Re: A program for today

Posted: Wed Mar 16, 2016 2:44 am
by BigDumbDinosaur
calculi wrote:
Yes ;-)
I celebrated by launching a computation of digits of Pi, on my (homemade 65C02-based) desktop calculator -still going strong after more than 3000 hours of service.
At first I thought you meant the computation had taken 3000 hours. :shock:

Re: A program for today

Posted: Mon Jul 25, 2016 10:43 am
by litwr
Is it worth to make 6502 entry in https://rosettacode.org/wiki/Pi?