← All spotlightsSystem / Settings

Spotlight › Control Panel

The wide Control Panel

On a VGA or VESA screen, the Control Panel now opens at 616 by 408 pixels instead of 320 by 151. The extra room holds a driver library, every screen mode the graphics card offers with a way to try one safely, and the themes as pictures.

The Theme page
Recorded in real time in QEMU on a modern Mac, VGA at 640 by 480.
Window on VGA
616 × 408
Memory while open
About 29KB
Added to the kernel
16 bytes

01 / What it is

What it is

The Control Panel is where os8088 keeps its settings: the clock, the keyboard layout, the floppy drives, the drivers, the display, the sound card, the colours and the Dock. It was designed to fit a CGA screen, which is 200 pixels tall, so it was 320 by 151 pixels and each page showed a few lines at a time.

A VGA screen is 640 by 480, and a VESA card, the standard later graphics cards use for larger screens, goes to 1024 by 768 and beyond. On those screens the Control Panel now opens at 616 by 408, or 760 by 520 on a screen of 800 by 600 and up. The pages are grouped under System, Hardware and Appearance, each with an icon. Each page has a heading saying what it is for, and a line along the bottom shows the free memory and how many drivers are loaded.

Three pages are new. The Drivers page is a library: it sorts the drivers into Display, Sound, Storage, Network, Input and Memory, and for each one says what it does, how much memory it takes, whether it is loaded and whether it starts with the machine. The Display page lists every screen mode the VESA card reports, with its colours and the video memory it needs, and Test tries one for 15 seconds. The Theme page shows the four themes and eight colour presets as small pictures. The other pages are the ones the compact panel has, shown in the larger frame.

02 / On the screen

On the screen

Drivers, VGA
The Drivers page on VGA: tabs for All, Display, Sound, Storage, Network, Input and Memory, a list of twelve drivers with an icon, a status, a memory figure and a Start at boot box each, VESA Display selected and Loaded, and a Details panel saying it gives 800 by 600 and 1024 by 768 desktops in many colours and needs a VBE graphics card, with Load, Unload, Settings and Ports buttons.
Every driver on the system disk, sorted by kind, with what it is for and its memory. VESA Display was just loaded. QEMU.
Display, VESA 1024 by 768
The Display page on a 1024 by 768 VESA desktop: the adapters VGA 640x480, VESA 1024x768 running and CGA 640x200, a mode preview, and a table of the card's modes from 640 by 400 to 1024 by 768 in 256 and 65,536 colours with the memory each needs, the last marked current and recommended. Below, Use mode at startup, Apply, Test, and the card's facts: VBE 3.0 with 16MB of video memory.
The modes come from the card itself, so a card with other modes shows other rows. QEMU's VESA card.
Testing a mode, VESA 800 by 600
The Display page after pressing Test on 800 by 600 in 256 colours: the screen is now 800 by 600, the row is marked current, and a box at the bottom asks Keep this mode? with Reverting in 9 seconds and Keep and Revert buttons.
Test switches the screen for 15 seconds. Without Keep, the old mode comes back by itself. QEMU.
Theme, VGA, Color with the green preset
The Theme page on VGA with the Color theme and the green preset picked, so the desktop and the title bar are green: pictures of the Bright, Dark, Color and Windows themes, eight colour presets, a Customize button, Window animations On and Off, and a starfield preview of the screen saver with a Settings button.
Each theme and preset is a picture of what it looks like. Click one and the desktop changes to match. QEMU.

03 / How it works

How it works

The Control Panel is not part of the resident system. It is a file on the system disk, read into memory when you open the panel and freed when you close it, so the rest of the time it takes no memory at all. The wide layout works the same way, as a second file read beside the first. Everything the panel can change, it changes through the same code the compact layout uses, so the two layouts cannot disagree about a setting.

The wide layout and its data together take about 29KB while the panel is open: 13.5KB for the layout and 15.5KB for its icons and the driver descriptions. All of it is given back when you close the panel. The kernel file grew by 16 bytes.

The driver descriptions, categories and icons are a data file, not code. A new driver gets its line in the library by adding an entry to that file. The Display page asks the VESA driver for the card's modes when it opens, so a card with modes nobody planned for still lists them, with how much video memory each needs.

The icons began as images generated from written prompts, then were converted to the screen's 16 colours by a program on the build machine, with a mask, so they also draw correctly in black and white.

04 / Where it does not appear

Where it does not appear

CGA, EGA and Hercules keep the compact panel. Their screens are 200, 350 and 348 pixels tall, and the wide panel needs a screen of at least 640 by 480 with 408 rows free.

So do the small systems. The 128KB system and the 360KB system disk leave the wide layout out, to keep the room for programs.

A Dock at the side can stop it. When the Dock stands at the left or right edge and leaves too little width, the panel opens compact. Anything that stops the wide layout from loading, such as a missing file or too little free memory, opens the compact panel instead, without a message.

05 / Open it

Open the wide Control Panel

  1. Boot a 1.44MB, 1.2MB or 720KB system disk, the 286 system disk or the live USB or CD, on a machine with a VGA or VESA card.

  2. Click the menu at the left end of the menu bar and choose Control Panel. The system disk must be in drive A.

  3. For the larger VESA screens, open Drivers, select VESA Display and press Load, then restart. The Display page then lists the card's modes.

  4. Close the panel to save your settings.