I've been reviewing some of my old code and code of others installing an interrupt in the system. It uses the proper method of using AllocSysObjectTags() with an ASOT_INTERRUPT type. However, I noticed there is a tendency to set the interrupt node type to NT_EXTINTERRUPT. Was this ever necessary? With earlier kernel version even? Given this is an OS4 only function it doesn't make sense that it would return a 68K NT_INTERRUPT rather than a PPC native NT_EXTINTERRUPT type.
The following example uses same technique cleanly without modifying the Interrupt structure returned. I would prefer the cleaner approach. It is a software interrupt but running native code in the interrupt routine obviously.
http://wiki.amigaos.net/wiki/Exec_Inter ... Interrupts
This forum is for general developer support questions.
1 post • Page 1 of 1