Dec 302017
 
This is a sample file illustrating the use of the MS MAKE utility to automate the production of EXE and their associated DLL files in the OS/2 operating system.
File OS2CURSR.ZIP from The Programmer’s Corner in
Category OS/2 Files
This is a sample file illustrating the use of the MS MAKE utility to automate the production of EXE and their associated DLL files in the OS/2 operating system.
File Name File Size Zip Size Zip Type
CURSOR 466 231 deflated
CURSOR.ASM 1942 796 deflated
CURSOR.DEF 59 59 stored
CURSOR.EXE 1236 717 deflated
CURSOR.TXT 1634 873 deflated
INFO.FIL 1946 777 deflated
INFO2.FIL 1758 719 deflated
OUTPUT.ASM 596 282 deflated
OUTPUT.DEF 97 95 deflated
OUTPUT.DLL 544 365 deflated

Download File OS2CURSR.ZIP Here

Contents of the CURSOR.TXT file


CURSOR.ARC

This is a sample file illustrating the use of the MS MAKE utility
to automate the production of EXE and their associated DLL files in the OS/2
operating system. In this case, the DLL does I/O, so you have to add the
following statement to your CONFIG.SYS file:

IOPL=YES

In order to run this program, you need OS/2, MASM 5.1, and a
EGA/VGA hooked up to a color display.

The DLL will not be able to do its I/O unless you do. The MS
MAKE utility in OS/2, unlike its Unix cousin, is bare of inference rules,
and details count: lines w/blank lines between them are significant, lines
w/o blank lines between them are also, and those commas all mean something,
so you have to be careful of what you change or the file won't work.

The MAKE file also assumes that you are using MASM 5.1, and that
you have properly set your enviremental variables and paths to the various
files referenced. Thus, where the MAKE file invokes a call to MASM or
DOSCALLS.LIB, these files have to be available to it, and I haven't put any
paths into these commands.

All this program does is make the cursor larger, wait for a keystroke,
and then exit back to OS/2 (notice that the size of the cursor gets restored
by the OS). If you run it through Codeview, you have to trace thru a bit to
get past the initialation routine that OS/2 loads in front of the symbolic
information (use the /L switch to load the DLL):

CVP /L DOSCALLS.LIB /L OUTPUT.DLL CURSOR.EXE


If you have any questions, you can contact me at Compuserve 72261,347.

Harve Schiffman
Upland, Cal.




 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)