From: groepaz (groepaz_at_gmx.net)
Date: 2001-09-30 19:12:05
Hello Daniel, Sunday, September 30, 2001, 6:50:08 PM, you wrote: DB> Hello anyone! DB> I've tried to use a timer interrupt to check the joysticks and update DB> some structs and sprites. (on the c64, or well, vice) Unfortunately, as DB> soon as I try to use any not totally trivial functions in my (probably DB> wrongly set up) interrupt handler the program crashes or goes weird. I DB> haven't found any mentions of how to do interrupts in C or cc65 and no DB> good examples anywhere. It would be nice if someone could tell me or DB> point me to the correct cc65 way of doing this. calling a C-function from within an interupt won't work with the current implementation of the runtime library.... to support this it would require to enclose a whole bunch of stack-related routines in sei/cli i guess... UZ should know better though ;=P -- Best regards, groepaz mailto:groepaz_at_gmx.net ---------------------------------------------------------------------- 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 : 2001-12-14 22:05:42 CET