home *** CD-ROM | disk | FTP | other *** search
- ******************************************************************
- * * * * * PROGRAMMER'S JOURNAL--Volume 9.6 CODE DISK * * * * *
- ******************************************************************
-
- The source code files on this disk are from Programmer's Journal,
- Volume 9.6, November/December 1991. These files are identical to those
- published in the magazine, except where noted; OBJ and EXE files
- have been added.
-
- The copyrights are held by the programs' authors, as indicated in the
- files. All other rights are reserved by Oakley Publishing Company,
- 1991. No one may commercially distribute these files. Every effort
- has been made to assure that the program files are correct and
- complete. No guarantee, express or implied, is offered as to the
- correctness of the files, nor to the fitness of the programs for
- any purpose whatsoever.
-
-
- Files from Volume 9.6 are as follows:
-
- Code from "A Tiny Windows Class Library" by John Dimm
-
- Simple is beautiful. John shows how to shrink an entire Windows
- program down to just eight lines using C++ and make the switch to
- object-oriented compilers and class libraries at your own pace.
-
- GENERIC.CPP C++ source for the basic GENERIC (Windows) program
- that produces an empty window
- GENERIC.DEF A default Windows .DEF file
- GENERIC.EXE The executable program
- GENERIC.MAK A make file
- GENERIC.PRJ A Borland C++ project file for use with the
- Integrated Development Environment (IDE)
- INITAPP.H A header for registering InitApplication functions
- INITINST.H A header for registering InitInstance functions
- PEN.H An example of a PEN object
- SCRIBBLE.CPP C++ source for a Windows program to draw with a mouse
- SCRIBBLE.EXE The executable file
- SCRIBBLE.MAK A make file
- SCRIBBLE.PRJ A Borland C++ project file for use with the
- Integrated Development Environment (IDE)
- WINCLASS.CPP The class library C++ source file
- WINCLASS.H A header file for use with the WINCLASS library
- WINCLASS.LIB A small-model version of the the WINCLASS library
- WINCLASS.MAK A make file to create a small-model WINCLASS.LIB
-
- ****************************
-
- Code from "A Window System for Text Editing" by Allen Holub
-
- This is it--Allen winds up his layered windowing system.
- The final installment includes all the functions needed by an editing
- engine to implement a window-based editor. For additional elegance,
- the code is written in an object-oriented manner.
-
- EDITOR.H An include file of workhorse functions required
- by the editor to manipulate the screen
- EDITOR.C C source code for the low-level workhorse functions
-
-
- *****************************
-
- Code from "Libraries Revisited" by John Otken
-
- Nothing's better than a good library, especially if you're
- programming in assembly language. John uses the standard C library
- and other well-known models as templates for his ALIB library, which
- contains about 120 usable functions.
-
- ALIB.DOC Documentation on the ALIB library functions that
- is automatically generated by the ASMHDR program
- found in ALIBTOOL.ZIP
- ALIB.ZIP A zipped archive containing ALIB source files in ASM
- along with a built ALIB.LIB library
- ALIBTOOL.ZIP A zipped archive containing source and executables for
- useful tools to maintain ALIB
-
-
- ******************************
-
- Code from "Save your Video Mode" by Walter Oney
-
- Are you tired of having your video mode trashed by applications
- that make rude and hasty exits? Don't get mad--get VIDSAVEd. Screen
- preservation and restoration are just a program away. Walt also shows
- you how to go about wrapping an EXE program with a COM file.
-
- VIDSAVE.ASM Source code for a useful utility that forms a
- wrapper around programs that trash your machine's
- text video mode
- VIDSAVE.COM An executable version
-
-
- ********************************
-
- Code from "The Midnight Vampire" by Murray L. Lesser
-
- Just when you thought it was safe to go back to the keyboard,
- you find a day has been sucked from your DOS calendar. Murray has
- a program to foil the vampire--with GARLIC, naturally--and he
- urges readers to regard "the experts" with a healthy grain
- of salt.
-
- BINGO.ASM An short TSR program used for checking whether DOS is
- testing for a calendar update while waiting for
- command-line input
- BINGO.COM An executable file
- DEBING.ASM A utility program to remove the BINGO TSR
- when BINGO has been run in an environment (such as DESQView
- 386) that doesn't periodically emit an INT 1AH, AH=0
- DEBING.COM An executable file
- GARLIC.ASM A tiny TSR that circumvents the midnight vampire
- GARLIC.COM An executable file
- GARLICP.COM An executable version that also removes the tie between
- the DOS clock and the real-time clock
- VAMPIRE.ASM Assembly language source designed to demonstrate the
- midnight vampire (see article for test procedure)
- VAMPIRE.COM An executable file
-
-
- ***********************************
-
- Code from "Fast Hercules Line Drawing" by Nicholas Wilt
-
- The venerable Hercules standard isn't losing any ground in
- the monochrome graphics arena. Going back to basics, Nicholas presents
- assembly language code for fast line drawing on banded graphics cards
- such as the Hercules monographics, the AT&T 6300, and the original
- CGA.
-
- HERCLINE.ASM Assembly language source for our fast line drawing
- routine
- HERCTEST.C A program to test and compare HERCLINE with the Borland
- line-drawing (BGI) library routine
- HERCTEST.EXE An executable file
- HERCTEST.MAK A make file
-
-
- ***********************************
-
-
- If you would like to subscribe to Programmer's Journal, order back
- issues, or buy one of our nifty T-shirts, please write to:
-
- Programmer's Journal
- P.O. Box 70167
- Eugene, OR 97401-0110
-
- or call (800) 234-0386.
-
- Subscriptions are $21.95 annually (six issues). We welcome
- your comments about the magazine and our code disks. Please use
- the above address to let us know what you think.
-