Create: Commander.CommandProc = {
bootFileNumber: CARDINAL ← GetBootFileNumber[];
switches: GermSwap.Switches; -- defaults
location: BootFile.Location ← [
deviceType: ethernet,
deviceOrdinal: 0,
vp: ethernet [bootFileNumber: bootFileNumber, net: 0, host: 0] ];
switches[l] ← TRUE;
switches[f] ← TRUE;
TRUSTED {
PrincOpsUtils.DisableInterrupts[]; -- make it hold still first
VMBacking.RecoverRealMemory[]; -- so that the germ can find it for the next guy.
DeviceCleanup.Perform[turnOff];
GermSwap.InLoad[NIL, NIL, 0, @location, switches];
};
};
GetBootFileNumber:
PROC
RETURNS [
CARDINAL] = {
Check /Indigo/Portola/BootDirectory.txt or /Dexter//Dexter.txt for more info.
SELECT SystemVersion.machineType
FROM
dorado => RETURN[45103B]; -- BasicCedarDorado.boot
dandelion => RETURN[5200B];-- BasicCedarDLion20.pb
ENDCASE => ERROR DontKnowAboutThisTypeOfMachine;
};
}.