Author
| Wanted *beta testers*
|
ARTRAG msx guru Posts: 2175 | Posted: January 20 2010, 21:53   |
IIRC
they told they want to present the game to the passion msx contest.
I'm sure sooner or later they will show the rom.
Moam has eternal delays, but never the less it is still under development
|
|
wolf_
 msx legend Posts: 5166 | Posted: January 20 2010, 23:35   |
Quote:
| *PS* How long it should take until some HUMBLE z80 coder copy & paste here some nice z80 asm code that calculates pi digits? 
|
Simple!
1) Measure the area of a disc
2) start up an assembler, and divide the area by the squared radius of the disc!
3) result = PI
(not sure about the amount of floating point digits you get, but what the heck  ) |
|
ARTRAG msx guru Posts: 2175 | Posted: January 21 2010, 08:46   |
hummm
the area need some Eulero formula... it cannot expand the digits easily
a better way is this
http://en.wikipedia.org/wiki/Buffon%27s_needle
once you implement the hitting code you can run it as many times as you like
In the end the result comes from one single division between the number of tries and teh number of hits
If you need 100 digits you have to implement one single 100 digit division
|
|
ARTRAG msx guru Posts: 2175 | Posted: January 21 2010, 08:47   |
If you do not want a method with variable precision, this is a good way
db "3,1415926535897932384626433832795"
;P |
|
Leo msx professional Posts: 759 | Posted: January 21 2010, 13:39   |
There is a debate over who "invented" or found PI , because before greeks , ancientegyptian were using the 22/7 ratio , which is fairly a good approx.
|
|
konamiman msx freak Posts: 236 | Posted: January 21 2010, 13:55   |
Quote:
| *PS* How long it should take until some HUMBLE z80 coder copy & paste here some nice z80 asm code that calculates pi digits? 
|
Z80 asm? Why? BASIC is enough for that:
PRINT ATN(1)*4
Please send me the math nobel prize by email. Thanks.  |
|
bore msx novice Posts: 18 | Posted: January 21 2010, 14:46   |
There is no nobel prize for math...
|
|
FiXato msx addict Posts: 454 | Posted: January 21 2010, 14:47   |
Just a Nobel prize for War Peace
I still wonder if poor Alfred would be proud of the latest awards.. |
|
ARTRAG msx guru Posts: 2175 | Posted: January 21 2010, 15:37   |
Quote:
| Quote:
| *PS* How long it should take until some HUMBLE z80 coder copy & paste here some nice z80 asm code that calculates pi digits? 
|
Z80 asm? Why? BASIC is enough for that:
PRINT ATN(1)*4
Please send me the math nobel prize by email. Thanks. 
|
hummm
My solution can have more digits than basic variables (just rip off them from some table)
:-)
anyway this is another way to approx PI: do 355/113
it is a very accurate value, differing from PI by no more than 3×10−7
;-)
|
|
NYYRIKKI msx master Posts: 1774 | Posted: January 22 2010, 03:21   |
|
|
RibbSayan msx novice Posts: 23 | Posted: January 22 2010, 16:52   |
PI Calculation is very interesting (no joke) but I post back my question :
Do you release your tools ? Because, I'm VERY interested on this...
|
|
|
|
|