static void start(BASEPAGE *bp) { long shrinklen; _base = bp; shrinklen = bp->p_tlen + bp->p_dlen + bp->p_blen + STACK + 0x100; if (bp->p_lowtpa + shrinklen <= bp->p_hitpa) { static char null[1] = {""}; static char *argv[2] = {null, NULL}; extern __builtin_putreg P_((int, long)); /* totally bogus */ __builtin_putreg(15, bp->p_lowtpa + shrinklen); Mshrink((void *)bp->p_lowtpa, shrinklen); main(1, argv); } Pterm(ENSMEM); }
LONG __saveds __asm LIBRexxEntry(register __a0 struct RexxMsg *mess,register __a6 struct NiKomBase *NiKomBase) { if(!stricmp(mess->rm_Args[0],"MATRIX2NIKOM")) LIBMatrix2NiKom(NiKomBase); else return(1); __builtin_putreg(REG_A1,NULL); return(0); }