home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD2.bin
/
bbs
/
gnu
/
libnix-0.7-src.lha
/
libnix-0.7
/
sources
/
amiga
/
gadtools
/
creategadget.S
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1994-08-27
|
200 b
|
18 lines
#include <bases.h>
.text
.globl _CreateGadget
_CreateGadget:
movel a6,sp@-
movel a2,sp@-
GETGADBASE
lea sp@(12:W),a2
moveml a2@+,d0/a0/a1
jsr a6@(-30:W)
movel sp@+,a2
movel sp@+,a6
rts