home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GEMini Atari
/
GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso
/
zip
/
mint
/
mntutl95.lzh
/
MNTUTL95
/
BOOTGEM.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-08-03
|
389b
|
28 lines
#include <osbind.h>
#include <minimal.h>
#include <basepage.h>
typedef void (*VOIDFUNC)();
VOIDFUNC gemaddr;
long _stksize = 4*1024L;
void
getgem()
{
long ssp;
ssp = Super(0L);
gemaddr = *( (VOIDFUNC *) 0x4fe );
Super(ssp);
}
main()
{
/* get the GEM entry point... */
getgem();
/* and jump to it; we'd better not ever return! */
(*gemaddr)(_base);
}