| newTemp.bermuda |
| 30-Oct-87 23:19:10 |

| DiskBoot.loc	18-May-87  8:56:16 PDT |
| MemDebug.loc	 2-Sep-87  9:48:18 PDT |
| RAMDebug.loc	 2-Sep-87  9:45:12 PDT |
| RAMSysB2.loc	25-Sep-87 17:38:43 PDT |

| CPDebug.bermuda |
| LoadIOPSymbols [DiskBoot]; |
| LoadIOPSymbols [RAMSysB2]; |
| LoadIOPSymbols [MemDebug]; |			| symbols for MesaDove.db |
| LoadIOPSymbols [RAMDebug]; |			| symbols for MesaDove.db |

BootIOP [];
SetDataType [word];
WriteIO [80,8000];
SetDataType [byte];
WriteIO [E018,5];
WriteIO [E01F,FF];
LoadIOPCodeOnly [RAMSysB2];
SetDataType [word];

IOP [1, 1]! 870C;				| loaderVirtualMemoryLocation ← 3E02|

IOP [6, 0]! 053C ← 4000;			| prebootSwitches: without PiggyBack Board |
IOP [7, 0]! CS ← C00;				| Get past burdock problems. |
IOP [8, 0]! IP ← 0;				| Get past burdock problems. |

BreakIOP [D40E];				| DisplayInit+C |
ContinueIOP [0];

IOP [3, 0]! DX ← FC00;				| Execute display handler from prom |

BreakIOP [C64A];				| get into DiskInitial (IOPE@Restart)|
ContinueIOP [0];
UnbreakIOP [C64A];				| IOPE@Restart |

BreakIOP [F92];					| StartRam |
ContinueIOP [0];

SetDataType [byte];

BreakIOP [95E4];				| DaybrkCP |
ContinueIOP [0];

IOP [9, 0]! 1734 ← 90;				| ZeroDownNotifyBits+26 |
IOP [0A, 0]! 1735 ← 90;				| Don't let MesaUpDn start the CP (ZeroDownNotifyBits+27)|
IOP [0B, 0]! 1736 ← 90;				| ZeroDownNotifyBits+28 |
IOP [0C, 0]! 1737 ← 90;				| ZeroDownNotifyBits+29 |
IOP [0D, 0]! 1738 ← 90;				| ZeroDownNotifyBits+2A |

BreakIOP [C8D7];				| SystemLoop |
ContinueIOP [0];
UnbreakIOP [C8D7];				| SystemLoop |

Boot [];
LoadNoSymbols [DaybreakInit, 0];		| run initialization code |

Break [4];
Start [0, 0, 0];
UnBreak [4];

Load [Cedar0, 0];
LoadMore [Cedar1, 1];

BreakIOP [E671];				| EndError+7 |
ContinueIOP [0];				| Get past all initialization |
UnbreakIOP [E671];				| EndError+7 |

| special germ mumbo-jumbo |

Break [vswapdone];
Start [setSwapConstants, setSwapConstants, 0];
UnBreak[vswapdone];

| set request stuff |

CP [1E, 0]! .mv 3e02f0;			| action ← 0 |
CP [1F, 0]! .mv 3e02f1 ← 5;		| device ← 5 |
CP [20, 0]! .mv 3e02f2;			| ordinal ← 0 |
CP [21, 0]! .mv 3e02f3 ← A80;		| bootfile ← A80 (5200'b) |
CP [22, 0]! .mv 3e02f4;			| net ← 0 |
CP [23, 0]! .mv 3e02f5;			| host ← 0 |

| begin emulator stuff |

Break [LastChance];