6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Nov 22, 2024 7:50 pm

All times are UTC




Post new topic Reply to topic  [ 39 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: A program for today
PostPosted: Tue Mar 15, 2016 4:22 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8505
Location: Midwestern USA
Did anyone notice that yesterday was pi day? I celebrated by having a slice of pie after dinner. :D

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
 Post subject: Re: A program for today
PostPosted: Tue Mar 15, 2016 5:09 pm 
Offline

Joined: Mon Oct 19, 2015 7:04 am
Posts: 68
Location: France
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: A program for today
PostPosted: Tue Mar 15, 2016 5:14 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10985
Location: England
Oh, that's good - how many digits did you do?
There's a nice related thread over at viewtopic.php?f=2&t=2239


Top
 Profile  
Reply with quote  
 Post subject: Re: A program for today
PostPosted: Tue Mar 15, 2016 5:48 pm 
Offline

Joined: Mon Oct 19, 2015 7:04 am
Posts: 68
Location: France
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).


Top
 Profile  
Reply with quote  
 Post subject: Re: A program for today
PostPosted: Tue Mar 15, 2016 6:15 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10985
Location: England
This sounds very good - perhaps you could start a new thread? With a photo??


Top
 Profile  
Reply with quote  
 Post subject: Re: A program for today
PostPosted: Tue Mar 15, 2016 8:35 pm 
Offline

Joined: Mon Oct 19, 2015 7:04 am
Posts: 68
Location: France
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: A program for today
PostPosted: Tue Mar 15, 2016 8:45 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10985
Location: England
(Replied by PM)

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


Last edited by BigEd on Sun Jul 17, 2016 2:27 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: A program for today
PostPosted: Wed Mar 16, 2016 2:44 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8505
Location: Midwestern USA
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:

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
 Post subject: Re: A program for today
PostPosted: Mon Jul 25, 2016 10:43 am 
Offline

Joined: Sat Jul 09, 2016 6:01 pm
Posts: 180
Is it worth to make 6502 entry in https://rosettacode.org/wiki/Pi?

_________________
my blog about processors


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 39 posts ]  Go to page Previous  1, 2, 3

All times are UTC


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: