home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Developer CD 2.1
/
Amiga Developer CD v2.1.iso
/
Reference
/
DevCon
/
Atlanta_1990
/
Atlanta-Devcon.1
/
Libraries
/
Intuition
/
boopsi
/
hookface.asm
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Assembly Source File
|
1992-08-26
|
310 b
|
22 lines
* $Id: $
INCLUDE 'exec/types.i'
INCLUDE 'utility/hooks.i'
xdef _hookEntry
xdef _stubReturn
* entry interface for C code (large-code, stack parameters)
_hookEntry:
move.l a1,-(sp)
move.l a2,-(sp)
move.l a0,-(sp)
move.l h_SubEntry(a0),a0 ; C entry point
jsr (a0)
lea 12(sp),sp
_stubReturn:
rts