home *** CD-ROM | disk | FTP | other *** search
- *****************************************************************
- * *
- * * * * * PROGRAMMER'S JOURNAL--Volume 8.5 CODE DISK * * * *
- * *
- *****************************************************************
-
-
- The source code files on this disk are from Programmer's Journal,
- Volume 8.5, September/October 1990. 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 noted in the
- files. All other rights are reserved by Oakley Publishing
- Company, 1990. No one may commercially distribute these files.
- Every effort has been made to assure that the program files are
- correct and complete. No guarantee, expressed 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 8.5 are as follows:
-
-
- Code from "More Colors on the VGA" by Michael Abrash.
- Installment 20 of "On Graphics," in which Michael explores
- the complexities of VGA color and taps the wisdom of both the
- Eurythmics and Yogi Bear.
-
- VGACOLOR.ASM Assembly code to display 256 colors
-
- VGACOLOR.OBJ Object module assembled with Microsoft
- Assembler version 5.1
-
- VGACOLOR.EXE An executable program which displays 256 color
- diamonds in a continuous spectrum
-
-
-
- Code from "A Virtual Memory System in C/C++" by Allen Holub.
- Allen uses C and C++ to implement a virtual memory class for
- large data arrays.
-
- VIRT.C Listing 1 vms (Virtual Memory System) functions
- VIRT.H Listing 2 vms externals for virt.c
-
- VTESTC.C C test program
-
- VIRT.HPP Listing 3 tell C++ about C functions
- VINT.CPP Listing 4 class definitions
- VMETHOD.CPP Compile the methods in VINT.CPP
- VTEST.CPP C++ test program
-
- TURBOCPP.MAK Make file for C++ test program Turbo C++
- This file should be renamed to MAKEFILE
- for use
-
- VIRTT.OBJ Compiled from VIRT.C with Turbo C++
- VMETHODT.OBJ Compiled from VMETHOD.CPP with Turbo C++
- VTESTT.OBJ Compiled from VTEST.CPP with Turbo C++
-
- VTSTCPPT.EXE Test program created with Turbo C++
-
- VTESTCPP.MAK Make file for C++ test program Zortech
- This file should be renamed to MAKEFILE
- for use
-
- VIRTZ.OBJ Compiled from VIRT.C with Zortech C++
- VMETHODZ.OBJ Compiled from VMETHOD.CPP with Zortech
- VTESTZ.OBJ Compile from VTEST.CPP with Zortech C++
-
- VTSTCPPZ.EXE Test program created with Zortech C++ 2.06
-
- VTESTC.MAK Make file for test program in MSC 6.0
- VIRTMSC.OBJ Compiled from VIRT.C with MSC 6.0
- VTESTC.OBJ Compiled from VTEST.C with MSC 6.0
- VTESTC.EXE An executable C test program for vms
-
- Code from "Windowing Text with X" by John Otken.
- John develops a useful text windowing system based on a
- handful of X Window Protocol packets.
-
- W.MAK Make file
-
- ASM.INC General assembler macros and directives
-
- WINDOW.INC "W" Window macros and definitions
-
- STARTUP.ASM Start up code for assembly language
- programming
-
- STRERROR.ASM Code for the error message interface
-
- WLIB.ASM Assembly language window interface
- routines
-
- WMISC.ASM Miscellaneous procedures
-
- WNET.ASM Simulated window network interface
- routines
-
- WOLD.ASM Miscellaneous routines from issue 8.2 March/April 1990
-
- WSERVER.ASM Window service routines for "W" Window
-
- WTEST.ASM A test program for "W" Window
-
- WVIDEO.ASM Video interface for window system
-
- WTEST.EXE An executable test program for "W" Window
-
- Note: This program produces somewhat
- obscure, although accurate, results
-
- The screen looks like this:
-
- ninetyninetyninetyninetyninetyninetyninetyninetyninetyninetyninetyninetyninetyni
- 122333444455555
- The quick brown fox jumps over the lazy
- ninetyninetyninetyninetyninetyninetyninetyninetyninetyninet
- The quick ******************** time for
- The quick ******************** the lazy
- ********************
-
- The following is a list of object modules
- of the above ASM files assembled with
- Microsoft Assembler version 5.1
- STARTUP.OBJ
- STRERROR.OBJ
- WLIB.OBJ
- WMISC.OBJ
- WNET.OBJ
- WSERVER.OBJ
- WTEST.OBJ
- WVIDEO.OBJ
-
-
-
- Code from "Writing Applications That Travel" by Vaughn
- Vernon. Vaughn develops a string resource manager to ease
- writing an application targeted for foreign language
- versions.
-
- RESOURCE.MAK Make file for Microsoft C
-
- MAKEID.C Program to create .H files from resource
- (.RSC) files
-
- MAKEID.OBJ Object module compiled with Microsoft
- 6.0
-
- MAKEID.EXE An executable program which creates .H files
-
- RESOURCE.H Include file
-
- RESOURCE.C C functions for creating a string
- resource system
-
- RESOURCE.OBJ Object module compiled with Microsoft C
- 6.0
-
- STRINGS.RSC A sample string resource file
-
- TESTRSC.H A sample include file generated with the
- following command:
- MAKEID STRINGS.RSC > TESTRSC.H
-
- TESTRSC.C A sample program to test the resource
- system
-
- TESTRSC.OBJ An object module compiled with Microsoft
- C 6.0
-
- TESTRSC.EXE An executable program testing the string
- resource system
-
-
-
- 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 70167
- Eugene, OR 97401-0110
-
- or call (800) 234-0386.
-
- Subscriptions are only $19.95 annually (six issues). We welcome
- your comments about the magazine and our code disks. Please let
- us know what you think at the address given above.
-