[Oberon] FPGA - Modules.bin - inner core size

Andreas Pirklbauer andreas_pirklbauer at yahoo.com
Tue Aug 21 06:59:24 CEST 2018


On FPGA Oberon, the inner core consists of the 4 modules Kernel, FileDir, Files, Modules. The boot loader transfers it byte for byte to memory location 0. So, if you know the inner workings of how the modules are loaded, one way to “guess” the size of the inner core (not from
disk but once loaded), is:

mod := root; name := “Modules”;
WHILE (mod # NIL) & (name # mod.name) DO mod := mod.next END ;
IF mod # NIL THEN size := SYSTEM.VAL(LONGINT, mod) + mod.size END ;


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20180821/9a2d076f/attachment.html>


More information about the Oberon mailing list