5.2.20
04/05/20
Last Modified 12/02/10 by Walter Tasin
en_OS9_x86_Install Reload Page

Munich University of Applied Sciences
Dept. Electrical Engineering and Information Technology
Microcomputer Systems Laboratory
Software Development Laboratory

W. Tasin, M.Sc.

OS 9/x86 Running on QEmu

Klicken Sie hier für die deutsche Anleitung.

This document describes how to install a virtual machine with OS 9/x86 operating system on a PC.
The prerequisite is an installation package whose creation is described here (German), but for starters you can download the already configured package (s. the next chapter).

Download the package

An already created installation package can be obtained here:
OS9000-4.9_on_QEmu-with-XiBase9_en.zip

You also find a usable virtual hard disc image (60 MB) with OS 9/x86 in this package.

Installation and first start

Unzip the package into a directory of your choice on your local hard disc. So the primary installation is already done.
The batch file OS9000.bat inside the created directory can now be used to start the virtual OS 9/x86 machine in mode For Testing w/o Hawk (choice no. 2).

dir-start.png

batch.png

HINT: The firewall of your host system will possibly show up a dialog and ask you if the network access by qemu.exe still has to be blocked. In that case please select the option to never block the network traffic from qemu.exe.

The virtual machine should appear in an extra window:
os9000.png

HINT: Clicking inside the OS9/x86 window will capture the mouse pointer ... It can be released by pressing the key combination Ctrl-Alt.

HINT: There is no command to reboot or shutdown the system! Simply close the window of the guest system (OS9/x86 system).

Testing w/o Hawk

In this mode the OS9/x86 virtual machine is hidden behind a QEmu-build-in firewall.

But this means a big disadvantage. The virtual machine has the possibility to initiate connections to the internet, but the host system (= development system) can't access the virtual machine.

To resolve this problem, you have to continue the installation with the next chapter.

Installing the network connection

Adding the TAP device

The TAP device is necessary to make it possible for the host system (= development system) to access the guest system (= target system).
This is necessary to upload a developed module with the Hawk-IDE to the virtual OS 9/x86 machine.

HINT: The following part of the installation has to be done with administrator privileges, because a pseudo network device has to be added to the host system.

Open the subdirectory OpenVPN-TAP-Device in your package folder:
tap-inst1.png
Start the batch file addtap.bat.
Now the pseudo network device will be installed. You only have to select Continue Anyway in the following dialog:
tap-inst2.png
After that you have to close the command prompt of addtap.bat by pressing a key.

Renaming the connection

Now you have to rename the device, because this qemu installation expects the name tap0.
Open the dialog Network Connections inside the Control Panel:
tap-ren1.png
Click with the right button on the newly created network connection and select Rename.
HINT: You should use the network connection, which is attached to the device TAP-Win32 Adapter V8. Another way to select the correct connection is to use the connection name with the currently highest number.
tap-ren2.png
Enter the name tap0 for this connection.

Setting up the IP address

Next you have to set up the IP address for this connection to 10.0.2.2.
Select Properties in the popup menu.
tap-ip1.png
In this dialog doubleclick on Internet Protocol (TCP/IP):
tap-ip2.png
now set up the property values as you can see in the following image.
tap-ip3.png

Close all open dialogs with OK or Close.
At this point you have finished the installation of the necessary network connection for the virtual machine.

This interface allows the host system (IP: 10.0.2.2) to connect to the virtual machine (IP: 10.0.2.14).

Checking the installation

Start again the virtual OS-9 system with the batch file OS9000.bat.
Now select choice 1 (HAWK-developing).

After the OS9/x86 system has started, please open a Command Prompt from your host system and enter the following command:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\wt> telnet 10.0.2.14

The follow screen should appear:
telnet.png
You can log into the guest system with the already existing user super and the password user.

HINT: Don't start more than one instance of the virtual system, because all of them would use the same hard disc image.





Uninstalling

To remove the OS9000 system completely from your PC, you have to follow only these 2 steps:

Remove the TAP devices

Call the batch file deltapall.bat in the OpenVPN-TAP-Device subdirectory.

HINT: With this batch file all of the installed TAP pseudo network devices will be removed.

Delete the directory 'OS9000 on QEmu-with-XiBase9 (en)'

To complete the uninstalling process, you simply have to delete the OS9000 on QEmu-with-XiBase9 (en) folder from your local hard disc.





Resources

Munich University of Applied Sciences - FK 04
RadiSys

QEmu on Windows
QEmu on Windows - Download

OpenVPN

TUN/TAP with QEmu




Updates

Filename Remark Date
OS9000_on_QEmu-with-XiBase9_en.zip New SDL.DLL with activated DirectX support 20.07.2007
OS9000-4.9_on_QEmu-with-XiBase9_en.old.zip new TAP device, new OS9 version 4.9 08.11.2009
OS9000-4.9_on_QEmu-with-XiBase9_en.zip MAXAGE has now the value 255 (Priorities >255 -> realtime) 02.12.2009