{
   File:  BandBLT.dfn
   Description: Definitions for use by BandBLT.mc and BandBLTSubs.mc
   Author: Patrick Olmstead
   Created: February 27, 1981
   Last edit: Olmstead  March 19, 1981  8:54 PM:  Changes for re-work of handling of inks, levels, and leftovers.
   Last edited by: Dennis Grundler @ 20-Sep-83 20:40:58: Changed name to .dfn and removed Bravo information.
   Last edited by: Dennis Grundler @  2-Sep-84  0:29:06: add copyright notice.
}

{	Copyright (C) 1981, 1983 by Xerox Corporation.  All rights reserved. }

	Set[Bandwidth, 16'd];
	Set[LOlist, 0];
	Set[BL, 1];
	Set[Nil, 0];

	MacroDef[BLentryTypeRot, LRot4];
	Set[BLentryTypeMask, 0];
	MacroDef[BLentryDISP, DISP4[#1, BLentryTypeMask]];

{
	Bandlist entries
}
	Set[EndOfBand, 8];
	Set[EndOfPage, 9];
	Set[Rectangle, 0A]; {must be even; yloc is masked with u1FFF}
	Set[SetLevel, 0B];
	Set[SetInk, 0C];
	Set[Roulette, 0D];
	Set[UnusedBLEntry, 0E];
	Set[Nop, 0F];

	MacroDef[ListFlagDisp, L3Disp];

{
	Subroutine return definitions:
}

	Set[Read.0, 0]{used for Read};
	Set[Read.1, 1]{used for Read};
	Set[Read.2, 2]{used for Read};
	Set[reRead.3, 3]{used for reRead};
	Set[reRead.4, 4]{used for reRead};
	Set[Read.5, 5]{used for Read};
	Set[reRead.6, 6]{used for reRead};
	Set[Read.7, 7]{used for Read};
	Set[reRead.8, 8]{used for reRead};
	Set[reRead.B, 0B]{used for reRead};
	Set[reRead.C, 0C]{used for reRead};
	Set[reRead.D, 0D]{used for reRead};
 	Set[reRead.E, 0E]{used for reRead};

	Set[SaveReadPtr.0, 0]{used for SaveReadPtr};
	Set[SaveReadPtr.1, 1]{used for SaveReadPtr};
	Set[SaveReadPtr.3, 3]{used for SaveReadPtr};
	
	Set[writeLO.0, 0]{used for writeLO};
	Set[writeLO.1, 1]{used for writeLO};
	Set[writeLO.2, 2]{used for writeLO};

	Set[Rot12.0, 0]{used for TempRot12};
	Set[Rot12.2, 2]{used for TempRot12};
	Set[Rot12.3, 3]{used for TempRot12};
	Set[Rot12.4, 4]{used for TempRot12};
	Set[Rot12.5, 5]{used for TempRot12};
	Set[Rot12.6, 6]{used for TempRot12};
	Set[Rot12.7, 7]{used for TempRot12};
	Set[Rot12.8, 8]{used for TempRot12};

{definitions for writeLO}
	Set[OneWordLO, 0C]; {leftover list entry with length = 1 word}
	Set[ThreeWordLO,0]; {leftover list entry with length = 3 words}

	Set[PageNumToPtr.0, 0]{used for PageNumToPtr};
	Set[PageNumToPtr.1, 1]{used for PageNumToPtr};