Dec 302017
 
OX2 is an OS/2 device driver which directs output to the AUX device to the monochrome monitor in a two-monitor system.
File OX2.ZIP from The Programmer’s Corner in
Category OS/2 Files
OX2 is an OS/2 device driver which directs output to the AUX device to the monochrome monitor in a two-monitor system.
File Name File Size Zip Size Zip Type
OX2 103 70 deflated
OX2.ASM 14786 4893 deflated
OX2.DEF 57 45 deflated
OX2.DOC 2622 1336 deflated
OX2.SYS 1357 509 deflated

Download File OX2.ZIP Here

Contents of the OX2.DOC file


README.DOC
for
OX2

Description
-----------
OX2 is an OS/2 device driver which directs output to the AUX
device to the monochrome monitor in a two-monitor system.

You must have the following hardware to use this driver:

- An AT-bus machine that runs OS/2
- A CGA, EGA, or VGA, *and*
- An MDA, Hercules mono or clone adapter.

Unlike the standard AUX device in DOS, OX2 does not take input from
anywhere, just because it would be really hard to do. Therefore,
attempting to read from the AUX device causes an error.

The main use of this driver is to direct messages to the
secondary monitor from a program which otherwise doesn't have a
console-like device at its disposal.

Usage
-----
You install the driver by adding a line to your CONFIG.SYS file:

DEVICE=d:\path\OX2.SYS

Some uses of OX2:

- Your PM programs can use file I/O to the AUX device for debugging
messages on the second monitor:

aux = fopen("AUX", "w");
fprintf(aux, "got this far...\n");

- You can redirect the output from MAKE to AUX to watch its progress
from any session, including the DOS mode session:

make > AUX

- You can place directories and other listings on the second monitor
for reference while you're working on the main monitor:

dir /w > AUX
type foo.txt > AUX

Notes and Restrictions
----------------------
This is not the most robust driver you'll ever come across. For
starters, at present OS/2 crashes if a DOS mode program attempts to
write to it. Although an OS/2 program can write to it while the DOS
box is in the foreground, the DOS box should not use it. It is
probably trivial to fix this problem, involving a semaphore here and
there. If I can figure it out I will post an update.

This driver does all that's asked of it at task time, which is
generally a no-no under multitasking OS's. I did it this way because
the writes usually don't take very long, and I wanted to keep it
simple.

OS/2 doesn't appear to have an AUX device like DOS does, so this
driver should not be supplanting any existing AUX.

Acknowledgements
----------------
The idea for this driver, and in fact a chunk of its code, comes
directly from the DOS device driver OX.SYS, written by the inimitable
Mike Geary.

Like Geary's offering, this driver and source is also in the public
domain. If you have any ideas on how to improve it, please let me
know or feel free to make your own modifications.

Me: John W. Cocula
Phone: (202) 667-7530
Genie: J.COCULA
BIX: watou
CompuServe: 72317,2513


 December 30, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)