[Oberon] ORL.Mod

Michael Schierl schierlm at gmx.de
Mon May 19 22:59:55 CEST 2014


[let's see if this message now gets posted after I subscribed to the
list... :D]

19.05.2014 22:22, Paul Reed:
> Great stuff - let me know if you need anything else.  I would strongly
> advise you keep checking your assumptions and make sure your linker can
> create the existing bootfile :)

In case you are getting stuck, the scripts I use to prepare the needed
files to generate a new disk image inside (emulated) Oberon - which
include patched FileDir/File modules for writing to the image, patched
ORG/ORL to use different file name conventions for not bricking the host
system in case the compilation stops and your Kernel.Mod requires a new
symbol file, an OberonFromScratch.Tool that has all the commands you
need, just to click them in order, and of course a version of ORL called
ImageORL as it will link "into" the new disk image - are available at

https://github.com/schierlm/OberonEmulator/tree/master/Oberon

Start here:

https://github.com/schierlm/OberonEmulator/blob/master/Oberon/make_compatible_image.sh

ImageORL patch (against Modules) is here:

https://github.com/schierlm/OberonEmulator/blob/master/Oberon/derive-image-orl.patch

(Some changes for tweaking the offsets, are done via "sed" rules in the
script, so better use the script and do not try to apply it manually).

In case you want to use the resulting image in Peter De Wachter's
emulator: You'll have to cut off the first 1k of the resulting image in
a hex editor, as the offset I used and the offset he uses is different
(my emulator can now also read his images, but I did not yet update my
scripts).

I would not consider my code good quality (or well documented), but it
works and should be good enough to compare with yours in case yours does
not work :)


Regards,


Michael



More information about the Oberon mailing list