Advanced Microsoft OS/2 Programming
Publisher: Microsoft Press
Published: 1989
Number of pages: 782
Table of contents: title: Road Map to Important Figures and Tables; title: Acknowledgments; title: Introduction; title: SECTION 1  THE OS/2 OPERATING SYSTEM; title: Chapter 1  Introduction to OS/2; title: System positioning; Key features of OS/2; title: Chapter 2  OS/2 Structure and Initialization; title: System components; How OS/2 is loaded; Memory maps; title: Chapter 3  OS/2 Application Programs; title: Program source structure; Module definition files; Executable; title: file structure; Program loading, entry conditions, and; title: termination; Sample program: HELLO.ASM; title: Chapter 4  OS/2 Programming Tools; title: File types and extensions; Macro Assembler; C Compiler; Linker;; title: CREF utility; Librarian; BIND and API.LIB; MAKE utility; title: SECTION 2  PROGRAMMING THE USER INTERFACE; title: Chapter 5  Keyboard and Mouse Input; title: Keyboard modes; Keyboard input methods; Use of logical; title: keyboards; Keyboard subsystems and drivers; Keyboard monitors;; title: Mouse input methods; Mouse subsystems and drivers; Sample; title: program: MOUDEMO.C; title: Chapter 6  The Video Display; title: Video display modes; Using DosWrite for output; Using Vio; title: functions for output; Pop-up support; Video subsystems and; title: drivers; title: Chapter 7  Printer and Serial Ports; title: Printer output methods; The print spooler; Serial port input; title: and output; Configuring the serial port; The serial port and; title: real mode applications; title: SECTION 3  PROGRAMMING MASS STORAGE; title: Chapter 8  File Management; title: Filenames and handles; Opening, creating, and closing files;; title: Reading and writing files; Forcing disk updates; File and; title: record locking; Sample programs: ARGC.ASM, ARGV.ASM, DUMP.C,; title: DUMP.ASM; title: Chapter 9  Volumes and Directories; title: Hierarchical directory structures; Searching disk directories;; title: Directory and disk control; Volume labels; Sample programs:; title: WHEREIS.C and WHEREIS.ASM; title: Chapter 10 Disk Internals; title: Boot sector and BIOS parameter block; File allocation table;; title: Root directory; Files area and subdirectories; Fixed disk; title: partitions; Direct disk access; title: SECTION 4  ADVANCED OS/2 TECHNIQUES; title: Chapter 11 Memory Management; title: Memory protection; Virtual memory; Allocating global memory;; title: Huge memory blocks; Discardable segments; Writable; title: code segments; Local storage; title: Chapter 12 Multitasking; title: The OS/2 scheduler; Managing processes; Managing threads; Managing; title: sessions; Configuring the OS/2 multitasker; Sample programs:; title: TINYCMD.C, TINYCMD.ASM, DUMBTERM.C, DUMBTERM.ASM; title: Chapter 13 Interprocess Communication; title: Semaphores; Pipes; Shared memory; Queues; Signals; title: Chapter 14 IOPL Segments; title: Execution with I/O privilege; IOPL-related API functions; Using; title: IOPL in applications; Sample programs: PORTS.C, PORTS.ASM,; title: PORTIO.ASM; title: Chapter 15 Time, Date, and Timers; title: Reading and setting date and time; Programmed delays; Using; title: timers; title: SECTION 5  CUSTOMIZING OS/2; title: Chapter 16 Filters; title: System support for filters; Building simple filters; Using a; title: filter as a child process; Sample programs: PROTO.C, PROTO.ASM,; title: FIND.C, EXECSORT.ASM; title: Chapter 17 Device Drivers; title: Unique aspects of OS/2 drivers; Device driver types and modes;; title: Device driver structure; Command code functions; Device Driver; title: Helper functions (DevHlps); Building a device driver; Sample; title: programs: TEMPLATE.ASM, TINYDISK.ASM; title: Chapter 18 Device Monitors; title: Monitor organization; Monitor data packets; Device driver; title: support for monitors; Sample programs: SNAP.C, SNAP.ASM; title: Chapter 19 Dynamic Link Libraries; title: Dynamic linking at load time; Dynamic linking at run time;; title: Writing DLLs in assembly language; Writing DLLs in C; Sample; title: programs: ASMHELP.ASM, SHOWARGS.ASM, CDLL.C, CINIT.ASM; title: SECTION 6  OS/2 REFERENCE; title: Part 1  Kernel API; title: Part 2  DosDevIOCtl Functions; title: Part 3  DevHlp Functions; title: SECTION 7  APPENDIXES; title: Appendix A  OS/2 Error Codes; title: Appendix B  ASCII and IBM Extended Character Sets; title: Appendix C  Resources; title: Appendix D  OS/2 Load Module Format; title: Appendix E  Module Definition File Syntax; title: Glossary; title: Index