From: Daniel Berntsson (danbe628_at_student.liu.se)
Date: 2001-09-30 18:50:08
Hello anyone! I've tried to use a timer interrupt to check the joysticks and update some structs and sprites. (on the c64, or well, vice) Unfortunately, as soon as I try to use any not totally trivial functions in my (probably wrongly set up) interrupt handler the program crashes or goes weird. I haven't found any mentions of how to do interrupts in C or cc65 and no good examples anywhere. It would be nice if someone could tell me or point me to the correct cc65 way of doing this. And another thing; When the brk_handler function returns, it returns to the BRK instruction and not the next one. So it will be called again and again and.. Is this really how it is supposed to be? / Daniel Berntsson ---------------------------------------------------------------------- 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