Back to: Native Oberon Hardware Compatiblity List

Display support

Summary

Together with a number of drivers, specifically designed for the graphic cards listed in the Native Oberon Hardware Compatiblity List, Oberon includes a number of generic drivers capable of supporting a variety of other graphic cards. The drivers can be categorized in: The graphic card is a critical component of your system and the success of an installation depends on the correct choice of a driver. Modern graphic controllers can be operated in all modes: bank switching, linear frame buffer, accelerated. Even under the harshest circumstances, the low-level VGA driver should support almost every graphic card. Little technical wizardry is required to get that one working and therefore it is used in Oberon-0. Some Oberon drivers support TrueColor, provided the graphic card is up to it: S3 Trio64, 3Dlabs Permedia 2 and VESA drivers. A screen resolution of 1'024 x 768 pixels with at least 32'768 colors is recommended.

Modern display units with DVI-D interface can be used provided the DVI graphic card supports VESA. The picture quality is noticeably better.

How to determine your video chipset

How to install a display driver

A display driver is selected during the installation process after starting Oberon-0 from diskette. Configure.Tool lists the specific and the generic drivers with their video modes (resolution x depth). Knowing the graphic card model and the chipset type, the most appropriate driver is selected by following this strategy:

  1. Start by looking for a Config.Display line matching the graphic card specs. This specific driver is the best choice. Execute the command and if necessary select a more appropriate video mode than the default proposed by Oberon.
  2. Next, if your card is not supported, find out if it supports VESA 2.0 or VESA 3.0 by executing Config.DetectVesa. This command does not work with all graphic cards though. An older card might reveal "No suitable VESA mode found". The same result is obtained with a non-VGA card such as the Permedia 2 (the specific driver is the solution).
  3. Execute the the most appropriate Config.Display command or explore the generic VESA 2.0 and 3.0 drivers.
  4. The ultimate and poor man's choice is VGA.

When the installation is finalized, the configuration data is then stored in the partition or in Native.Par. Now reboot the machine to start Oberon proper. If the configuration data for the display driver is not correct, booting may stop with a black screen. To verify whether the display driver is causing the booting problem, trace the boot process as explained below.

To install another driver, re-do an installation from Oberon-0, but this time skip the partition create, format. Mount the destination partition and cut short to the Configure.Tool to select another display driver and finalize the installation.

Older graphic card support

Some older graphic cards only support VESA 1.2 or below (detected by executing Config.DetectVesa). Nevertheless, under certain conditions it is possible to upgrade to a VESA 2.0 mode of operation, so that one can enjoy full SVGA with the card. A VESA 2.0 BIOS extension program is required to initialize the display card into a linear framebuffer mode. Provided that Oberon is started in DOS mode, the BIOS extension program is executed prior to calling noboot.exe. After startup, Oberon takes over control without further ado. Use for example the SciTech Display Doctor for DOS only program, and in DOS execute univbe.exe. Alternatively, a even less demanding shareware / freeware univbe.exe program can also be used.

This technical trick cannot be used if the machine starts up directly into Oberon or if an Oberon boot diskette is used.

Display fonts

The Oberon font delivered with the system is commonly used, but other fonts may be used.

DPMS

The VESA Display Power Management Signaling standard is not supported. Instead, a screen saver SavePoints is included and ready for use - cfr. Oberon.Text

Technical: Display config strings

The following config strings used at startup, are defined and stored during the installation of Oberon from an Oberon-0 diskette. There is little need to adjust them otherwise, except Init=9090 which can be very useful. They appear here with an example value, as obtained with Partitions.GetConfig prefix ~

For developers: How to write a display driver

If all attempts to use one of proposed display drivers fail, you might attempt to write a suitable driver, based on the Guidelines for writing a display driver. Also cfr. Graphics Programming Tutorials.

Example: a user of an IBM Thinkpad 760ED with a Trident Cyber9385 video chipset could not get the full 1024 x 768 resolution with the supplied SVGA driver. Using these observations and the guidelines, the existing SVGA.Display.Mod was adapted and extended. Two simple lines of code in a new procedure SwitchTrident9xxx were enough.

(* SwitchTrident9xxx - Bank switch procedure for Trident 9xxx family - 9000C and higher *) 
PROCEDURE SwitchTrident9xxx(bank: LONGINT); 
BEGIN 
   curBank := bank; 
   SYSTEM.PORTOUT(3D8H, CHR(bank)); 
   SYSTEM.PORTOUT(3D9H, CHR(bank)) 
END SwitchTrident9xxx;
and a new discriminating value (8) was added in Init:
  |7: switch := SwitchMach32;  Kernel.WriteString("ATI Mach32"); 
  |8: switch := SwitchTrident9xxx;  Kernel.WriteString("Trident9xxx") 
  ELSE switch := SwitchLinear; Kernel.WriteString("Vesa Linear frame buffer at"); 
   linearbase := VesaAdr; Kernel.WriteHex(linearbase, 9) (* used with MapVesa=1 *) 
 END;
The config strings that will be used for supporting Trident 9xxx 1024 * 768 * 8 are:
   Init=bb0501b8024fcd10
   SVGA=8

Anyone who does extend a display driver in this manner is invited to forward his/her code snippets to Pieter Muller for inclusion in the next version.

[Top]

14 Jan 2003 - Copyright © 2003 ETH Zürich. All rights reserved.
E-Mail: oberon-web at inf.ethz.ch
Homepage: www.ethoberon.ethz.ch