// OsMain.Bj -- exported statics from 'main' part of OS
// Copyright Xerox Corporation 1979
// Last modified November 17, 1980  4:46 PM by Boggs
// Highest index used: 301, no holes

	173550	// = (staticStart+staticLength)-(highestIndex+1)
		// = (173336+514)-(301+1)

// These objects are in the OS stack below levMain and above user programs:
	sysFont			1	V
	dsp			2	V
	sysZone			221	V

// levMain
	CallSubsys		0	P	// CallSubsys knows this
	Wss			3	P
	Ws			4	P
	Wl			5	P
	Wns			6	P
	Wos			7	P
	Wo			10	P
	GetFixed		11	P
	FreeFixed		12	P
	FixedLeft		13	P
	SetEndCode		14	P
	Junta			15	P

// levDisplay
	CreateDisplayStream	23	P
	CharWidth		24	P
	ResetLine		25	P
	FontHeight		26	P
	ShowDisplayStream	27	P
	GetFont			30	P
	SetFont			31	P
	GetBitPos		32	P
	SetBitPos		33	P
	GetLmarg		34	P
	SetLmarg		35	P
	GetRmarg		36	P
	SetRmarg		37	P
	GetLinePos		40	P
	SetLinePos		41	P
	InvertLine		42	P
	Scroll			43	P
	EraseBits		44	P

// levKeyboard
	keys			45	V
	lvCursorLink		46	V
	SetKeyboardProc		47	P
	kbTransitionTable	301	V

// levDirectory
	FindFdEntry		50	P
	MakeNewFdEntry		51	P
	DeleteFdEntry		52	P
	SetWorkingDir		53	P
	StripVersion		54	P
	AppendVersion		55	P
	OpenFile		56	P
	OpenFileFromFp		57	P
	DeleteFile		60	P
	ParseFileName		155	P

	WriteDiskDescriptor	61	P
	ReadDiskDescriptor	226	P

// levScan
	InitScanStream		257	P
	GetScanStreamBuffer	260	P
	FinishScanStream	261	P

// levStreams
	InitializeFstream	62	P
	SetupFstream		63	P
	CurrentPos		64	P
	SetEof			65	P
	ItemSize		66	P
	Dirty			67	P
	SetDirty		70	P

	CreateDiskStream	71	P
	ReadLeaderPage		72	P
	WriteLeaderPage		73	P
	TruncateDiskStream	100	P
	KsBufferAddress		106	P
	KsSetBufferAddress	107	P
	ReleaseKs		147	P
	LnPageSize		152	P
	KsGetDisk		153	P
	KsHintLastPageFa	154	P

	CleanupDiskStream	75	P
	WriteBlock		76	P
	ReadBlock		77	P
	PositionPtr		102	P
	SetLengthHint		300	P

	PositionPage		101	P
	JumpToFa		103	P
	GetCurrentFa		104	P
	GetCompleteFa		105	P
	FilePos			110	P
	SetFilePos		111	P
	FileLength		112	P

	MakeLogEntry		74	P	// dummy - deimplemented
	LogOpen			223	P	// dummy - deimplemented
	LogClose		224	P	// dummy - deimplemented

// levAlloc
	InitializeZone		16	P
	AddToZone		17	P
	Allocate		20	P	// actually Call0
	Free			21	P	// actually Call1
	CheckZone		22	P

// levBFSwrite
	sysDisk			143	V
	diskKd			144	L

	Timer			141	P
	SetCalendar		227	P
	SetDayTime		140	P	// same as SetCalendar
	ReadCalendar		230	P
	DayTime			142	P	// same as ReadCalendar

	BFSWritePages		254	P
	BFSAssignDiskPage	255	P
	BFSSetStartingVDA	244	P	// dummy - deimplemented

	BFSReleaseDiskPage	251	P
	BFSCreateFile		252	P
	BFSDeletePages		253	P

	BFSClose		232	P
	BFSWriteDiskDescriptor	233	P

	BFSCreateDDMgr		234	P

// levBFSbase
	BFSVirtualDA		246	P
	BFSRealDA		247	P
	BfsInitializeCbStorage	145	P
	BfsDoDiskCommand	146	P
	BfsMakeFpFromLabel	156	P
	BfsGetCb		150	P
	BFSActOnPages		250	P
	BFSNonEx		245	P
	DefaultBfsErrorRtn	256	P

	Dvec			171	P
	DefaultArgs		172	P

	MoveBlock		173	P
	Zero			174	P
	SetBlock		175	P
	BitBlt			231	P
	Usc			176	P
	Min			262	P
	Max			263	P
	Umin			264	P
	Umax			265	P
	DoubleAdd		177	P
	oneBits			200	P
	freePageFid		201	P
	freePageFp		202	P
	DisableInterrupts	217	P
	EnableInterrupts	220	P
	StartIO			225	P
	Idle			157	P
	lvIdle			160	V
	Noop			123	P
	TruePredicate		124	P
	FalsePredicate		125	P

	FrameSize		203	P
	MyFrame			204	P
	CallersFrame		205	P
	FramesCaller		206	P
	CallFrame		207	P
	GotoFrame		210	P
	CoCall			211	P
	CoReturn		212	P
	ReturnTo		213	P
	GotoLabel		214	P
	RetryCall		215	P
	ReturnFrom		216	P

	Call0			126	P
	Call1			127	P
	Call2			130	P
	Call3			131	P
	Call4			132	P
	Call5			133	P
	Call6			134	P
	Call7			135	P
	Call8			136	P
	Call9			137	P
	Call10			266	P
	Call11			267	P
	Call12			270	P
	Call13			271	P
	Call14			272	P
	Call15			273	P

	Closes			113	P	// actually Call2
	Gets			114	P	// actually Call3
	Puts			115	P	// actually Call4
	Resets			116	P	// actually Call5
	Putbacks		117	P	// actually Call6
	Errors			120	P	// actually Call7
	Endofs			121	P	// actually Call8
	Stateofs		122	P	// actually Call9

	OpenDD			235	P	// actually Call0
	LockDD			236	P	// actually Call1
	ReadDDPage		237	P	// actually Call2
	UnlockDD		240	P	// actually Call3
	FlushDD			241	P	// actually Call4
	CloseDD			242	P	// actually Call5
	DestroyDDMgr		243	P	// actually Call6

	ActOnDiskPages		161	P	// actually Call0
	WriteDiskPages		162	P	// actually Call1
	CreateDiskFile		165	P	// actually Call2
	DeleteDiskPages		166	P	// actually Call3
	AssignDiskPage		163	P	// actually Call4
	ReleaseDiskPage		164	P	// actually Call5
	VirtualDiskDA		167	P	// actually Call6
	RealDiskDA		170	P	// actually Call7
	InitializeDiskCBZ	274	P	// actually Call9
	DoDiskCommand		275	P	// actually Call10
	GetDiskCb		276	P	// actually Call14
	CloseDisk		277	P	// actually Call15

// levStatics
	lvSysErr		151	V
	lvSysZone		222	V