Re: [cc65] Re: floating point support redux

From: <silverdr1wfmh.org.pl>
Date: 2010-04-28 18:03:16
On 2010-04-27, at 23:18, Ullrich von Bassewitz wrote:

>> every floating point format must be supported by both the target AND the host
>> (the compiler), so while using the kernal float routines for cbm targets might
>> sound like a good idea at first, it also means writing (and maintaining) a
>> floating point implementation with the exact same properties on the host. now
>> multiply that with the number of targets. its much easier to write one
>> emulator that can deal with the format used on all hosts.
> 
> Correct. And: There are platforms that don't have floating point in ROM. For
> these platforms a 6502 floating point library has to be written anyway. So
> using ROM routines won't even save this work.

Direct using of ROM routines is not a viable option but what would make more sense could be a "reimplementation based on the concepts" found in the best (definition of "best" to be defined :-) out of the available ROM (or external) implementations. Of course some targets might not be able to use it due to memory constraints, but this is secondary. Many would benefit from it.

-- 
SD!

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Apr 28 18:03:26 2010

This archive was generated by hypermail 2.1.8 : 2010-04-28 18:03:29 CEST