From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2002-05-21 16:34:00
Hi! On Tue, May 21, 2002 at 03:43:21PM +0200, groepaz wrote: > > i've done a little library function for myself that can hook an > interupt-handler (supporting handlers written in assembly only atm - i > see no use in doing them in C) Hooking asm handlers is rather easy, because not much has to be done. Hooking interrupt handlers in C need more work, because the zero page has to be saved and the stack has to be switched. The break handler used for the debugger interface does most of this, so it would be a good starting point. > btw whats the deal to get floats supported in cc65? The old parser is quite ugly, and adding floats would certainly not help with this:-) It is certainly doable, but will double the code for several of the operators and make the code generator larger. C defines quite some automatic conversions, so there has to be code for that also. Maybe you can send me the interface (not the actual code) for your floating point routines, so I can check if all required routines are there. There wouldn't be instant support for floats, but evaluating the library would be a first step. 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 16:34:09 CEST