Microsoft OS/2 Programmer's Toolkit: Difference between revisions
Appearance
mNo edit summary |
|||
Line 25: | Line 25: | ||
Sample Programs | Sample Programs | ||
*ALLOC - DosAllocSeg, DosFreeSeg | |||
*ARGUMENT - passing parameters | |||
*ASMEXMPL - Threads in Assembler | |||
*ASYNCIO - DosWriteAsync | |||
*BEEPC - DosBeep | |||
*BIGBEN - simple clock | |||
*CHASER - cat and mouse game | |||
*CONFIG - DosDevConfig | |||
*COUNTRY - DosGetCtryInfo | |||
*CPGREP - string searching | |||
*CRITSEC - DosEnterCritSec, DosExitCritSec | |||
*CSALIAS - DosCreateCSAlias | |||
*CWAIT - DosCWait | |||
*DATETIME | |||
*DOSEXIT | |||
*DS - display subdirectories | |||
*DYNLINK | |||
*EXITLIST | |||
*FILELIST - list files | |||
*FSINFO | |||
*GETENV | |||
*HELLO - | |||
*HUGE - DosAllocHuge, DosReAllocHuge, DosFreeSeg | |||
*INFOSEG - DosGetInfoSeg | |||
*IOPL - IOPL segment | |||
*KEYS - KbdCharIn | |||
*KILL - DosKillProcess | |||
*LIFE - game of life | |||
*MACHMODE - DosGetMachineMode | |||
*MANDEL - EGA hi res graphics program | |||
*MONITORS - keyboard monitor | |||
*MOVE - DosFindFirst, DosMove | |||
*PIPES - DosMakePipe | |||
*QHTYPE - DosQHandType | |||
*QUEUES - FIFO, LIFO, Priority | |||
*REALLOC - DosReallocSeg | |||
*SESSION - Session Manager API | |||
*SETEGA - set 25/43 line mode | |||
*SETMAXFH - DosSetMaxFH | |||
*SETVEC - DosSetVec | |||
*SHARE - shared memory and RAM semaphores | |||
*SIGNAL - signal handling | |||
*SLEEP - DosSleep | |||
*SSE - simple screen editor | |||
*SUBALLOC - DosSubSet, DosSubAlloc, DosSubFree | |||
*SUSPEND - DosSuspendThread, DosResumeThread | |||
*TERMINAL - terminal emulator | |||
*THREADS - DosCreateThread | |||
*TIMER - DosTimerStart, DosTimerAsync, DosTimerSync, DosSleep | |||
*VERSION - DosGetVersion | |||
*VIOREG - VioRegister | |||
*WAKEUP - Alarm Program by [[Charles Petzold]] | |||
==Documentation== | ==Documentation== |
Revision as of 02:24, 22 March 2023
The Microsoft Operating System/2 Programmer's Toolkit contains a set of programming tools for writing real-mode, protected-mode, or dual-mode OS/2 applications.
This toolkit can be used in conjunction with a compiler or the Microsoft Macro Assembler, a debugger, and a text editor.
- Supported compilers
- Microsoft C Optimizing Compiler
- Microsoft BASIC Compiler
- Microsoft FORTRAN Compiler
- Microsoft Pascal Compiler
Or compilers from other vendors.
Programs
- bind
- Converts protected-mode programs into dual-mode programs.
- exehdr
- Displays the contents of an OS/2 executable file header.
- implib
- Creates an import library.
- kbdp
- Sets the type rate of keyboard.
- lib
- Creates, combines, and maintains run-time libraries.
- libwhere
- Searches for and displays the location of a library.
- link
- Links one or more object files with libraries and module definition files.
- mkmsgf
- Creates a message file for use with message functions.
- msgbind
- Binds a message segment to a program.
- QuickHelp
- Displays help information about functions and topics.
- shd
- Displays the contents of a file in hexadecimal or other notation.
- where
- Searches for and displays the location of a file.
Sample Programs
- ALLOC - DosAllocSeg, DosFreeSeg
- ARGUMENT - passing parameters
- ASMEXMPL - Threads in Assembler
- ASYNCIO - DosWriteAsync
- BEEPC - DosBeep
- BIGBEN - simple clock
- CHASER - cat and mouse game
- CONFIG - DosDevConfig
- COUNTRY - DosGetCtryInfo
- CPGREP - string searching
- CRITSEC - DosEnterCritSec, DosExitCritSec
- CSALIAS - DosCreateCSAlias
- CWAIT - DosCWait
- DATETIME
- DOSEXIT
- DS - display subdirectories
- DYNLINK
- EXITLIST
- FILELIST - list files
- FSINFO
- GETENV
- HELLO -
- HUGE - DosAllocHuge, DosReAllocHuge, DosFreeSeg
- INFOSEG - DosGetInfoSeg
- IOPL - IOPL segment
- KEYS - KbdCharIn
- KILL - DosKillProcess
- LIFE - game of life
- MACHMODE - DosGetMachineMode
- MANDEL - EGA hi res graphics program
- MONITORS - keyboard monitor
- MOVE - DosFindFirst, DosMove
- PIPES - DosMakePipe
- QHTYPE - DosQHandType
- QUEUES - FIFO, LIFO, Priority
- REALLOC - DosReallocSeg
- SESSION - Session Manager API
- SETEGA - set 25/43 line mode
- SETMAXFH - DosSetMaxFH
- SETVEC - DosSetVec
- SHARE - shared memory and RAM semaphores
- SIGNAL - signal handling
- SLEEP - DosSleep
- SSE - simple screen editor
- SUBALLOC - DosSubSet, DosSubAlloc, DosSubFree
- SUSPEND - DosSuspendThread, DosResumeThread
- TERMINAL - terminal emulator
- THREADS - DosCreateThread
- TIMER - DosTimerStart, DosTimerAsync, DosTimerSync, DosSleep
- VERSION - DosGetVersion
- VIOREG - VioRegister
- WAKEUP - Alarm Program by Charles Petzold
Documentation
- Microsoft Operating System/2 Programming Tools
- Microsoft Operating System/2 Programmer’s Learning Guide
- Microsoft Operating System/2 Programmer’s Reference