home *** CD-ROM | disk | FTP | other *** search
- ******************************************************************
- * * * * * PROGRAMMER'S JOURNAL--Volume 7.1 CODE DISK * * * * *
- ******************************************************************
-
- The source code files on this disk are from Programmer's Journal,
- Volume 7.1, January/February 1989.
-
- These files are identical to those published in the magazine. The copyrights
- are held by the programs'authors, as noted in the files. All other rights are
- reserved by Oakley Publishing Company, 1988 and 1989. 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.
-
- The files from Volume 7.1 are as follows:
-
- "Higher 256-color Resolution on the VGA"--when is 320x200 really 320x400,
- and those less obvious high resolution VGA color modes
- by Michael Abrash
-
- VGA71-L1.ASM Program to demonstrate pixel drawing in 320x400
- 256-color mode on the VGA. Draws 8 lines to form an
- octogon, a pixel at a time. Draws 8 octogons in all,
- one on top of the other, each in a different color set.
- Although it's not used, a pixel read function is also
- provided
- VGA71-L2.ASM Program to demonstrate the two pages available in
- 320x400 256-color modes on a VGA. Draws diagonal color
- bars in all 256 colors in page 0, then does the same in
- page 1 (but with bars tilted the other way), and finally
- draws vertical color bars in page 0
-
-
- "Demagnetizing Static Variables"--Modifying typed constants (alias static
- Variables) stored in Turbo 4.0 and 5.0 compiled EXE code files is hairy
- business, but it can be done.
- by Tom Swan
-
- TCUNIT.PAS Program for editing typed constants in EXE files
- for Turbo Pascal 4.0 or 5.0
- TCUNIT.TPU A TPU compiled with Turbo Pascal 5.0
-
- WINDGLOB.PAS Typed constants for WINDTEST and WINDINST
- WINDGLOB.TPU and a Turbo Pascal 5.0 TPU
-
- WINDTEST.PAS A sample test program in Turbo Pascal 4.0/5.0
- WINDTEST.EXE and the generated TP 5.0 executable file
-
- WINDINST.PAS Windtest installer in Turbo Pascal 4.0/5.0
- WINDINST.EXE and a TP 5.0 executable
-
-
- "Terminal Emulation under Windows"
- by William S. Hall
-
- WINH19.C Program entry module extracts from a Windows H19
- terminal emulator in Microsoft C
- WINH19FN.C Emulator function support module extracts from a
- Windows H19 terminal emulator in Microsoft C
-
- Also, since William Hall's article "An OS/2 Presentation Manager Application
- Template", PJ 6.5, Microsoft has altered the API enough to break
- the original code. In particular, WinCreateStdWindow has
- changed. Bill has included a new version which should compile and
- run correctly under the current PM SDK, version 4.99.
-
- SPMTPL A make file for SPMTPL
- SPMTPL.DEF The Presentation Manager .DEF file
- SPMTPL.H The header file with constant definitions for the
- strings in the resource file as well as globals
- terminal emulator in Microsoft C
- SPMTPL.RC The resource file
- SPMTPL.C The main C source code to SPMTBL
- SPMTBLNT.C The code needed only during for startup
- SPMTPL.EXE An executable version of the SPM Presentation
- Manager template
-
-
- 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
- PO Box 30160
- Eugene, OR 97403
-
- or call (503) 747-0800.
-
- Subscriptions are only $19.95 annually (six issues). We welcome
- your comments about the magazine and the code. Please let us
- know what you think, at the address given above.