A program for today
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: A program for today
Did anyone notice that yesterday was pi day? I celebrated by having a slice of pie after dinner. 
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: A program for today
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.
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
Oh, that's good - how many digits did you do?
There's a nice related thread over at viewtopic.php?f=2&t=2239
There's a nice related thread over at viewtopic.php?f=2&t=2239
Re: A program for today
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).
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
This sounds very good - perhaps you could start a new thread? With a photo??
Re: A program for today
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.
...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
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
Last edited by BigEd on Sun Jul 17, 2016 2:27 pm, edited 1 time in total.
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: A program for today
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.
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.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: A program for today
Is it worth to make 6502 entry in https://rosettacode.org/wiki/Pi?