{file name: EtherInitialDefs.df
Description: definitions from APilot100.df
Author: Howard Sturgis
Created: 14-Nov-83 11:22:04

Last Edited by:
}


{following register definitions and constants copied from apilot100 dandelion.df}



RegDef[rP,	R,	1];	{EtherBooting}
RegDef[rS,	R,	2];	{EtherBooting}
RegDef[Srh,	RH,	2];	{EtherBooting}

RegDef[rMM,	R,	5];	{EtherInitial}
RegDef[MMrh,	RH,	5];	{EtherInitial}
RegDef[rG,	R,	6];	{Booting clock high - Protected, Etherbooting, Phase0}
RegDef[rY,	R,	7];	{EtherBooting}
RegDef[Yrh,	RH,	7];	{EtherBooting}
RegDef[rCount,	R,	8];	{EtherBooting}
RegDef[rM,	R,	9];	{Etherbooting}
RegDef[Mrh,	RH,	9];	{Etherbooting}
RegDef[rJ,	R,	0A];	{Booting clock low - Protected, Phase0, Etherbooting}
RegDef[rEtherBootRetries,	R,	0B];	{Number of times we have attempted to boot}
RegDef[rWord,	R,	0C];	{EtherBooting}
RegDef[rN,	R,	0D];  	{Protected}

RegDef[uBackoffMask,	U,	24];	{EtherBooting}
RegDef[uOldMask,	U,	25];	{EtherBooting}
RegDef[uPacketType,	U,	28];	{EtherBooting}
RegDef[uFileNumber2,	U,	29];	{Etherbooting}
RegDef[uGotFirstCode,	U,	2A];	{EtherInitial}
RegDef[uNextAddress,	U,	2B];	{EtherInitial}
	
RegDef[uSourceBlock,	UY,	7];	{EtherBooting}
RegDef[uSource2,	U,	70];	{EtherBooting - this cannot change from 70}
RegDef[uSource0,	U,	7E];	{EtherBooting - this cannot change from 7E}
RegDef[uSource1,	U,	7F];	{EtherBooting - this cannot change from 7F}

Set[germPageHigh, 3E]; {virtual address of origin of germ -- 37002B}
Set[germPageLow, 2];

Set[Off, 0];
Set[EnableTransmit, 1];
Set[EnableTransmitLastWord, 3];
Set[EnableTransmitDefer, 5];
Set[EnableReceive, 1];

Set[InitialCountdown, 14];	{14 hex = 20 decimal, 20 x 51.2 us ~ 1 ms for delay before retransmission}


 
Set[Other, 0];
Set[UnderRun, 1];
Set[Collision, 2];
Set[CollisionUnderRun, 3];