Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
So he thought for a moment, and implemented the Newton-Raphson iterative algorithm, in Z80, off the top of his head
It wasn't fast enough (took about ten frames or something), so I spent an hour or two digging through old copies of Personal Computer World that evening, and found what I vaguely remembered reading some years before - a super-fast Z80 integer square root function.
I was a very happy bunny when I twigged that instead of calculating the sine and cosine of angles, I could have a simple lookup array [0..90] and use that with integer degree angles.
It's good enough for plotting curves on a monitor. Or was, for whatever it was I was writing at the time in 1984. (Which ran on a terminal on a DMS HiNet network.)
I was a very happy bunny when I twigged that instead of calculating the sine and cosine of angles, I could have a simple lookup array [0..90] and use that with integer degree angles.
It's good enough for plotting curves on a monitor. Or was, for whatever it was I was writing at the time in 1984. (Which ran on a terminal on a DMS HiNet network.)
OMG I thought I was old!!!!!
I was only 14 then...
Hi everyone
Eeyore was very glad to be able to stop thinking for a little, in order to say "How do you do" in a gloomy manner to Pooh.
"And how are you?" said Winnie-the-Pooh.
Eeyore shook his head from side to side. "Not very how," he said. "I don't seem to felt at all how for a long time."
Eeyore was very glad to be able to stop thinking for a little, in order to say "How do you do" in a gloomy manner to Pooh.
"And how are you?" said Winnie-the-Pooh.
Eeyore shook his head from side to side. "Not very how," he said. "I don't seem to felt at all how for a long time."
Comment