QMEG-OS

Year
1987
Type
Upgrade
Category
Replacement operating system ROM (XL/XE, 256 KB machines)
Manufacturer
Stefan Dorndorf (Germany)

Overview

QMEG-OS, short for "Quarter-Mega Operating System", is a replacement OS for Atari XL and XE computers written by Stefan Dorndorf in Germany. Version 3 appeared in 1987 and QMEG+OS 4.04 in 1997. It was designed for machines expanded to 256 KB (64 KB plus 192 KB of PORTB-banked memory), a popular upgrade size in Europe. It turns the extra memory into RAM disks handled entirely by the OS. It also builds in high-speed SIO for the popular drive upgrades, a machine-language monitor, a disk copier, a file loader and a "freezer" that can save and reload a running program. QMEG became a fixture of the European scene. Later DOS versions, the SIO2BT tools and some OS-switching boards were written to recognise or include it.

Specifications

Item QMEG-OS V3 (1987) QMEG+OS 4.04 (1997)
Author Stefan Dorndorf Stefan Dorndorf
Memory 256 KB total (192 KB banked) Same; supported upgrades include Compy-Shop, Megaram, Buchholz, ABBUC, Atari Magazin, Klan Atari and Newell. RAM disks unavailable on 64 KB or 128 KB machines
RAM disk layouts Two 90 KB (SD) drives; or 128 KB (ED) + 64 KB; or one 180 KB (DD) Same, with the 64 KB disk optionally DOS 2.5-compatible
Extra 5.25 KB mini RAM disk for DOS (popular with DOS II+/D 6.4) Large Bibo-DOS, Turbo-DOS and MyDOS disks; MyDOS subdirectories
High speed US Doubler (UltraSpeed), Happy (Warp Speed) US Doubler, 1050 Turbo (Turbodrive), XF551, detected automatically
Tools Monitor with disassembler, disk copier, COM/BIN loader, Epson printer drivers (P2:, P3:) Monitor (MLM 2.3), copier, COM/BIN/BAS/CAS loader, boot from any drive, read-only CAS cassette-image simulator
Removed PBI/ECI support, Self Test, international character set Self Test, international character set, standard C: handler

V3 also supports a homebrew second-PIA modification that gives the Atari a built-in Centronics printer port at $D6xx.

How it works

QMEG replaces the XL OS ROM, usually on a switch board that keeps the stock OS available. TOMS, for example, installed TOMS OS, QMEG and the standard XL OS together on one switchable board. On power-up it behaves like a normal XL OS, but its SIO code checks which high-speed protocol each drive speaks and uses it automatically. Micro-SpartaDOS, for example, turns its own high-speed code off when it detects QMEG.

The QMEG menu. Holding SELECT while pressing RESET opens the menu. From there you can:

  • turn BASIC or a cartridge on or off, or switch to plain XL mode;
  • choose the boot drive and set each drive to normal or fast;
  • assign RAM disks X and Y to D1:, and set RAM disk X to single, medium or double density;
  • read a whole disk into RAM disk X and write it back out (a quick copier);
  • list directories, including Bibo-DOS/Turbo-DOS and quad-density formats;
  • toggle function keys, DLIs and vertical-blank sync, and use TAB to switch between warm and cold restarts;
  • generate a DOS 2.5-compatible RAM disk;
  • jump into the monitor with RETURN.

The monitor (MLM 2.3 in version 4) dumps memory in hex, decimal and ATASCII, disassembles, moves, compares, fills and searches memory, reads and writes disk sectors, edits the CPU registers and PORTB, and starts programs at any address.

The freezer. CTRL+HELP freezes the running program. You can then save its state to RAM disk X or Y (CTRL-S or SHIFT-S), load or swap it, poke memory, and press HELP to carry on. The menu can also write a frozen program to disk and read it back later.

Keyboard extras. With function keys enabled, CTRL plus the number keys toggle key click, cursor speed and the screen, and jump the cursor to the screen edges. SHIFT+RESET forces a cold start, OPTION+RESET boots with BASIC, and START+RESET boots in XL mode.

Using it today

QMEG+OS 4.04 still circulates as a ROM image. It can be burned to an EPROM, loaded into flash-OS upgrades that accept custom OS images, or run in an emulator. Points to know:

  • It wants extended memory. On a 64 KB or 128 KB machine the RAM disks are unavailable, but the high-speed SIO and monitor still work.
  • Cassette. The standard C: handler is gone. QMEG+OS replaces it with a read-only cassette-image simulator, so use the stock OS for real tapes.
  • SIO2BT. The SIO2BT OS patcher can patch the QMEG+OS 4.04 ROM file for Bluetooth timing.
  • Emulators. Altirra dropped one of its disk acceleration hooks specifically because QMEG handles a disk-control variable in a non-standard way. That's a reminder that QMEG takes its own path through the SIO code.
  • DOS pairing. DOS II+/D 6.4 can load itself into QMEG's extra RAM (V3), and MyDOS, Bibo-DOS and Turbo-DOS disks are all understood by QMEG+OS.

Compatibility

  • Computers: XL/XE with an OS socket (or a switch board). Best with a 256 KB upgrade of a supported type.
  • Drives: standard drives, plus US Doubler/UltraSpeed and 1050 Turbo/Turbodrive drives and the XF551 at high speed. Version 3 also supports Happy Warp Speed.
  • Not supported: PBI devices (V3), Self Test, the international character set.

Credits