WriteLED - Write to LED Display

WLD009.ZIP WriteLED for DOS Release 00.09 (11 Feb 2003)
WLDN009C.ZIP WriteLED Source code for DOS/NT

Content by Unal Z (original mirrored HERE). Edited by Major Tom.


WriteLED is an utility that allows you to control the LED display present on the operator panel of all PS/2 Model 95 machines. It can be used to write a text made up of up to 8 characters to the LED display panel. WriteLED can be used on DOS, OS/2, Windows 95/98 and Windows NT.

WriteLED for Windows NT requires the MCPOS driver to operate properly. MCPOS must be started prior to the invocation of the program. By contrast, WriteLED for DOS is a standalone DOS program and does not require any additional drivers or utilities.

WriteLED uses the system LED display ports 108h thru 10Fh. Running WriteLED on a machine without a LED display panel should not have any adverse effects on the system integrity.

Release Notes

The 00.09 release of WriteLED provides video effects like scrolling and blinking a text, and dumping a file to the LED display.

Program binaries and source code have been released for DOS and Windows NT. The source code is common to DOS and Windows NT, where platform-dependent sections are distinguished by the defined _WLEDDOS variable (#undef _WLEDDOS to compile the program for Windows NT).

WriteLED Options

WriteLED is controlled through a number of command line options. To list all options and get a help information about the command line options, run writeled -h. To run the built-in WriteLED demo, execute writeled -d.

Always enclose text arguments in quotation marks. Text arguments are required by the options -o (output), -s (scroll) and -f (file). For example, this is a valid invocation: writeled -s "ooo Welcome to the machine ooo". When you precede your scrolling text by seven or more spaces, the text will enter the LED display from the rightmost cell.

The options -m (machine), -u (user) direct WriteLED to write the computer resp. user name on the display. Only the first 8 characters can be written, longer strings will be truncated. These options are available only in WriteLED for Windows NT.

As a special feature, WriteLED includes a file dump facility. Yes, you have read that correctly, you can dump the contents of any file to the LED display. Select a file to dump and run writeled -f <file name>, then enjoy your display. All control characters and repeating spaces in the file are intercepted and removed, resp. replaced by a single space character.

Known Problems

WriteLED will fail to write to the LED display panel of PC Server 720. The reason is that the LED display panel of Server 720 uses a different and unknown to us display port address range.

Content created and/or collected by:
Louis F. Ohland, Peter H. Wendt, David L. Beem, William R. Walsh, Tatsuo Sunagawa, Tomáš Slavotínek, Jim Shorney, Tim N. Clarke, Kevin Bowling, and many others.

Ardent Tool of Capitalism is maintained by Tomáš Slavotínek.
Last update: 08 May 2024 - Changelog | About | Legal & Contact