|
|
1.1 ! root 1: ! 2: ISV demo kit ...\demo\examples ! 3: ! 4: ! 5: ! 6: This is a collection of small routines that demonstrate some of the ! 7: capabilities of the OS 2 operating system. Many routines are "bound" ! 8: to demonstrate compatability between DOS 3.X and OS/2. ! 9: ! 10: Below is a list of the programs available under this directory and ! 11: whether they run both Real and Protected mode. ! 12: ! 13: Exec Modes Description ! 14: -------- ----- --------------------- ! 15: ALLOC Real - Allocates slabs of memory ! 16: ARGUMENT - A technique for passing prameters to threads ! 17: ASMEXMPL - ASM version of Threads ! 18: ASYNCIO - Prints 10240 'x' to the screen ! 19: BEEPC Real - Beeps the speaker ! 20: CONFIG Real - Displays machine configuration ! 21: COUNTRY Real - Displays the current country (code page) info. ! 22: CRITSEC - Two threads use critical section with printf(). ! 23: CSALIAS - Aliases a code segment with a Data segment. ! 24: CWAIT - Tasking example - wait for a child to exit. ! 25: DATETIME Real - Prints Date and time information ! 26: DOSEXIT - Example of the DOSEXIT call with threads ! 27: DYNLINK - Example of C and ASM Dynamic link libraries ! 28: EXITLIST - Sets up an exit routine and then exits. ! 29: FSINFO Real - Gets and sets A: volume information ! 30: GETENV Real - Prints out first element of environment ! 31: HELLO Real - Your standard "Hello, world" program. ! 32: HUGE Real - Allocates a "huge" slab of memory ! 33: INFOSEG - Prints out information about the process ! 34: IOPL - Gets and displays current cursor position ! 35: KEYS Real - Prints out keycodes using KBDCHARIN ! 36: KILL - Example of the DOSKILL call with threads ! 37: MACHMODE Real - Displays machine mode (Real/Protected) ! 38: MONITORS - Example of registering and terminating monitors ! 39: MOVE Real - Move files about ! 40: PIPES - Two different examples of using pipes. ! 41: QHTYPE Real - Opens some files and prints out handle information ! 42: QUEUES - Two processes: a consumer and a server. ! 43: REALLOC - Grows and shrinks a segment ! 44: SESSION - Example of Session Manager API usage. ! 45: SETMAXFH - Sets Maximum file handles to 30 ! 46: SETVEC Real - Modifies the interrupt vector table ! 47: SHARE - Two processes pass keystrokes through shared memory ! 48: SIGNAL Real - Sets up a signal handler to catch ^C ! 49: SLEEP Real - Snoozes for a while ! 50: SUBALLOC Real - Demonstrates the SUBALLOC call. ! 51: SUSPEND - One thread suspending and resuming another thread ! 52: THREADS - C threads demo ! 53: TIMER - Sleeps and beeps three times. ! 54: VERSION Real - Prints DOS version ! 55: ! 56: MAKEALL - .BAT file to build all of the above
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.