{File name: TriDLion.dfn
 Description: Definitions file for Trident Disk Controller microcode, Version 1.0
 Author: BJackson
 Created: 23-Jul-85  0:07:36
 }

{	Copyright (C) 1985 by Xerox Corporation.  All rights reserved. }

{---------------------  Register and Constant Initialization  -----------}

RegDef[RHAdr,	RH,	7];		{DiskTrident}
RegDef[RHCnt,	RH,	8];		{DiskTrident}
RegDef[U0100,	U,	0AC];		{Trident}
RegDef[U0400,	U,	0AB];		{Trident}
RegDef[U0C04,	U,	0AD];		{Trident}
RegDef[U2C04,	U,	0AE];		{Trident}
RegDef[U2C05,	U,	0AF];		{Trident}
RegDef[U4000,	U,	0A8];		{Trident}
RegDef[UBitSignAdr,	U,	82];	{Trident}
RegDef[UCStat,	U,	79];		{Trident}
RegDef[UCStatMask,	U,	72];	{Trident - Set in InitDLion to 1E07}
RegDef[UCurHdSec,	U,	7C];	{Trident}
RegDef[UCylAdr,	U,	83];		{Trident}
RegDef[UDCmd,	U,	8E];		{Trident}
RegDef[UDCntl,	U,	8F];		{Trident}
RegDef[UDMask,	U,	80];		{Trident}
RegDef[UDskAdr,	U,	7F];		{Trident}
RegDef[UDStat,	U,	7A];		{Trident}
RegDef[UDtOp,	U,	8D];		{Trident}
RegDef[UDtPtrHi,	U,	76];	{Trident}
RegDef[UDtPtrLo,	U,	75];	{Trident}
RegDef[UF000,	U,	0A7];		{Trident - Sequence constant}
RegDef[UF001,	U,	0AA];		{Trident}
RegDef[UHCntl,	U,	87];		{Trident}
RegDef[UHCmd,	U,	86];		{Trident}
RegDef[UHdOffset,	U,	84];	{Trident}
RegDef[UHdrOp,	U,	85];		{Trident}
RegDef[UHMask,	U,	88];		{Trident}
RegDef[UIntMask,	U,	81];	{Trident}
RegDef[UIOCBLink,	U,	7E];	{Trident}
RegDef[ULblOp,	U,	89];		{Trident}
RegDef[ULblWd5,	U,	70];		{Trident}
RegDef[ULCmd,	U,	8A];		{Trident}
RegDef[ULCntl,	U,	8B];		{Trident}
RegDef[ULMask,	U,	8C];		{Trident}
RegDef[UPgCnt,	U,	78];		{Trident}
RegDef[URetry,	U,	7D];		{Trident}
RegDef[UScratch,	U,	77];	{Trident}
RegDef[USIP,	U,	71];		{Trident - Set in InitDLion to 0}
RegDef[USvAdrHi,	U,	74];	{Trident}
RegDef[USvAdrLo,	U,	73];	{Trident}	

{  Constants }

Set[CCtlTag, 20];
Set[CCylTag, 80];
Set[CDDelRdSet, 1]; 			{Constants may have to  be redefined}
Set[CDisplBSAdr, 11];
Set[CDisplCHdSec, 1];
Set[CDisplClntLbl, 20];
Set[CDisplCStat, 8];
Set[CDisplDHdr, 0A];
Set[CDisplDStat, 9]:
Set[CDisplDtPtr, 4];
Set[CDisplECC, 3C];
Set[CDisplIOCB, 4];
Set[CDisplLblWd5, 25];
Set[CDisplPgCnt, 7];
Set[CDsk1, 4];
Set[CDsk2, 8];
Set[CDsk3, 0C];
Set[CDskCheck, 1];
Set[CECCXfer, 0C8];
Set[CGoodCompl, 40];
Set[CHDelRdSet, 8];
Set[CHDelWrSet, 1];
Set[CHdAdv, 1];
Set[CHdrNotFnd, 10];
Set[CHdTag, 40];
Set[CHNRDelRdRst, 2]; 
Set[CHWVDelRdRst, 5]; 
Set[CLastDev, 10];
Set[CLDelRdSet, 1]; 
Set[CLWVDelRdRst, 3];
Set[CMaxSec, 1D];
Set[CMemError, 0E];
Set[CNextDev, 4];
Set[CNotRdy, 8];
Set[CRead, 40];
Set[CRecal, 0A];
Set[CRecalError, 20];
Set[CRelDisplDskLbl, 10];
Set[CRetry, 5A]; 			{look at 90 headers before giving up}
Set[CRstAtt, 40]; 			{this is actually the Read bit}
Set[CTestForVrf, 7];
Set[CTstRecal, 1];
Set[CTstRecalEr, 0B];
Set[CTstSkEr, 0B];
Set[CWUAnyAtt, 10];
Set[CWUDtReq, 40];
Set[CWUIndxFnd, 20];
Set[CWURdy, 60];
Set[CWUSecFnd, 30];
Set[DiskCSBOffsetIOCB, 1];
Set[IOPageHigh, 2];

{  The End... }