| RAMSysB2.bermuda |
| KEK 22-Apr-87 11:45:27 add Craiggie-back board support.|
| Last edited by AGK:  9-Oct-86 11:19:08 |

BootIOP[];
|ResetIOPSymbols[];|
|LoadIOPSymbolsOnly[RAMSysB2.loc];|

|Load RAMSysB2 code into mempry|
SetDataType[word];
WriteIO[80,8000];
LoadIOPCodeOnly[RAMSysB2.loc];
|InitIOPPanel[];|

| The following is used if debugging withOUT a Craiggie-back debugging board:|
SetDataType[word];
IOP[6, 0]! 053C ← 4000;		|prebootSwitches: ~dontTrustEEPROM OR needFatIOR|
IOP[0, 1]! CS ← C00;		|Get past burdock problems.|
IOP[0, 2]! IP ← 0;		|Get past burdock problems.|
BreakIOP["DisplayInit+C"];	|DisplayInit+C|
ContinueIOP[0];
IOP[3, 0]! DX ← FC00;		|Execute display handler from prom|
BreakIOP[IOPE@Restart];		|get into DiskInitial|
ContinueIOP[0];
UnbreakIOP[IOPE@Restart];
BreakIOP[StartRam];
ContinueIOP[0];
SetDataType[byte];
IOP[10, 0]! cmosDisplayStartMe ← 90;	|Don't start the cmos display handler|
IOP[11, 0]! cmosDisplayStartMe+1 ← 90;	|Put 4 Noop's starting from |
IOP[12, 0]! cmosDisplayStartMe+2 ← 90;	| cmosDisplayStartMe, wiping out|
IOP[13, 0]! cmosDisplayStartMe+3 ← 90;	| the code that starts the cmos handler.|

| The following is used if debugging WITH a Craiggie-back debugging board:|
|SetDataType[word];|
|IOP[5, 0]! 053C ← 0000;	prebootSwitches: ~dontTrustEEPROM OR ~needFatIOR|
|IOP[0, 1]! CS ← 800;|
|IOP[0, 2]! IP ← 0;		Get past burdock problems.|