[Oberon] FPGA - Modules.bin - inner core size
Andreas Pirklbauer
andreas_pirklbauer at yahoo.com
Tue Aug 21 07:30:58 CEST 2018
And if it *has* to be done from disk, here is how the boot loader (BootLoad.Mod) itself determines the number of bytes to be transferred to main store:
PROCEDURE LoadFromDisk;
VAR src, dst, adr, lim: INTEGER;
BEGIN src := FSoffset + 4; (*start at boot block*)
ReadSD(src, 0); SYSTEM.GET(16, lim);
...
So, it’s location 16 in the very first block..
See also: The commands Boot.Link and Boot.Load also report the number of bytes.
https://github.com/andreaspirklbauer/Oberon-experimental/blob/master/Sources/Boot.Mod
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20180821/6d43936a/attachment.html>
More information about the Oberon
mailing list