Dec 072017
Excellent source code from the book "Turbo C: Memory-Resident Utilities, Screen I/O, and Advanced Programming Techniques".
File ALSTSR.ZIP from The Programmer’s Corner in
Category C Source Code
Excellent source code from the book “Turbo C: Memory-Resident Utilities, Screen I/O, and Advanced Programming Techniques”.
File Name File Size Zip Size Zip Type
CCOLOR.C 998 367 deflated
CLOCK.C 2040 849 deflated
CLOCK.EXE 5148 3414 deflated
CLOCK.PRJ 21 21 stored
COLOR.C 87 60 deflated
COLOR.EXE 11042 6569 deflated
COLOR.PRJ 82 51 deflated
EDITOR.C 14909 3932 deflated
ENTRY.C 8528 2400 deflated
EXEC.C 795 354 deflated
FAST.C 87 58 deflated
FAST.EXE 10820 6475 deflated
FAST.PRJ 75 52 deflated
FASTTEST.C 411 263 deflated
IBMPC.C 3567 1033 deflated
KEYS.H 700 248 deflated
MAXIMS.C 667 366 deflated
MENU.C 169 131 deflated
MENU.EXE 27286 15848 deflated
MENU.PRJ 391 134 deflated
MOVE.C 85 59 deflated
MOVE.EXE 11132 6670 deflated
MOVE.PRJ 81 53 deflated
NOTE.C 168 129 deflated
NOTE.EXE 18496 10829 deflated
NOTE.PRJ 131 67 deflated
NOTEPAD.C 1037 546 deflated
ORDENT.C 2453 922 deflated
ORDER.C 133 109 deflated
ORDER.EXE 16646 9867 deflated
ORDER.PRJ 132 65 deflated
POEMS.C 4747 2056 deflated
POETRY.C 131 108 deflated
POETRY.EXE 16270 9772 deflated
POETRY.PRJ 109 60 deflated
POPUP.C 2152 888 deflated
POPUP.EXE 29734 17359 deflated
POPUP.PRJ 410 133 deflated
PROM.C 85 59 deflated
PROM.EXE 11136 6610 deflated
PROM.PRJ 84 52 deflated
PROMOTE.C 1061 386 deflated
README 3318 1494 deflated
RESIDENT.C 7565 2294 deflated
SAYINGS.C 134 110 deflated
SAYINGS.EXE 13802 8259 deflated
SAYINGS.PRJ 115 63 deflated
TCPROGS.HLP 1616 699 deflated
TESTMOVE.C 1064 459 deflated
THELP.C 2270 950 deflated
TMENU.C 3724 1192 deflated
TWINDOW.C 13636 3899 deflated
TWINDOW.H 6296 1996 deflated
VIDPOKE.C 223 172 deflated
VIDPOKE.EXE 1798 1119 deflated

Download File ALSTSR.ZIP Here

Contents of the README file

October, 1987

This diskette contains the source and exe files for the programs in
"Turbo C: Memory-Resident Utilities, Screen I/O, and Advanced
Programming Techniques", Al Stevens, 1987, MIS:Press.

This book uses the unique features of Turbo C to implement a complete
video window package. The package includes support for context-sensitive
help, pop-down menus, data entry templates, and a window text editor.

The book also explains the concepts of Terminate-and-Stay-Resident
(TSR) utility programs under DOS. Example TSR programs are provided, and
a TSR driver program is included that allows you to build your own TSR
programs in Turbo C.

There are differences between the files here and the listings in the book
As published, clock.c only works properly when compiledwith the tiny
memory model. The clock.c program on this diskette can be compiled with
either the tiny or small memory model. The files twindow.c and twindow.h
in the book have a bug that prevents compiling when FASTWINDOWS is defined.
The bug is corrected in the files on this diskette.

To order the book, call 1-800-MANUALS.


Other books by the author:

C Development Tools for the IBM PC, Brady, 1986

This book contains C source code and descriptions for menus, data entry
screens, a terminal driver, file management, b-trees, file sorting, and
cache memory. The source code is available on diskette from the author.
Seven PC C compilers are supported (Aztec, DeSmet, Lattice, Eco-C88,
Let's C, Microsoft C, Turbo C).

C Data Base Development, MIS:Press, 1987

This book carries the concepts of software tools beyond those of the
first book into the data base management system. Included are the source
code for a relational DBMS, a description of data base concepts, and a
primer on data base design. The source code is available on diskette
for nine different PC C Compilers (Aztec, CI-C86, Datalight, Eco-C88,
Lattice, Let's C, Microsoft C, Turbo C, Wizard C).

Order from the publisher at 1-800-MANUALS.

--------------- Copyright 1987, Al Stevens and MIS:Press ---------------------

The source code on this diskette is protected by Copyright laws. You may
exchange the source code and you may develop programs using the code that you
sell or otherwise distribute to other parties. You may not charge more than
reasonable copy costs for copies of the source code, and you may not
publish the source code except on a Bulletin Board Service (BBS).

Al Stevens
2983 Newfound Harbor Drive
Merritt Island, FL 32952
(305) 453-4129


I have uploaded these files with one only one change (I think).
The macro in twindow.h 'verify_wnd' didn't work properly with
fastwindow, when the window was verified it switched the current
window to the one on top of the window stack, the next output
would then be directed to possibly the wrong window.

Also, in his book in the section on TSR's, a variable in resident.c
should be changed for TC 2.0, 'ZeroDivVector' change to '_Int0Vector'.
This is because Borland changed c0.asm, It now doesn't need to be
altered and reassembled.

Bob Balsover3-3-89

 December 7, 2017  Add comments

Leave a Reply