πŸ’Ύ Archived View for sdf.org β€Ί rsdoiel β€Ί blog β€Ί 2019 β€Ί 07 β€Ί 28 β€Ί freedos-to-oberon-system-3.gmi captured on 2024-06-16 at 12:43:27. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

FreeDOS to Oberon System 3

By R. S. Doiel, 2019-07-28

UPDATE: (2021-02-26, RSD) Under VirtualBox 6.1 these
instructions still fail. My hope is to revise these
instructions when I get it all sorted out.
Many links such as the ftp site at ETH Oberon are
no more. I've updated this page to point at Wayback machine
or included content in here where I cannot find it else where.
UPDATE: (2021-02-19, RSD) Under VirtualBox 6.1 these instructions
fail. For VirtualBox I’ve used FreeDOS 1.3rc3 Live CD installing
the β€œPlain DOS” without problems.
UPDATE: (2021-03-16, RSD) After reviewing my post, correcting
some mistakes I finally was able to get FreeDOS up and running
on VirtualBox 6.1. This allows NativeOberon 2.3.6 to be brought
up by booting the "oberon0.dsk" virtual floppy and following
the instructions included. You need to know how to use
the Oberon mouse and the way commands work in Oberon.

What follows are notes on getting a FreeDOS 1.2[^1] and then Native Oberon[^2] running under VirtualBox 6.0. You might wonder why these two are together. While it was easy to run the Native Oberon installation process that process assumes you have a properly partitioned hard disk and VirtualBox seems to skip that process. I found taking advantage of FreeDOS simplified things for me.

My goal was running Oberon System 3, but setting up a Virtual Box with FreeDOS 1.2 gave me a virtual machine that functions like a 1999 era PC. From there all the steps in the Oberon instructions just worked.

Creating FreeDOS 1.2 Virtual Box

I've been doing a bit if computer history reading and decided to bring up some older systems as a means to understand where things were. The first computers I had access to were 8080, 8086 machines running MS DOS based. My first computer programming language was Turbo Pascal. Feeling a bit nostalgic I thought it would be interesting to use it again and see what I remembered from the days of old. While PC and MS DOS no longer exist as commercial productions an wonderful group of Open Source hackers have brought new life into DOS with FreeDOS 1.2[^3]. You'll find many of your old familiar commands but also some nice improvements. You can even run it under VirtualBox which is what I proceeded to do.

VirtualBox 6.0 setup

The FreeDOS[1] website includes a CD ROM image that you can use to install it. There are couple small hitches though to get it working under VirtualBox. First go to the download[2] page and download the CDROM "standard" installer"[3].

1: https://freedos.org

2: https://freedos.org/download

3: http://www.freedos.org/download/download/FD12CD.iso

While that is downloading you can setup your VirtualBox machine. First to remember is DOS compared to today's operating systems is frugal in its hardware requirements. As a result I picked very modest settings for my virtual machine.

1. Launch VirtualBox

2. From the menu, pick Machine then pick new

3. Name your machine (e.g. "FreeDOS 1.2"), select the type: "Other" and Operating system of "DOS"

4. Set memory size as you like, I just accepted the default 32MB

5. Hard disk, pick "Create a virtual hard disc now"

6. Hard disk file type, pick "VHD (Virtual Hard Disk)"

7. Storage on physical hard disk, I picked Dynamically allocated both either is fine

8. File location and size, I accepted the default location and size

9. Before starting my FreeDOS box I made a couple of changes using "settings" menu icon a. Display, I picked bumped memory up to 128M and picked VBoxSVGA with 33D acceleration (for games) b. Storage, I added a second floppy drive (empty) c. Network, I picked attached to NAT

10. When looking at my virtual machine's detail page I clicked on the Optical drive (empty), click "choose disc image" and pointed at the downloaded installed CD

11. Click Start.

12. At "Welcome to FreeDOS 1.2" blue screen, hit TAB key

13. You will see a line that begins with a boot instruction. Add a space than add the word "raw" (without quotes) press enter

14. Follow the install instructions, when you get to "Drive C: does not appear to be partitioned" dialog, pick "Yes - Partition drive C:"

15. On the next screen pick "Yes - Please reboot now"

16. When at the "Welcome to FreeDOS 1.2" screen hit TAB again

17. Once again add a space and type "raw" to the command then press enter

18. Pick "Yes - continue with the installation"

19. Pick "Yes - Please erase and format drive C:"

20. At this point its a normal FreeDOS install

21. When the install is done and reboots "eject" the virtual CD form the "Optical Drive" in the VirtualBox panel, then choose "boot from system disk",you now should have a working FreeDOS on VirtualBox

Native Oberon System 3 on Virtual Box

