17.1 OS/2 Overview

There are three steps in developing OS/2 or dual-mode applications:

1.Write the source code, using procedure calls rather than interrupts to call system functions.

2.Assemble and link the program with OS2.LIB.

3.Optionally, convert the program so that it can run under both OS/2 and DOS.

This chapter explains each of these steps, first looking at specific differences in how you write DOS and OS/2 code. Then it illustrates the development of a simple OS/2 program. Finally, the chapter discusses register initialization and additional OS/2 utilities.