From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2002-05-21 19:05:12
Hi! On Tue, May 21, 2002 at 06:21:25PM +0200, groepaz wrote: > yeah ofcoz.... i found it nice to have a simple interface for hooking > up different asm-routines though....my handler does all the work of > decoding what the source of the interupt was that is,so you can hook > irqs like > > irq_install(&vblank_handler,IRQ_RASTER,0xf8); or > irq_install(&timer_routine,IRQ_TIMERA,0x2000); or whatever :O) If we can bring this into a shape where it works across all target system, that would ok for me. > uhmz... dont have the actual file handy atm (not at home) but its got > everything that is available in the kernal: Bad word: kernal :-) Remember: cc65 is not C64 only. I know that it seems wasteful to add extra floating point routines if there is already something like that in the (C64-) kernal, but there are other platforms that don't have floating point support in a ROM. There may also be platforms that have a different floating point format/interface. For example, how do you expect printf to work consistent, if some kernal function is called for float -> string conversion? And, if you decide to code this separately, how do you deal with different floating point formats? And at least, there's a good chance that the kernal routines will not work like expected by the C standard. Regards Uz -- Ullrich von Bassewitz uz_at_musoftware.de ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2002-05-21 19:05:14 CEST