On Tue, Apr 27, 2010 at 11:18:57PM +0200, 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. Also what's up if someone want to use all-RAM memory model (like on C64) and program compiled with cc65 needs in-ROM floating point routines? It can be understood and realized easily that I/O routines can require ROM to be paged in, but it can be "odd" that even a simple usage of a float needs memory mapping, so this whole floating point support must be handled with care, I think. ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Sun May 9 12:49:50 2010
This archive was generated by hypermail 2.1.8 : 2010-05-09 12:49:53 CEST