Oberon Computing Systems
"Computing Systems" includes multiple aspects. For an overview of these systems, begin with the Wikipedia article. For authoritative documents see Support and References. For other uses of the name Oberon, refer to the disambiguation page.
Audience[edit | edit source]
A novice interested to learn computing from the foundations will appreciate the freedom from overwhelming and unnecessary complexity imposed by other systems. The more advanced user will find an efficient tool with complete sources allowing study in depth. The system engineer might adapt Oberon to specific requirements such as intensive computation, big data computation and automation.
Typical usage progresses through these stages.
- Bug repair
- Customization and development
The reader should install and use at least one Oberon system. As preparation, an introductory course covering programming basics is advantageous but not essential.
Most of the wiki boilerplate is eliminated in the "Mobile view" available with a link at the foot of a page. This is particularly helpful if taking a copy of a source Text.
System Characteristics[edit | edit source]
Oberon was developed as a stand-alone personal workstation and remains viable in that capacity. The system was designed to attain compactness, comprehensibility, efficiency, reliability, responsiveness, security and simplicity. The extreme compactness is immediately evident to a novice installing ETH Oberon on a bare PC. The complete system including applications, documentation, graphical interface, fonts and source texts was installed from ten HD diskettes. For the contemporary perspective refer to Use Cases.
This Book[edit | edit source]
An Oberon system comprises a collection of modules and this book presents one module per page. An example is Sort.Mod from ETH Oberon. Additionally there are Tool pages, each of which is a template of executable commands. An example is Sort.Tool. A system building Tool is a template for rebuilding the entire system, including system installer and module packages.
Historical Perspective[edit | edit source]
Following development of the programming languages Euler, Algol W, Pascal, Modula and Modula-2, Niklaus Wirth proceeded to create the Oberon language (language report) with original release occurring in 1986. The language design was driven by the wish to design an operating system similar to the OS of the Alto and the insight that Modula-2 did not have the required language construct, which we would now call type inheritance. Wirth chose the other viewpoint and called it type extension. Beside other syntactic differences, which were mainly simplifications, type extension is the major difference between Modula-2 and Oberon. Having met at Xerox PARC, Wirth collaborated with Jürg Gutknecht to build a complete operating system written in the Oberon language. This system was also named Oberon. The distinction between language and system is usually obvious from the context where the term appears.
In subsequent developments, small syntactical changes created various dialects of the language (Oberon-2, Component Pascal, Active Oberon, and Oberon-07), with compatibilities and incompatibilities. Variants of the operating system also evolved, again entailing small incompatibilities. The four most prominent of these OS flavors are
- ETH Oberon (formerly System 3, S3) is written in Oberon-2.
- V4 Oberon (aka Linz-Oberon) basically written in Oberon but with many extensions in Oberon-2
- AOS (aka Bluebottle and A2) written in Active Oberon, and
- Oberon V5, described in Wirth's Project Oberon, 2013 Edition and written in Oberon-07.
With reasonable effort, incompatibilities can always be resolved to allow shift of source text from one system to another.
Beside being a stand-alone operating system, Oberon has been implemented as an emulated operating system atop other systems, decades before virtualization became a buzz-word. The most prominent of these emulated Oberon Systems was Oberon V4, which was implemented on top of SunOS 1 & 2, Ultrix, Irix, AIX, MacOS 7,8,9 (both 68K and Power PC), AmigaOS, TOS (Atari), OS/2, Microsoft Windows, HPUX, and (of course) Linux. Oberon V4 was sometimes also called Linz-Oberon, due to the fact that it was maintained by the group around Hanspeter Mössenböck, who joined the faculty at JKU Linz in 1994. But also System 3 was implemented on top of another operating system for MacOS (68K and PowerPC), SunOS (SPARC and x86), and Microsft Windows. A2 is running as an emulated OS on Microsoft Windows, Linux, and Solaris (x86). In 2015 Peter Matthias revitalized System 3 under the name "Oberon Linux Revival" (OLR) as a multi-platform proof of concept running both in framebuffer-mode and in the X-Window System on X86, Mips, and ARM hardware under Linux.
System Variants[edit | edit source]
The Oberon system runs directly on several machine architectures and as a subsystem in several host operating systems. Order of rows is approximately chronological. For each variant (row), a link in the second column leads to additional information.
In A2, identifiers "A2" and "Oberon" in the name or text of a source module denote context  where necessary. This is the syntax in ActiveOberon.
Module := "MODULE" Identifier "IN" Identifier ";" ...
Where context is not formally recognized, an identifier in a comment is possible.
Module := "MODULE" Identifier "(* IN " Identifier "*);" ...
An identifier can also be prefixed to the module identifier.
Module := "MODULE" Identifier Identifier ";" ...
As the Oberon filesystem does not support folders, name conflict can be avoided by prefixing a file name.
NameOfModuleFile := Identifier Identifier ".Mod"
The name of a file containing a module source can differ from the name of the module. Within the scope of a module, the name of an imported module can be aliased.
Out := OutStub for example. Syntax is in the Oberon-2 Report.
Use Cases[edit | edit source]
Educational Workstation[edit | edit source]
Embedded System[edit | edit source]
Currently a strong interest in Oberon development is in embedded systems. V5 running on a FPGA is particularly appropriate to this purpose. Astrobe is the leading commercial effort, providing a MS Windows based integrated development environment for producing Oberon source text and executables.
Personal Workstation[edit | edit source]
Of all Oberon systems, PC Native ETH Oberon and A2 have the broadest range of application level development for a personal workstation. Nevertheless their capabilities are limited in comparison to familiar commercial systems and Unix-like systems. By using an Oberon subsystem in one of these familiar systems, benefits are combined. The subsystem can be installed as an application such as UnixA2. Alternatively the subsystem can be a guest of a hypervisor as when ETH Oberon is hosted by QEMU. The subsystem can also be emulated; the Oberon RISC emulator being a prime example. Refer to the table of system variants.
Installing[edit | edit source]
A system is chosen and, using the link in the table of variants, an installation archive is retrieved. Instructions for installing and configuring the system are linked in the last column of the table. For some systems, instructions are also available in a system specific page linked in the second column.
ETH Oberon[edit | edit source]
ETH Oberon can be installed and run on a bare PC and is similar to the Oberon subsystem of A2. In comparison to V5, ETH Oberon has relatively advanced application level capabilities including the Gadgets GUI. Discarded desktop and laptop PCs capable of running ETH Oberon are widely available, typically at no cost.
A2 and UnixAOS[edit | edit source]
A2 can be installed and run on a bare PC and as an emulated OS on various platforms. A2 contains an Oberon subsystem very similar to ETH Oberon. The compactness and speed of user level tasks such as email, makes a striking comparison to analogues in the host system. A2 also works well on many desktop and laptop machines considered obsolete for commercial operating systems.
V4[edit | edit source]
Archives are available from JKU Linz and from Sourceforge. Specific installation instructions are available for Linux and for MS Windows. The instructions should also help with Amiga, HPUX, Macintosh, MIPS, PowerMac, Sparc and UV4.
V5[edit | edit source]
For installation on FPGA machines, refer to the documentation of N. Wirth and of Paul Reed. Oberon RISC Emulators work on contemporary MS Windows, Unix-like systems and macOS. Refer to instructions of the author of the emulator of interest. Additional notes are available for Android. On some machines the size of block random access memory (BRAM) may constrain development objectives.
Getting Started[edit | edit source]
The user interface of the Oberon System is quite surprising on the first sight. It is a so called text based user interface (TUI) and combines the point-and-click convenience of a graphical user interface (GUI) with the linguistic strength of a command line interface (CLI). It is closely tied to the naming conventions of the Oberon language. Any text appearing (almost) anywhere on the screen can be edited and can be used as command input. Commands are activated by a mouse-middle, MM, click on a text fragment of the form Module.Command (optionally followed by parameters, which are terminated by ~). A command is defined by a procedure, which has an empty argument list. Parameters to the command have to be defined before executing the middle click and must be explicitly scanned and retrieved by the procedure. There are no checks nor any questions asked during command execution. This is sometimes called a "non-modal" user interface (UI). Nothing like a command prompt is required. Although radically different from a command line, the TUI is very efficient and powerful. Active elements can be embedded in Oberon texts: a clock showing the current time, push buttons, or graphical elements visualizing data. Most user interface elements are realized with the help of documents. A steep ascent in the early learning curve can be somewhat challenging. No questions are asked: this is a deliberate design decision, which needs getting used to. For example, most familiar editors ask the user when closing a modified text: this is not the case in the Oberon System. The usage of the TUI and programming interface is fully documented in Martin Reiser's book "The Oberon System". A short introduction to the user interface can be found on Niklaus Wirth's home page. The later Versions of System Oberon, Oberon V4 (or V4 in short, sometimes also referred to as Linz-Oberon) and ETH-Oberon (sometimes also called Oberon System 3, S3 or Spirit of Oberon), enhanced the basic interface with different but incompatible implementations for buttons, drop down menus, and other active elements. V4 used for that purpose a dedicated control character embedded in normal text in contrast to System 3, which extended the kernel by introducing persistent objects. Both extensions include a large set of user interface elements.
Mastering the Oberon user interface, both the purely textual and also the so called Gadgets System (under ETH Oberon), is absolutely non-trivial. Therefore it is recommended to proceed after a successful installation of Oberon System 3 to André Fischer's Oberon System 3 Tutorial. An expanded version of this tutorial is published as a book, which is now out of print. Although the book has a standard copyright, it is available in electronic form under a single user license in every installed version of System 3 (Windows, Linux or Native, i.e. also with the Gadgets toolkit of OLR). If you try to read it in System 3, you are confronted with the classical chicken and egg problem: You have to master the user interface to have access to the documentation of the user interface. Therefore some detailed instructions for reading "The Oberon Companion" – after a successful installation of the Oberon System can be found by opening the file Book.Tool with the command Desktops.OpenDoc. If this command is not present in any of the windows/viewers, which are opened by default when you start the Oberon System, you can click anywhere with the left-mouse button (ML) in any viewer and type the command
Desktops.OpenDoc Book.Tool ~. Then move the mouse over
Desktops.OpenDoc and do a middle-mouse button (MM) click. This will open an new viewer with a table of contents of "The Oberon Companion". All lines with blue text are hyperlinks to the chapters of the book, which in turn can be clicked with the MM button so that the chapter will open in a new viewer. The license in Book.Tool gives the user the right to print a single copy for personal use. I had good results in print with a GhostScript based free PDF converter. If you want to print an open document in Oberon, i.e., the contents of a window (or viewer in Oberon terminology), you have to set the star shaped mark by hitting the F1 key (see Tutorial) and then
issue the command
Desktops.PrintDoc Default * ~ by a MM click on
Desktops.PrintDoc. In an Oberon command the * is not a wildcard, but symbolizes the marked viewer.
Oberon Text[edit | edit source]
Confusingly for a novice, three forms of line ending can be found in text files in contemporary computer systems.
- In Oberon and some other systems, a line of text ends with the carriage return character, denoted CR.
- In Unix-like and some other systems, a line of text ends with the line feed character denoted LF.
- In DOS, Microsoft Windows and some other systems, a line of text ends with the two characters, CR and LF.
This multiplicity poses no difficulty in Oberon; most Oberon systems allow convenient editing with any of these line endings.
An Oberon Text can appear to be no more than a plain text comprising a sequence of ASCII characters. Nevertheless Text in Oberon is a type defined in the Text module. A Text of this type is a sequence of characters including non-printing characters. A character in a Text can have attributes including typeface, size and color. Furthermore a Text can include non-character objects; an image or a hyperlink for example. Consequently two displayed documents, one an Oberon Text and the other an HTML text, can have the same appearance and the same behavior of links.
Editing a Text[edit | edit source]
Each Oberon system has an Edit module. If
Edit.Open Example.Text appears almost anywhere on the screen, a MM on
Edit.Open will open a viewer. If a file named Example.Text exists, it's content will appear in the viewer. If no file with the name exists, the viewer will be empty. The caret can be set by ML and characters can be inserted using a keyboard. In addition to Edit, ETH Oberon has ET and the Gadgets subsystem. Commands
ET.Open <aFile> and
Desktops.OpenDoc <aFile> are available. ETH Oberon also has the Hex module providing a hexadecimal editor with command
Programmatical Access to a Text[edit | edit source]
In addition to interactive editing just described, a Text can be manipulated using procedures in the Texts module; visible for ETH Oberon and for V5. Also summarized for ETH Oberon in DEFINITION Texts.
To read a Text programmatically in any Oberon system, the first step is to open a RECORD termed a Reader on the Text, at a specified offset. (A Reader is a RECORD; not a pointer or procedure.) With reader open, procedure Read(reader, ch) retrieves a character each time it is executed.
VAR T: Texts.Text; R: Texts.Reader; ch: CHAR; BEGIN NEW(T); Texts.Open(T, “Texts.Mod“); Texts.OpenReader(R, T, 0); Texts.Read(R, ch); WHILE ~R.eot DO Out.Char(ch); Texts.Read(R, ch) END END
In ETH Oberon, the font of a character is referenced in the Objects.Library of the Reader. This assumes that the object read was a character as evidenced by (reader.lib IS Fonts.Font) being TRUE. In V2, V4 and V5, the font of a character is referenced by the „fnt“ field of the reader. The Reader also has fields „col“ (the color of the character) and „voff“ (vertical offset of the character). After an execution of Read(reader, ch), the freshly read character is available in ch and attributes are in the components of reader. Each execution of Read() advances reader through the Text by one character until the end is reached and reader.eot becomes TRUE.
Additional Details[edit | edit source]
Types pertinent to Text in various systems can be compared in the Text page.
- Texts module in Oberon V2.
- Text in ETH Oberon.
- Texts module in the Oberon subsystem of A2. Open Oberon.Texts.Mod.
- Texts module in Oberon V5. Open Texts.Mod.
System Startup[edit | edit source]
Brief remarks here are intended to guide the student toward study of the authoritative documents.
Booting and Multi-booting[edit | edit source]
ETH Oberon, A2 and other systems working directly on x86 hardware offer the further possibility of multiple operating systems requiring boot management. Boot Manager was written by André Fischer according to Oberon principles and is now maintained in the SVN repository at the ETH. These pages have additional information.
- Using a boot manager, with application to ETH Oberon, predating Boot Manager.
- André Fischer's instructions for Boot Manager.
- Boot management subsequent to Boot Manager. Topics including GPT and UEFI.
V2[edit | edit source]
For V2 running on a Ceres machine, system startup and the core are described in sections 14.1 and 14.2 of Project Oberon, 1992(PDF).
ETH Oberon[edit | edit source]
In ETH Oberon, the inner core comprises basic operating system functions including storage management, file system, loader, compiler and etc. The outer core comprises management of display, keyboard and mouse. Inner and outer cores together are somewhat comparable to the kernel of a Unix-like system. Structure of the sytem can be understood from the system building tool, Native.Tool.
V4[edit | edit source]
V5[edit | edit source]
In V5, Project Oberon, the inner core comprises only the modules Kernel (memory mgmt, disk storage mgmt, traps, timer), FileDir (directory handling), Files (File handling) and Modules (module loading). The authoritative exposition is in sections 14.1 and 14.2 of Project Oberon, 2013 Edition(PDF).
Contributing a Module or Tool Not in the Book[edit | edit source]
- Initialize a Module or Tool page from a published release. Preferably the latest. Oberon.Sort.Mod, for example, is taken from the Oberon subsystem in UnixA2. Indicate the source in the wiki edit subject line.
- Use Oberon naming conventions.
- Avoid page duplication. If two systems share a source module, a page redirect might be preferable to duplicate pages.
Addition of a Text is the first two steps of the dataflow diagram above. The first step is performed by the contributor. The second is performed automatically by the MediaWiki server. Retrieve the MediaWiki module (ETH Oberon, Oberon subsystem of A2) to your Oberon system and compile it. Open a viewer with the module to be contributed and * mark the Text. Translate to MediaWiki markup with "MediaWiki.Markup * " and save the <Module>.Mod.mw with Edit.StoreAscii or ET.StoreAscii.
To add the page to the book, a browser capable of HTTPS is necessary; Desktops.OpenDoc in ETH Oberon is inadequate. Being logged in to a Wikimedia account is advisable. In the table above, click on an identifier to open the system specific page. There add the name of the intended module and "Publish change". The new entry will be colored red. Click on it to open the page for the new module. Copy and paste the text from <Module>.Mod.mw and "Publish change".
Editing this Book[edit | edit source]
All progress is welcome. Correct errors in grammar and in algorithms. Present unrefined ideas in the talk pages.
Editing a Module Source Text[edit | edit source]
A source can be edited directly using a browser capable of HTTPS. Alternatively it can be edited on your Oberon system, translated using MediaWiki.Markup and applied to replace the existing version, as when adding a new module. If replacing, take care to avoid over-writing a previous edit. The latest version of the page should be retrieved to a working Oberon system and compared using Diff.Do. Alternatively, a registered user can put a new version in the user sandbox and compare as in the following section. Be aware that the non-zero time interval between retrieval from the book and installation of the new version allows an edit conflict.
- If an edit conflict is inadvertently created, fix it, please.
- Avoid breaking compilation.
- Avoid breaking interfaces. If an interface is changed, adjust all modules which connect to it. An idea clearly expressed in a discussion page is preferable to broken interfaces.
- Avoid breaking functionality.
- Avoid introducing a bug. If a bug is introduced, the change might be reverted, however brilliant the intended improvement.
- Prefer more recent syntax over older syntax. Remove LOOP. Where possible remove RETURN.
- Optionally, color changed text, green; text disabled by commenting, red.
Formatting a Source Text[edit | edit source]
Various formatting conventions and preferences exist. Refer to the Oberon Mailing List, 2017-07-22 through 2017-07-26, and search for "indentation?". No particular format is essential here. Any reasonable format preferred by a contributor is welcome.
Styling a Source Text[edit | edit source]
Various stylistic conventions also exist. Refer to the Oberon Mailing List, 2017-07-29 through 2017-07-30, and search for "Italicization". Editors such as PET in A2 and the "pretty printers" mentioned in the list automatically style a source Text to highlight syntax. Therefore direct syntax styling can be unnecessary. Color to distinguish a revision is optional and relatively harmless.
Comparing Versions and Pages[edit | edit source]
Oberon has module Diff. For example, two pages can be retrieved to files TextFile1 and TextFile2. Then MM on Diff.Do TextFile1 TextFile2 .
To compare versions of a page within the book, open the history using the button at the top of the page. Choose two versions and "Compare selected versions".
To compare distinct pages, ID numbers are specified in a URL. In the page history of ETH_Oberon/2003-01-05/HTML.Mod, when the mouse pointer is hovered over the date in the entry for the original version, ID 3702511 is reported by the browser. The original version of A2/Oberon.HTML.Mod is ID 3504568. The URL
produces a side by side comparison. "Compare" works well where a fraction of lines differ. When most or all lines in the compared pages differ, comparison has little or no value.
Computers[edit | edit source]
|NS320xx||32 kB ROM||2 MB DRAM||40 MB Hard disk drive||Rare and collectable; price unpredictable|| |
|Intel 80386 PC and descendants,
|i386, i486, P5 and various successors||Hard disk drive||SDRAM||Hard disk drive||Negligible for a disused machine||ETH Oberon is installed and used routinely.|
|Digilent Xilinx Spartan 3 Starter Board,
|Xilinx Spartan 3||SD||1 MB SRAM||SD||100||Used and NOS boards on the market|
|Xilinx Spartan-6 FPGA||128 MB SPI||1 MB SRAM||100||Discontinued|
|Xilinx XC3S700AN FPGA||microSD||1 MB SRAM||microSD||Website unreachable September 2018.|
|RiskZero||Spartan-6 FPGA||full size SD, microSD||4 MB ZBT||full size SD, microSD||refer to Design files and cost.||Prototyping.|
|RiskFive||Xilinx Artix-7 FPGA||16-32 MB SPI Flash||4 MB ZBT||microSD||"expensive"||Motherboard plus FPGA module. Available.|
|Lattice ECP5 LFE5U-85F-6BG381C (85K LUT) FPGA||4–16 MB Quad-SPI Flash||32 MB SDRAM 166 MHz||microSD||60-140||Boards with 12K LUT also available. |
FAQ[edit | edit source]
- Q. Why do some Oberon systems have a flat file system? Isn't a tree structured file system indispensable in highly productive contemporary environments?
- A. The tree structured file system came into prominence during the 1950s and '60s when computer memories were miniscule in comparison to memories now available. The tree structure of those early file systems helped with organization of the operating system. Typical memory access is far faster than file access. With current hardware, a data structure can be composed and used in memory with much faster performance than a data structure in a file system. With some focus on choice of meaningful names for files, most users will find the flat file system entirely adequate. Also, most Oberon subsystems have access to a tree structured file system of the host. Additionally, ETH Oberon running on a bare PC supports the FAT16, FAT32 and ISO 9660:1988 file systems, all of which are tree structured. In reality, a flat file system in Oberon is a benefit rather than detriment.
- Q. In ETH Oberon (or A2O) MM+MR opens a viewer with Edit whereas I prefer ET. How can that be fixed?
- A. In ETH Oberon open TextFrames.Mod. MM on Edit.Open.
In the Oberon sub-system of A2.
OpenCmd = "Edit.Open"
OpenCmd = "ET.Open"
Glossary[edit | edit source]
Also refer to the glossary in the Wikipedia article.
Active Oberon, the dialect appearing in system A2.
BRAM, Block Addressable Random Access Memory, as used in the FPGA machine.
Columbus, a software tool in ETH Oberon used to inspect and modify gadget attributes and to add a new attribute to a gadget. Usage described in the tutorial
Definition ( or Module Definition), a summary of a module presenting constant declarations, type declarations, variable declarations and procedure headings.
fixup, the conversion from address relative to the base address of the module, to absolute address.
Gadgets, software infrastructure in ETH Oberon providing graphical entities and a graphical user interface. Usage described in the tutorial.
Inner core, a significant architectural entity in an Oberon system. Refer to System Startup.
INTEGER, an integer type in every Oberon system.
Interclick, a click of a mouse button while holding another button. MM+MR below is an example. The mouse tutorial has additional details. When editing a Text at least six interclick combinations are meaningful.
Lola-2, a hardware description language developed by Niklaus Wirth.
Juice, an alternative to Java.
LDPSR, Load Processor Status Register, allows software to establish whether the processor can handle interrupts. Refer to https://people.inf.ethz.ch/wirth/FPGA-relatedWork/RISC-Arch.pdf , Section 5, Interrupts. Discussion in the mailing list begins at 2021-03-30. LinzOberon, an implementation of V4. Ref. mailing list, 2020-11-28.
LONGINT, an integer type in ETH Oberon. Synonymized to INTEGER in the current V5.
LUT, look up table of FPGA. Referenced when quantifying the size of a FPGA device.
ML, the left button of the mouse or a click of that button, depending on context. Ref. Mouse support. Abstract meaning: specify a location. Example: locate an insertion point in a Text.
MM, the middle button or the wheel of the mouse, or a click of the button or wheel, depending on context. Abstract meaning: invoke an action. Example: execute a command.
MR, the right button of the mouse or a click of that button, depending on context. Abstract meaning: select an extent. Example: select a character sequence in a Text.
MM+MR, a click of the right button while holding the middle button or the wheel of the mouse. MR here is termed an "interclick". In a Text, take the word under the mouse pointer as the name of a file and open the text editor on it.
MR+ML, a click of the right button while holding the left button of the mouse. When editing a Text, select characters and delete them.
ML+MM+MR, nullification of an inadvertent mouse click.
MT, in V5, the constant address of the module table.
native, modifies the name of an Oberon system to indicate that it is installed on bare hardware; distinguishing from a subsystem such as UnixA2 installed atop a host system.
Oberon.Text, a file in ETH Oberon and in A2O specifying system configuration.
OMI/Slim binary (Oberon Module Interchange), a mechanism created by Michael Franz and Thomas Kistler allowing efficient portability of any module between differing systems. The language from this work was named Juice. Compare with Apple Fat binary. Slim binaries are mentioned in compilers page in the section "Compiler deployment in ports no longer updated".
Outer core, a significant architectural entity in an Oberon system. Refer to System Startup.
.odc, the conventional file name extension for a BlackBox/Oberon-F file (short for Oberon DoCument) quite similar internally to Oberon Text format.
(** any comment *), appears in some module sources. It means that any comment is an exported comment. A tool named Def produces a module interface file with this comment included, thus enhancing internal documentation.
PICL, a programming language for the PIC microcontrollers.
(** portable *), this comment in ETH Oberon marked a module where OMI/Slim binary code was portable across platforms. More generally, it means there were no SYSTEM dependencies or machine specificities. This exported comment appears in the documentation created by the above mentioned browser, Def, which was integrated into a tool called Watson in ETH Oberon.
Registry, the content of Oberon.Text specifying file system aliases, sound adapter parameters, LinkSchemes, MIME types and etc.
SB, in V5, the static base address. The base address for variables in the current module.
SHORTINT, an integer type in ETH Oberon. Not in V5.
SIZE, a signed integer type pertaining to memory address in A2. The difference of two addresses can be negative. New numeric types appeared in rev.9475.
SP, in V5, the stack pointer address.
Symbol file, a linearized excerpt of the symbol table of the compiler. The file contains descriptions of all exported objects. Ref. section 12.6.2 of Project Oberon, 2013 Edition.
Watson, a tool capable of extracting a module definition from a definition file, module file, module Text or object file. Usage described in the tutorial.
WTS, Write To Script, refers to Write and Script variants of Text document and conversion of a Write Text to a Script Text. Write is in V4 and Script is in ETH Oberon.
Support[edit | edit source]
- Bug tracker, language documentation and etc. primarily for A2: http://cas.inf.ethz.ch/projects/a2/
- The Oberon mailing list: https://lists.inf.ethz.ch/mailman/listinfo/oberon
- The Oberon Community Platform, http://www.ocp.inf.ethz.ch/wiki/OCP/Home. Server at the ETH decommissioned early 2020.
Developing[edit | edit source]
A few potential projects.
- For any system, compile a fresh release, with bug fixes and improvements, and post on a public server.
- Make a TUI for A2.
- With the cryptography modules in ETH Oberon and in A2 as a base, build an SSL implementation for ETH Oberon.
- Improve support of Unicode.
- Using HTTPS, automate the download and upload processes. Allowing
MediaWiki.Get Oberon.Sort.Mod ... ~and
MediaWiki.Put Oberon.Sort.Mod ... ~for example.
- Improve HTMLDocs in ETH Oberon and in A2O. Add support for styling and tables, for example.
Licenses[edit | edit source]
ETH Oberon License[edit | edit source]
For compatibility with Wikibooks open the
ETH Bluebottle License[edit | edit source]
For compatibility with Wikibooks open the
Project Oberon, Revised Edition 2013[edit | edit source]
References[edit | edit source]
Approximate chronological order. Also refer to the Oberon Bibliography from ETHZ.
- N. Wirth, J. Gutknecht, Project Oberon, 1992(PDF).
- P.J. Muller, The Active Object System - Design and Multiprocessor Implementation(PDF), PhD thesis, Institute of Computer Systems, ETH Zurich, 2002. Containing the original description of A2.
- N. Wirth, Project Oberon, 2013 Edition. Originally published with co-author J. Gutknecht, 1992.
- Reviving a Computer System of 25 Years Ago, 2014 lecture by Prof. N. Wirth
- P. Reed, Project Oberon, 2015-present.
Links[edit | edit source]
- Catalog of Oberon Resources.
- ETH Hall of Fame and subsequent contributors.
- ETH Oberon Site Map. Formerly hosted at ETHZ and primarily addressing ETH Oberon and preceding systems.
- Oberon System 3 - Main Tutorial.
Footnotes[edit | edit source]
- The programming language with multiple dialects, various Oberon operating systems, computing hardware where the operating systems have been used and the hardware description language, Lola-2, used to configure a FPGA.
- In the preface of The Oberon System (Pub. Addison-Wesley, 1991) Martin Reiser commented "It is the most responsive system by far known to the author. This responsiveness substantially improves user productivity;"
- With contemporary facilities, the base system is easily installed using the Oberon0.Dsk image and a hypervisor such as QEMU. Refer to the installation instructions for ETH Oberon.
- An Oberon system contains hundreds and in some cases thousands of modules. Only a small sample of modules are presented here. Nevertheless even one insight can advance understanding and one small bug fix can be essential to success in a task.
- With Oberon-2 being a superset of Oberon, much of the source is Oberon while all is Oberon-2. See language report.
- Sources of Oberon V4 at SourceForge
- Matthias, Peter. "Oberon Linux Revival". http://oberon.wikidot.com/.
- In some cases the host environment is a bare machine. Otherwise it is a machine running another system.
- Pertinent information is in the NS32xx site. See FPGA example and wire wrap example. Modules not available from the original book must also be obtained or written and sources must be compiled. A V5 system will be a helpful precursor.
- Including the Transmeta Crusoe 5400 and the StrongARM SA 110 and SA 1110.
- A PC can boot from an Oberon0 diskette in an internal drive. In that case installation of ETH Oberon can proceed directly without involvement of DOS. Oberon Tutorial Part 2 includes a helpful explanation of the user interface.
- Note "Current state ... network not working."
- V4 can also execute on obsolete systems 680x0 MacIntosh and PowerMac with MacOS to version 9 inclusive, Amiga, Atari ST, DECstation, HP-UX, IBM RS/6000, SGI IRIS and SPARC with Solaris. Refer to https://sourceforge.net/p/oberon/oberonv4/ci/master/tree/ and ftp://ftp.ssw.uni-linz.ac.at/pub/Oberon/. A native version has not been produced.
- olymp.idle.at has verion 1.7.02. The last version at JKU Linz is 1.5.
- GPCP provides a compiler for Component Pascal; not a full Oberon subsystem.
- During the summer of 2019 work was underway at the ETHZ to improve portability and other aspects. Until the work is completed, the user may encounter difficulties with the native variant of A2. The Oberon subsystem remains available in UnixA2 and WinA2. A notice is in the mailing list archive at 2019-07-03. Patience is advised.
- The SDL2 library and a C99 capable C compiler are required. GCC or Clang suffice for compiling the emulator.
- The Oberon compiler, for example, can be executed at the Unix command line.
- EO does not modify the RISC processor; it modifies only the Oberon system which runs on it.
- The TypeRules document is noteworthy. Specific aspects of types are discussed in the mailing list beginning at 2019-12-07.
- Friedrich, F., Negele, F., "Proposal for Modules Contexts"
- Video Tutorial 2, produced by Andres Ramos, illustrates salient features of the interface in a readily digestible manner.
- Using the mouse and the keyboard http://www.ethoberon.ethz.ch/ethoberon/tutorial/Mouse.contents.html
- Franz, Michael (2000). "Oberon - The Overlooked Jewel". in Böszörmény, Lászlo; Gutknecht, Jürg; Pomberger, Gustav. The School Niklaus Wirth - The Art of Simplicity. Morgan Kaufmann Publishers. pp. 41–53. ISBN 1-55860-723-4. https://pdfs.semanticscholar.org/d48b/ecdaf5c3d962e2778f804e8c64d292de408b.pdf. Retrieved 2017-12-14.
- Reiser, Martin: "The Oberon System - User Guide and Programmer's Manual" - Out-of-print - Addison-Wesley/ACM Press (1991) ISBN 0-201-54422-9
- Wirth, Niklaus (2015). "How to use the Oberon System". https://www.inf.ethz.ch/personal/wirth/ProjectOberon/UsingOberon.pdf.
- André Fischer & Hannes Marais: The Oberon Companion. A Guide to Using and Programming Oberon System 3. vdf Hochschulverlag AG (1997). ISBN 978-3728124937, out of print, for a personal copy, see notes in text
- As a point of interest, each case is easily displayed explicitly. In an Oberon system with the hexadecimal editor, Hex,
Hex.Open <aFile>. In ETH Oberon a file with lines ending CR LF is edited by
- With Text being a fundamental type in an Oberon system, "Oberon Text" is considered a proper name. Hence the capitalization "Text".
- Photo at the ETHZ and the Oberon system.
- Ceres-1 and Ceres-3 at the Computer History Museum
- ETH Oberon includes floating point calculations in software, allowing full functionality in absence of a 80387 coprocessor
- Visible in vertical orientation adjacent to the green PS/2 adapter, in the photo on page 5 of Project Oberon
- Installation data and instructions
- Explained further in the Oberon mailing list at 2019-02-09.
- A Text can include non-character objects. Any object in the selection is also deleted.
- Refer to section 8.1 , page 104 in Project Oberon, 2013.
- Renaming of numeric types in A2