*-----------------------------------------------------------
Title[BootDefs.mc...June 18, 1982  1:37 PM...Taft];
* Definitions for Bootstrap and Initial
*-----------------------------------------------------------


*-----------------------------------------------------------
* IM placement constants
*-----------------------------------------------------------

* These addresses are public (e.g., known by BaseBoard)
	Set[BootstrapPage, 77];	* Page containing Bootstrap
	Set[BootstrapLoc, 7740]; * Start address of Bootstrap

* These addresses are known only within Bootstrap and Initial.
* FirstInitialPage should be as high as possible so that the Initial
* microcode is compacted into the high part of IM and BaseBoard EProms
* are conserved.
	Set[FirstInitialPage, 61];
	Set[InitialLoc, 7500];	* Second-stage boot entry
	Set[ReadBBLoc, 7700];	* Subroutine to return byte from baseboard.


*-----------------------------------------------------------
* Locations of our RM registers.
* Bootstrap and early parts of Initial don't really care which RMRegion they use.
*-----------------------------------------------------------

* Used in Bootstrap
	RVRel[ChkSum, 0];
	RVRel[Byte1, 1];
	RVRel[BTemp, 2];
	RVRel[Loc, 3];
	RVRel[Tag, 4];

* Used in early parts of Initial
	RVRel[RM0, 0];
	RVRel[RScr, 1];
	RVRel[RScr2, 2];
	RVRel[VA, 3];
	RVRel[ColX, 4];
	RVRel[RowX, 5];
	RVRel[MPageX, 6];
	RVRel[PgsPerMod, 7];
	RVRel[ModMask, 10];

* RBase-relative definitions for RM registers
RVRel[RX0, 0];   RVRel[RX1, 1];   RVRel[RX2, 2];   RVRel[RX3, 3]; 
RVRel[RX4, 4];   RVRel[RX5, 5];   RVRel[RX6, 6];   RVRel[RX7, 7]; 
RVRel[RX10, 10]; RVRel[RX11, 11]; RVRel[RX12, 12]; RVRel[RX13, 13]; 
RVRel[RX14, 14]; RVRel[RX15, 15]; RVRel[RX16, 16]; RVRel[RX17, 17]; 


*-----------------------------------------------------------
* Miscellaneous constants
*-----------------------------------------------------------

MC[BootParameterSeal, 056623];		* Validates parameters passed to Initial