Leading Edge Color Logo VGA Screensaver
One missed opportunity for many PC integrators was the potential to use screensavers as a simple yet
effective form of advertising. A branded screensaver running on computers displayed in retail
stores, installed in offices, or used in customer homes could have kept a
company's logo visible and sparked conversations that might lead to future
sales.
Decades later, the Leading Edge Archival Project seeks to remedy this missed opportunity with
an original screensaver featuring the Leading Edge logo. Designed specifically for
DOS−based computers, the screensaver brings the company's distinctive branding
to life through a VGA graphics animation. It is intended for compatible systems running
MS−DOS 4.x through 6.x with VGA graphics, offering a small piece of
retro−inspired software for vintage PC enthusiasts and Leading Edge collectors alike.
A New Creation Inspired by an Old Brand
The Leading Edge Color Logo VGA Screensaver is an original software project developed by the Leading
Edge Archival Project. Although its appearance and purpose are inspired by the era in which
Leading Edge computers were sold, the program itself is not vintage software, nor is it
a reproduction of a known commercial screensaver released by the company. Instead, it
represents a modern development effort undertaken with the limitations, operating
environment, and characteristics of vintage DOS computers in mind.
The goal was to create something that would feel at home on a 286, 386, or 486
computer, rather than simply producing a modern animation that happened to display an old
logo. This meant working within DOS, using the tools and programming techniques
appropriate to the environment, and developing a program capable of operating independently in
the background without requiring the user to repeatedly launch it.
The result is a memory−resident DOS screensaver featuring an animated Leading Edge logo
rendered in VGA graphics.
The Logo Animation
The animation uses three nested triangular shapes to recreate the familiar Leading Edge logo
motif. Each triangle is drawn in a different color, with the outermost triangle
rendered in blue, the middle triangle in white, and the innermost triangle in
red.
Rather than displaying the logo continuously in a fixed position, the screensaver draws the
logo at randomly selected positions on the screen. Once the animation completes, the
logo is gradually erased in reverse drawing order, clearing the area before the animation
begins again at another location.
The animation was designed around a 640−by−350 graphics resolution using a
16−color graphics mode compatible with EGA and VGA graphics environments. The program
uses the graphics hardware directly to render the individual horizontal spans that form the
triangles, allowing the logo to be constructed progressively rather than appearing
instantaneously.
The logo's three layers are drawn sequentially. The blue outer triangle appears
first, followed by the white middle layer and the red inner triangle. Once the
completed logo has remained visible for a brief interval, the shapes are erased in reverse
order. This creates a simple drawing−and−erasing animation that repeats until the
user interrupts the screensaver.
Random positioning adds some variation to the animation, ensuring the logo
doesn't repeatedly appear in exactly the same location. The position is selected
within the screen boundaries so that the outermost triangle remains visible rather than being drawn
partially off−screen.
Designed as a DOS Memory−Resident Program
Unlike a conventional program that must be launched whenever it is needed, the screensaver
installs itself as a terminate−and−stay−resident, or TSR,
program.
Once installed, LOGOCLR returns control to the DOS prompt while remaining resident in
memory. The user doesn't need to keep the program running in the foreground,
and it doesn't require a dedicated command prompt or application window.
Instead, it monitors system activity and waits for the configured inactivity period to
expire.
The normal activation interval is five minutes. When the system has remained idle long
enough, the screensaver begins its graphics animation automatically.
The program uses DOS interrupt mechanisms to monitor inactivity and initiate the screensaver when
appropriate. Its timer−related functionality tracks the period of inactivity,
while the DOS idle interrupt provides an opportunity for the screensaver to begin its graphics
session.
Keyboard activity resets the inactivity timer. When a key is pressed while the screensaver is
active, the program terminates the animation and restores the original DOS text
screen.
Because the program remains resident, it continues to occupy a small amount of conventional
memory after installation. It is removed from memory by rebooting the computer.
Preserving the DOS Screen
One of the important considerations in developing a screensaver for DOS is ensuring that the
user's original screen is restored when the animation ends.
Before switching into graphics mode, LOGOCLR records the existing video mode, active
display page, cursor configuration, and contents of the DOS text screen. The
original text screen is copied into memory so that it can be restored when the screensaver
exits.
When the animation begins, the program switches into its graphics mode and clears the graphics
display before drawing the logo. When the user interrupts the animation, the program
returns to the original video mode and restores the previously saved text−screen contents and
cursor position.
This is particularly important for a screensaver operating as a TSR. The program temporarily
takes control of the display while another DOS program may have been running underneath it.
The goal is to return the user to the screen they were working with rather than leaving behind a
blank screen, graphics remnants, or an altered display configuration.
Although screen restoration is an integral part of the program, it cannot be guaranteed to
succeed under every hardware configuration or circumstance. The software is provided without
guarantees of compatibility or reliable operation, and users should exercise appropriate
caution when testing it on original hardware.
Working Directly with EGA and VGA Graphics
The graphics engine was developed with the limitations of DOS−era hardware in mind.
Rather than relying on a modern graphics library or external runtime environment, the program
directly manipulates the graphics controller and video memory.
The screensaver uses a 640−by−350 graphics mode with 16 available colors. Its
drawing routines construct the triangles using horizontal pixel spans, progressively filling
the appropriate portions of each shape.
The graphics implementation includes routines for configuring the graphics controller,
clearing the display, adjusting the pixel write mask, and drawing the individual
horizontal spans that form the triangles. These operations are performed through direct
hardware−oriented programming techniques that would have been familiar to developers working
with DOS graphics software.
The program also configures the VGA palette to produce the intended colors. The blue,
white, and red elements of the logo are assigned their respective palette entries,
allowing the animation to reproduce the colors selected for the project.
The graphics engine was intentionally kept relatively compact and self−contained. The
goal was not to build a generalized graphics framework, but to create a dedicated animation
engine capable of operating within the limited memory and programming environment of a vintage DOS
computer.
The Challenges of Running Graphics from a TSR
Developing a graphics program that runs normally from the DOS command prompt is considerably
different from developing one that executes after installation as a memory−resident
program.
Once a TSR activates, it is interrupting the normal flow of another program. That
program may have its own stack, memory allocation, execution state, and
expectations about the system. Running a relatively complex graphics routine directly on the
interrupted program's stack introduces the possibility of interfering with the program
that was interrupted.
To address this, LOGOCLR uses a dedicated private stack stored within its own resident memory
allocation.
When the screensaver activates, the program temporarily switches from the interrupted
program's stack to its own stack before executing the graphics engine. This gives
the screensaver its own working space for function calls and execution while the animation is
running.
When the graphics routine finishes, the original stack pointer and stack segment are
restored, allowing the interrupted program to resume its execution.
This was one of the more important architectural decisions in the development of the
screensaver. The graphics engine contains multiple routines for drawing, erasing,
timing, handling keyboard input, and restoring the display. Running these
functions on a dedicated stack helps isolate the screensaver's execution from the program
that was interrupted.
The implementation uses inline assembly within the Turbo C++ source to perform the stack
transition, eliminating the need for an external assembler or separate assembly−language
module.
Windows 3.1 Compatibility Considerations
Although LOGOCLR is intended specifically for DOS, many vintage computers used DOS as the
underlying operating system for Windows 3.1. A DOS TSR that directly manipulates the
graphics hardware can potentially interfere with Windows if it activates while Windows is
running.
This presented an additional compatibility challenge during development.
Windows 3.1 provides interrupt−based notifications that allow DOS drivers and TSR
programs to recognize when Windows is starting or terminating. LOGOCLR uses these
notifications to track the Windows environment and prevent its graphics animation from interfering
with Windows' display operation.
The program also checks for Windows 3.1 before installing itself. If LOGOCLR is
launched from a Windows DOS session, it detects the Windows environment and refuses to
install.
If the TSR has already been installed in DOS before Windows is launched, the program
recognizes the Windows startup notification and suspends screensaver activation while Windows is
running. When Windows terminates, the screensaver resumes its normal DOS
operation.
This behavior was developed and tested separately before being incorporated into the final
program.
During development, the Windows notification mechanism required particular care.
Windows uses the multiplex interrupt for its own initialization and termination services, and
the original interrupt handler must be passed the appropriate information without interfering with
its operation. The final implementation chains the original interrupt handler using the
appropriate interrupt−handling mechanism rather than treating the previous interrupt handler
as an ordinary function call.
Testing included installing the screensaver in DOS, launching Windows 3.1,
navigating the Windows environment, changing desktop settings, exiting Windows,
and returning to DOS. The screensaver was also tested from a Windows DOS session to verify
that it would refuse installation when Windows was already running.
These tests were conducted on the development and testing environments available to the
project. The Windows protection is intended to reduce the possibility of interference,
but it should not be interpreted as a guarantee of compatibility with every Windows configuration or
system.
Development and Testing
The screensaver was developed using Borland Turbo C++ 3.0, targeting the DOS
environment and compatible vintage PC hardware.
Development and testing involved DOSBox−X as well as original hardware, including a
486−based computer running MS−DOS 6.22. Testing on real hardware was
particularly valuable because interrupt handling, graphics controller behavior, and
resident program operation can differ from emulator behavior.
The development process involved progressively integrating the graphics engine, timer
functionality, keyboard handling, screen restoration, and TSR installation
mechanisms. Windows 3.1 compatibility protections were subsequently added and tested
as a separate development stage before being incorporated into the final release.
Testing included:
- Compilation using Turbo C++ 3.0.
- Installation of the TSR from the DOS command prompt.
- Verification of the normal five−minute inactivity interval.
- Verification of the shorter test−mode activation interval.
- Testing of keyboard termination and screen restoration.
- Testing on DOSBox−X.
- Testing on original 486 hardware running MS−DOS 6.22.
- Testing of Windows 3.1 startup and shutdown with the TSR already installed.
- Verification that installation is refused when launched from a Windows 3.1 DOS session.
The program was developed with the intention of keeping its dependencies minimal and its implementation self−contained. The finished executable does not require a separate graphics driver file to be loaded alongside the program.
Testing Mode
A shorter activation interval is available for testing.
By launching the program with the /T command−line option, the inactivity
timeout is reduced from five minutes to approximately ten seconds. This makes it easier to
verify installation, observe the animation, and test keyboard termination without
waiting through the normal activation interval.
The test option changes the activation timeout but does not otherwise alter the basic operation of
the screensaver.
Download and Use
The Leading Edge Color Logo VGA Screensaver is available as a free download from the Leading Edge
Archival Project.
It is intended for compatible DOS systems running MS−DOS 4.x through 6.x with
VGA graphics, including appropriately configured 286−, 386−, and
486−class computers.
The screensaver is distributed as a standalone executable, accompanied by documentation and
release information. Users are encouraged to review the accompanying README and software
disclaimer before running the program, particularly when testing on original
hardware.
This is an independently developed archival−project creation inspired by Leading
Edge's historical branding. It is not an original period release from Leading Edge
Computers.
The project is offered as a small tribute to the company and to the vintage computing systems that
helped make the DOS era memorable.