home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 1
/
GoldFishApril1994_CD1.img
/
d1xx
/
d105
/
ipo2c
/
handlerinterface.asm
< prev
next >
Wrap
Assembly Source File
|
1987-10-25
|
723b
|
25 lines
*************************************************************************
* HandlerInterface()
*
* This code is needed to convert the calling sequence performed by
* the input.task for the input stream management into something
* that a C program can understand.
*
* This routine expects a pointer to an InputEvent in A0, a pointer
* to a data area in A1. These values are transferred to the stack
* in the order that a C program would need to find them. Since the
* actual handler is written in C, this works out fine.
XREF _InputHandler
XDEF _HandlerInterface
_HandlerInterface:
MOVEM.L A0/A1,-(A7)
JSR _InputHandler
ADDQ.L #8,A7
RTS
END