On Wed, 29 Sep 2004, Groepaz wrote: > On Wednesday 29 September 2004 17:23, Karri Kaksonen wrote: > > While I was looking for some 65C02 specs I stubled on an article > > about a floating point implementation for the 6502 at: > > http://www.6502.org/source/ > > wozniacs one? :) Yes. But I assume that it is more fun to implement it from scratch :). Currently I stick to my fixed point format for my Stardreamer 3D calculations based on the Atari Lynx special math hardware. The hardware can do a 32 bit "+ a * b" in a single operation leaving the CPU free to prepare the next stage. The Lynx has another special hardware accelerated function called: "Qbert Root As a compromise between the square root and qube root desires of the software people, and the schedule desires of the management, we have decided to incorporate the function of QbertRoot. The required steps are: Start a 16 by 16 multiply. Immediately write to 'E' which will try to start a divide. Read the result from 'D,C,B,A'." Does anyone have a clue of what the qubert root does? The math registers in a Lynx are: (each letter is one byte) AB EFGH * CD / NP EFGH ABCD Accumulate in JKLM Remainder in (JK)LM -- Cheers, Karri ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Thu Sep 30 08:37:18 2004
This archive was generated by hypermail 2.1.8 : 2004-09-30 08:37:27 CEST