Graphics Environment Manager
PC running GEM desktop in EGA on a monochome monitor.
|Developer(s)||Digital Research, Inc. / Lee Jay Lorenzen|
|Initial release||February 28, 1985|
GEM/3 3.11 / November 3, 1988
GEM is known primarily as the graphical user interface (GUI) for the Atari ST series of computers, and was also supplied with a series of IBM PC-compatible computers from Amstrad. It also was available for standard IBM PC, at the time when the 6 MHz IBM PC AT (and the very concept of a GUI) was brand new. It was the core for a small number of DOS programs, the most notable being Ventura Publisher. It was ported to a number of other computers that previously lacked graphical interfaces, but never gained popularity on those platforms. DRI also produced X/GEM for their FlexOS real-time operating system with adaptations for OS/2 Presentation Manager and the X Window System under preparation as well.
- 1 History
- 2 Description
- 3 See also
- 4 References
- 5 External links
GEM started life at DRI as a more general purpose graphics library known as GSX (Graphics System Extension), written by a team led by Don Heiskell. Lee Lorenzen (at Graphic Software Systems, Inc.) who had recently left Xerox PARC (birthplace of the GUI) wrote much of the code. GSX was essentially a DRI-specific implementation of the GKS graphics standard proposed in the late 1970s. GSX was intended to allow DRI to write graphics programs (charting, etc.) for any of the platforms CP/M-80, CP/M-86 and MS-DOS (NEC APC-III) would run on, a task that would otherwise require considerable effort to port due to the large differences in graphics hardware (and concepts) between the various systems of that era.
GSX consisted of two parts: a selection of routines for common drawing operations, and the device drivers that are responsible for handling the actual output. The former was known as GDOS and the latter as GIOS, a play on the division of CP/M into machine-independent BDOS and machine-specific BIOS. GDOS was a selection of routines that handled the GKS drawing, while GIOS actually used the underlying hardware to produce the output.
Known 8-bit device drivers
- DDFXLR7 Epson and Epson-compatible printers
- DD-DMP1 Amstrad DMP1 printer (aka Seikosha GP500M-2)
- DDSHINWA Printers using Shinwa Industries mechanism
- DDHP7470 DD7470 Hewlett Packard HP 7470 and compatible pen plotters, HP-GL/2
- DDMODE0 Amstrad CPC screen in mode 0
- DDMODE1 Amstrad CPC screen in mode 1
- DDMODE2 Amstrad CPC screen in mode 2
- DDSCREEN Amstrad PCW screen
- DD7220 Hewlett Packard HP 7220, HP-GL
- DDGDC DDNCRDMV NEC µPD7220
- DDGEN2 Retro-Graphics GEN.II (Ratfor source code in Programmer's Guide)
- DDHI3M Houston Instrument HiPlot DMP
- DDHI7M Houston Instrument HiPlot DMP
- DDMX80 Epson MX-80 + Graftrax Plus
- DDVRET VT100 + Retro-Graphics GEN.II (aka 4027/4010)
- DDFXHR8 Epson hi-res, 8-bit
- DDQX10 QX-10 screen
- DDCITOH C. Itoh 8510A
- DDFXLR8 Epson lo-res, 8-bit
- DDESP Electric Studio Light Pen (Amstrad PCW)
- DDOKI84 Oki Data Microline
- DDBBC0 BBC Micro screen in mode 0
- DDBBC1 BBC Micro screen in mode 1
- DDCITOLR C. Itoh 8510A lo-res
Known 16-bit device drivers
- DDANADXM Anadex DP-9501 and DP-9001A
- DDCITOLR C. Itoh 8510A lo-res
- DDCNTXM Centronics 351, 352 and 353
- DDDS180 Datasouth
- DDIDSM IDS Monochrome
- DDLA100 DEC
- DDLA50 DEC
- DDOKI84 Oki Data Microline
- DDPMVP Printronix MVP
- DD75XHM1 Regnecentralen RC759 Piccoline
- DDNECAPC NEC APC
- NCRPC4 NCR DecisionMate V
- IBMBLMP2 IBM CGA monochrome mode
- IBMBLCP2 IBM CGA color mode
- HERMONP2 Hercules monochrome graphics (720x348)
GSX evolved into one part of what would later be known as GEM, which was an effort to build a fully GUI system using the earlier GSX work as its basis. Originally known as Crystal as a play on an IBM project called Glass, the name was later changed to GEM.
Under GEM, GSX became GEM VDI (Virtual Device Interface), responsible for basic graphics and drawing. VDI also added the ability to work with multiple fonts and added a selection of raster drawing commands to the formerly vector-only GKS-based drawing commands. VDI also added multiple viewports, a key addition for use with windows.
A new module, GEM AES (Application Environment Services), provided the window management and UI elements, and GEM Desktop used both libraries in combination to provide a GUI. The 8086 version of the entire system was first demoed at the 1984 COMDEX, and shipped as GEM/1 on 28 February 1985.
GEM Desktop 1.0 was released on 28 February 1985. GEM Desktop 1.1 was released in April, 1985, with support for CGA and EGA displays. A version for the Apricot Computers F-Series, supporting 640×200 in up to 8 colors was also available as GEM Desktop 1.2.
DRI originally designed GEM for DOS so that it would check for and only run on IBM computers, and not PC compatibles like those from Compaq, as the company hoped to receive license fees from compatible makers. Developers reacted with what BYTE described as "a small explosion"; it reported that at a DRI-hosted seminar in February 1985, more than half of the attendees agreed that GEM's incompatibility with Compaq was a serious limitation. Later that month the company removed the restriction. Applications that supported GEM included Lifetree Software's GEM Write.
At this point, Apple Computer sued DRI in what would turn into a long dispute over the "look and feel" of the GEM/1 system, which was an almost direct copy of Macintosh (with some elements bearing a closer resemblance to those in the earlier Lisa, available since January 1983). This eventually led to DRI being forced to change several basic features of the system. (See also: Apple v. Digital Research.) Apple would later go on to sue other companies for similar issues, including their copyright lawsuit against Microsoft and HP.
In addition to printers the system also contained drivers for some more unusual devices such as the Polaroid Palette.
DRI responded with the "lawsuit friendly" GEM Desktop 2.0, released in March 1986, with support for VGA displays. It allowed the display of only two fixed windows on the "desktop" (other programs could do what they wished however), changed the trash can icon, and removed the animations for things like opening and closing windows. It was otherwise similar to GEM/1, but also included a number of bug fixes and cosmetic improvements.
The last commercial release was GEM/3 Desktop, released in November 1988, which had speed improvements and shipped with a number of basic applications. Commercial sales of GEM ended with GEM/3; the source code was subsequently made available to a number of DRI's leading customers.
GEM/4, released in 1990, included the ability to work with Bézier curves, a feature still not common outside the PostScript world. This version was produced specifically for Artline, a drawing program from the German company CCP Development GmbH. The system also included changes to the font management system, which made it incompatible with the likes of Timeworks Publisher.
Another version of GEM called GEM/5, released in 1988, was produced by GST for Timeworks Publisher 2.1. It contained an updated look with 3D buttons. Font scaling on the fly was included. It came complete with all the standard 3.1 tools. This version was produced from GEM 3.13 with only the Bézier handling taken from GEM/4.
GEM Desktop itself was spun off in 1990 as a product known as ViewMAX which was used solely as a file management shell under DR-DOS. In this form the system could not run other GEM programs. This led to a situation where a number of applications (including ViewMAX) could exist all with their own statically linked copy of the GEM system. This scenario was actually rare, as few native GEM programs were published. In 1991 ViewMAX/2 was is released.
In these forms GEM survived until DRI was purchased by Novell and all GEM development was cancelled.
Throughout this time DRI had also been working on making the GEM system capable of multitasking. This started with X/GEM based on GEM/1, but this required use of one of the multitasking CP/M based operating systems. GEM/XM was an updated version of GEM/2 which allowed multitasking and the ability to run DOS programs in shell windows (as Windows does today). None of these saw the light of day, but the GEM/XM source code is now freely available under the terms of GNU General Public License.
Lee Lorenzen left soon after the release of GEM/1, when it became clear that DRI had no strong interest in applications development. He then joined with two other former DRI employees, Don Heiskell and John Meyer, to start Ventura Software. They developed Ventura Publisher (which was later marketed by Xerox and eventually by Corel), which would go on to be a very popular desktop publishing program for some time.
Development of the production 68000 version of GEM began in September 1984, when Atari sent a team called "The Monterey Group" to Digital Research to begin work on porting GEM. Originally the plan was to run GEM on top of CP/M-68K, both ostensibly ported to Motorola 68000 by DRI prior to the ST design being created. In fact, these ports were unusable and would require considerable development. Atari eventually decided to give up on the existing code and port GEMDOS, a DOS-like operating system that DRI had experimented with instead, referring to it as TOS.
As Atari had provided most of the development of the 68k version, they were given full rights to continued developments without needing to reverse-license it back to DRI, who had apparently lost interest in the 68000 platform. As a result, the Apple-DRI lawsuit did not apply to the Atari versions of GEM, and they were allowed to keep a more Mac-like UI.
Over the next seven years, from 1985 to 1992, new versions of TOS were released with each new generation of the ST line. Updates included support for more colors and higher resolutions in the raster-side of the system, but remained generally similar to the original in terms of GKS support. In 1992 Atari released TOS 4, or MultiTOS, along with their final computer system, the Falcon030. In combination with MiNT, TOS 4 allowed full multitasking support in GEM.
Caldera Thin Clients (later known as Lineo) released the source to GEM under the terms of GNU General Public License (GPL) in April 1999. The development of GEM for PC is continued as OpenGEM and FreeGEM.
On the Atari ST platform, the original DRI sources were ported again to be used in the free and open source TOS clone EmuTOS. New implementations of the AES portions of GEM have been implemented from scratch in the form of XaAES, and MyAES, both of which are fully re-entrant and support multitasking on top of the FreeMiNT multitasking extensions to TOS.
The "full" GEM system consisted of three main parts:
- GEM VDI (Virtual Device Interface)
- GEM AES (Application Environment Services)
- GEM Desktop (an application providing drag-and-drop based file management)
GEM VDI was the core graphics system of the overall GEM engine. It was responsible for "low level" drawing in the form of "draw line from here to here". VDI included a resolution and coordinate independent set of vector drawing instructions which were called from applications through a fairly simple interface. TVDI also included environment information (state, or context), current color, line thickness, output device, etc.
These commands were then examined by GDOS, whose task it was to send the commands to the proper driver for actual rendering. For instance, if a particular GEM VDI environment was connected to the screen, the VDI instructions were then routed to the screen driver for drawing. Simply changing the environment to point to the printer was all that was needed (in theory) to print, dramatically reducing the developer workload (they formerly had to do printing "by hand" in all applications). GDOS was also responsible for loading up the drivers and any requested fonts when GEM was first loaded.
One major advantage VDI provided over the Macintosh was the way multiple devices and contexts were handled. In the Mac such information was stored in memory inside the application. This resulted in serious problems when attempting to make the Mac handle pre-emptive multitasking, as the drawing layer (QuickDraw) needed to have direct memory access into all programs. In GEM VDI however, such information was stored in the device itself, with GDOS creating "virtual devices" for every context – each window for instance.
GEM AES provided the window system, window manager, UI style and other GUI elements (widgets). For performance reasons, many of the GUI widgets were actually drawn using character graphics. Compared to the Macintosh, AES provided a rather spartan look and the system shipped with a single monospaced font.
AES performs its operations by calling the VDI, but in a more general sense the two parts of GEM were often completely separated in applications. Applications typically called AES commands to set up a new window, with the rest of the application using VDI calls to actually draw into that window.
GEM Desktop was an application program that used AES to provide a file manager and launcher, the traditional "desktop" environment that users had come to expect from the Macintosh. Unlike the Macintosh, the GEM Desktop was based on top of DOS (MS-DOS, DOS Plus or DR DOS on the PC, GEMDOS on the Atari), and as a result the actual display was cluttered with computer-like items including path names and wildcards. In general GEM was much more "geeky" than the Mac, but simply running a usable shell on DOS was a huge achievement on its own. Otherwise, GEM has its own advantages over Mac OS such as proportional sliders.
- Atari TOS
- GEM character set
- Atari ST character set
- Graphics Execution Manager
- Fitler, Bill (March 1989). "Writing portable applications with X/GEM - How does X/GEM compare with other windowing systems?". Dr Dobbs Journal. Retrieved 2016-11-24.
- "Der GEM-Oldie von Digital Research läuft und läuft: Eine Benutzeroberfläche für diverse Rechnerarchitekturen". Computerwoche (in German). IDG Business Media GmbH. 1989-08-18. Archived from the original on 2016-11-24. Retrieved 2016-11-24.
- Barney, Douglas (1987-11-02). "Microbits: Waiting is hardest part". Computerworld. IDG Business Media GmbH: 37, 45.
- Digital Research Announces GEM Date:November 1984 - Corporate Histories Collection - Computer History Museum
- A.N.A.L.O.G. TCS #1 001 03/20/85 DRI SHIPS GEM (1985/7/2) - net.micro.atari - Google Groups
- "GEM 1.1". Toastytech.com. Retrieved 2016-08-01.
- "Screenshots of GEM". Seasip.info. 2007-03-18. Retrieved 2016-08-01.
- "Screenshots of Apricot GEM/1". Seasip.info. Retrieved 2016-08-01.
- Markoff, John; Robinson, Phillip (June 1985). "A GEM Seminar". BYTE. p. 455. Retrieved 2013-10-27.
- Kisor, Henry (1985-11-16). "GEM Write Gives IBM Owners Apple-styled Word Processing". Orlando Sentinel. Retrieved 2015-01-05.
- Dilger, Daniel Eran (2007-09-10). "Office Wars 3 – How Microsoft Got Its Office Monopoly". RoughlyDrafted. Retrieved 2013-08-15.
- "GEM 2.0". Toastytech.com. Retrieved 2016-08-01.
- "GEM 3.11". Toastytech.com. Retrieved 2016-08-01.
- "Screenshots of GEM/4". Seasip.info. Retrieved 2016-08-01.
- "Screenshots of GEM/5". Seasip.info. Retrieved 2016-08-01.
- 3 Years With the ST An exclusive look inside Tramiel's Atari - by Jeffrey Daniels - START VOL. 3 NO. 1 / SUMMER 1988 / PAGE 22
- Jemmett, Ben A. L. (April 1999). "Caldera releases GEM under the GPL". Deltasoft - GEM News. Archived from the original on 2016-11-07. Retrieved 2016-11-07.
Caldera Thin Clients, Inc. released the source code for GEM and ViewMAX under the GNU Public License in mid April, following years of speculation over GEM's future. Caldera bought the GEM sources from Novell along with the DR-DOS in 1996, at the time noting that they may develop GEM into a platform for mobile computers and thin clients. However, these plans were dropped, and GEM was instead released into the open-source community.
- GEM - history, documentation and links to various open-source GEM projects
- Graphics Environment Manager at DMOZ
- Afros - a distribution of Atari OS components (consisting of for example EmuTOS), aimed specifically at ARAnyM
- Aranym Atari Running on Any Machine: an open source emulator/virtual machine that can run Atari GEM applications
- Creating of TOS (part 1) Landon Dyer, one of original member of "The Monterey Group"
- Creating of TOS (part 2) Landon Dyer, one of original member of "The Monterey Group"
- GEM demo 1985 Most of the program is about the MAC