Native Oberon can be found at http://www.ethoberon.ethz.ch/native/[4]. There is a related ftp site[^4] where you can download the necessary files for the stand alone version.

4: http://www.ethoberon.ethz.ch/native/

Here's the steps I used in my Mac to download Native Oberon and into a file on my desktop called "NativeOberon-Standalone". Open the macOS Terminal application. I assume you've got a Unix command called wget[5] already installed[^5].

5: https://en.wikipedia.org/wiki/Wget

NOTE: The ETH ftp server is no more. I've included Web Archive
links and links to my own copies of the files needed to
install Native Oberon 2.3.6 in the paragraphs that follow.
RSD, 2021-03-16


    cd
    mkdir -p Desktop/NativeOberon-Standalone
    cd Desktop/NativeOberon-Standalone
    wget ftp://ftp.ethoberon.ethz.ch/ETHOberon/Native/StdAlone/

Clone your FreeDOS Box first. You'll want to do a "Full Clone". You'll also want to "remove" any optical disks or floppies. You do that from the virtual boxes' detail page and clicking on the drive and picking the "Remove disk from virtual drive" in the popup menu.

At this point we have a a virtual machine that is very similar to an 1999 era PC installed with MS DOS. Native Oberon[6] Normally you'd install Native Oberon via 1.44MB floppy disks[7]. We can simulate that with our Virtual machine. In the folder of you downloaded there is disc called "oberon0.dsk". That can go in our first floppy drive. But how to we get the rest of the files onto a virtual floppies? This wasn't obvious to me at first.

6: http://web.archive.org/web/20190929033749/http://www.ethoberon.ethz.ch/native/

7: /blog/2019/07/28/NativeOberon-StnAlone-2.3.6.zip

The Oberon install disks were organized as follows

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”
β”‚    PACKAGE    β”‚     FILENAME     β”‚   SIZE   β”‚ DSK β”‚
β•žβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•ͺ══════════════════β•ͺ══════════β•ͺ═════║
β”‚ Oberon-0      β”‚ oberon0.dsk[8]   β”‚          β”‚ 0   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€
β”‚ Gadgets       β”‚ gadgets.arc[9]   β”‚ 1.4  2.9 β”‚ 1   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€
β”‚ Documentation β”‚ docu.arc[10]     β”‚ 1.3  2.5 β”‚ 2   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€
β”‚ Applications  β”‚ apps.arc[11]     β”‚ 1.3  2.8 β”‚ 3   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€
β”‚ Tutorials     β”‚ tutorial.arc[12] β”‚ 0.3  0.8 β”‚ 4   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€
β”‚ Pr3Fonts      β”‚ pr3fonts.arc[13] β”‚ 0.3  0.6 β”‚ 4   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€
β”‚ Pr6Fonts      β”‚ pr6fonts.arc[14] β”‚ 0.5  1.8 β”‚ 4   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€
β”‚ Source1       β”‚ source1.arc[15]  β”‚ 0.9  2.5 β”‚ 5   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€
β”‚ Source2       β”‚ source2.arc[16]  β”‚ 1.2  3.5 β”‚ 6   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€
β”‚ Source3       β”‚ source3.arc[17]  β”‚ 0.6  1.7 β”‚ 7   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”˜

It turns out you can create 1.44MB Fat16 disc images from the Virtual Box 6.0 floppy drive link. When you click on the floppy drive in the details page you have a choice that includes "create a new floppy disc". Select this, find the disc a filename like "disk1". Click on the virtual floppy disk in the Virtual Box and "remove" the disc then create disk2, disk3, etc. In each the empty disc image files places the files from the table above. These image files can then be opened on your host operating system and files copied to them. It's a tedious process but this gives you something the Oberon System can read and install from. Originally I just put all the files into an ISO CD ROM image but I could not figure out how to mount that from this version of Oberon. Now when you start up your Oberon V3 virtual machine you can install the rest of the software like Gadgets.

8: oberon0.dsk

9: gadgets1.arc

10: docu.arc

11: apps.arc

12: tutorial.arc

13: pr3fonts.arc

14: pr6fonts.arc

15: source1.arc

16: source2.arc

17: source3.arc

[^1]: FreeDOS is an Open Source implementation of PC/MS DOC

[^2]: Native Oberon is a 1990's version of Oberon System running on i386

[^3]: Download FreeDOS from http://freedos.org/download

[^4]: Download Native Oberon Stand Alone from ftp://ftp.ethoberon.ethz.ch/ETHOberon/Native/StdAlone

[^5]: wget is easily installed with HomeBrew[18] or Mac Ports[19]

18: https://brew.sh/

19: https://www.macports.org/