ftp.nice.ch/pub/next/developer/languages/lisp/AKCL.1.599.s.tar.gz#/akcl-1-599/h/NeXT.h

This is NeXT.h in view mode; [Download] [Up]

#define NeXT 1
#include "bsd.h"
#undef SET_REAL_MAXPAGE

#define SET_REAL_MAXPAGE \
{ extern int mach_maplimit; sbrk(0); real_maxpage = mach_maplimit/PAGESIZE; }

#define sbrk my_sbrk

#define ADDITIONAL_FEATURES \
		     ADD_FEATURE("NeXT"); \
      	     ADD_FEATURE("MC68040")

#define	SFASL
/* #define UNIXFASL	"faslNeXT.c" */
#define RELOC_FILE "rel_sun3.c"
#define CLEAR_CACHE	asm("trap #2");
#define UNIXSAVE	"unixsaveNeXT.c"

#define SEEK_TO_END_OFILE seek_to_end_ofile

#define USE_C_EXTENDED_MUL
#define USE_C_EXTENDED_DIV

#define	MC68040
#define	IEEEFLOAT

#ifndef m68000
#define m68000
#endif

#define PAGSIZ 0x2000
#define SEGSIZ 0x20000

#define N_PAGSIZ(x) (PAGSIZ)
#define N_SEGSIZ(x) (SEGSIZ)

#define N_TXTADDR(x)  (((x).a_magic==OMAGIC) ? 0 : N_PAGSIZ(x))

#define N_DATADDR(x) \
	(((x).a_magic==OMAGIC)? (N_TXTADDR(x)+(x).a_text) \
	: (N_SEGSIZ(x)+((N_TXTADDR(x)+(x).a_text-1) & ~(N_SEGSIZ(x)-1))))

#define N_BSSADDR(x)  (N_DATADDR(x)+(x).a_data)

#define SEGMENT_MASK (SEGSIZ - 1)

#define A_TEXT_OFFSET(HDR) sizeof (HDR)

#define DATA_BEGIN (char *)N_DATADDR(header)

/* Begin for cmpinclude */

#define HAVE_ALLOCA

/* End for cmpinclude */


These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.