[Oberon] RISC.img

Paul Reed paulreed at paddedcell.com
Thu Nov 5 22:15:07 CET 2015


Hi Jan,

> But it seems that the FileDir symbolfile is missing in the Risc image.
> I dumped the strings in the image, but it is not to be found.

The downloadable image is intended to be as small as reasonably possible,
obviously other things may be added to the system e.g. by compiling, but
they will differ depending on who you are and what you want to do.


> At the same time I like to have it available so a FileDir.FileName can be
> specified as just that.

If you haven't already (or if you're like me, even if you have!), you
should definitely read Chapter 7 of the book carefully and then decide if
you still want to do this.

As the chapter points out, Files is the user filesystem API, accepting,
for example, strings as filenames (and checking them).  Conversely,
FileDir exposes the innards to system programmers only, and uses
fixed-length filename structures which often also appear on-disk.

Hence you probably don't want to propagate FileDir internals (or data
structures based on them) down (up) the module hierarchy.

Without knowing what you want to do, I hope that at least helps a bit.

Cheers,
Paul




More information about the Oberon mailing list