Would like some clairty regarding ASOT_INTERRUPT node type

This forum is for general developer support questions.

Would like some clairty regarding ASOT_INTERRUPT node type

Postby Hypex » Mon Jun 25, 2018 3:09 pm

Hi guys.

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
User avatar
Hypex
Beta Tester
Beta Tester
 
Posts: 382
Joined: Mon Dec 20, 2010 3:23 pm
Location: Vic. Australia.

Return to General Developer Support

Who is online

Users browsing this forum: No registered users and 1 guest