2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
5 Desc: Obtain and install a Quick Interrupt vector
10 /*****************************************************************************
14 AROS_LH1(ULONG, ObtainQuickVector,
17 AROS_LHA(APTR, interruptCode, A0),
20 struct ExecBase *, SysBase, 131, Exec)
38 *****************************************************************************/
40 #include "aros/m68k/asm.h"
45 .globl AROS_SLIB_ENTRY(ObtainQuickVector,Exec,131)
46 .type AROS_SLIB_ENTRY(ObtainQuickVector,Exec,131),@function
47 AROS_SLIB_ENTRY(ObtainQuickVector,Exec,131):
56 btst #0,%a6@(AttnFlags+1)
59 /* start from 0x200 downwards because we may
60 * have arosbootstrap fake exec above 0x200 */
65 move.l 0(%a1,%d0.w),%d1
67 move.l %a0,(%a1,%d0.w)