Hi, When looking at http://wiki.cc65.org/doku.php?id=cc65:interrupt_handlers_in_c and some dicussions here on the list I'm asking myself why we don't provide a generic interrpt wrapper as part of the C library? The wrapper would save/restore the zeropage memory area, save/restore the sp and switch to a new sp. It would call exactly one C function. Trying to use the registration function twice without prior unregistration would just fail. The base addr and size for the interrupt stack could be additional args to the registration function. Any reasons against this - beside the actual work, which I'd be willing to spend ? Regards, Oliver ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Tue Jan 17 16:29:29 2012
This archive was generated by hypermail 2.1.8 : 2012-01-17 16:29:33 CET