Updates
CUG159 Adventure
Bob Withers (TX) has updated the adventure game, CUG159 Adventure, which was originally written by Willie Crowther. The code now compiles under Microsoft C v5.10 or later for both MS-DOS and OS/2. The modified code also eliminates the constant disk access during game play.
CUG266 microPLOX
Bob Patton (TX) has updated his original graph/charts drawing program, microPLOX. This v5.0 release includes internal restructuring of the program and several new features: multi-color support for color monitors (CGA, EGA, and VGA), and multiple data file use from one command file. The program was developed under Watcom v7.0.
CUG292 ASxxxx C Cross Assembers
Alan R. Baldwin has released v1.5 of ASxxxx assemblers and linkers. These new releases can now move byte index, direct page mode, and byte PC relative address checking from the assembler to the linker. This change has allowed the following enhancements:
The ASxxxx assemblers can generate a listing file that flags the data that will be relocated by the linker. The REL file format now has an additional directive for paging information and has additional flags for page0, page, and unsigned byte formats. The new liker is compatible with the first version of the ASxxxx assemblers.
- The .setdp directive now has a common format for AS68xx assemblers.
- Direct page variables may be externally defined with their addresses resolved at link time.
- Byte index offsets may be external references and resolved at link time.
- Byte PC relative instructions (i.e. branches) may reference external labels or labels in other areas.
CUG297 Small Prolog
Henri de Feruady (France) has reported a bug in his "Small Prolog". The bug is located on the line number 134 in file pralloc.c.
Str_mem = os_alloc (heap_size);should be replaced with:
Str_mem = os_alloc (str_size);New Releases
CUG327 Panels for C
Contributed by J. Brown (KS), a shareware package, Panels for C is a collection of user interface routines (windows and menus) for IBM PC. Unlike other window libraries, screen fields and attributes that are defined in an ASCII text file are interpreted at runtime. Thus, fine-tuning user interfaces is possible without recompiling the program. The distribution disk includes a small model object code for Microsoft C, and demo C source and executable code. To obtain the C source code, please contact the author at BC Systems, P.O. Box 781202, Wichita, KS 67278.
CUG328 WTWG
David Blum (CA) has submitted a shareware package, WTWG, with routines for Window Text mode or Window Graphics mode 1.0. WTWG provides drawing boxes, overlapping windows, mouse-selectable buttons, scroll bars, save/restore screens, text/graphics mode operations, transparent integration of mouse and keyboard (the mouse is just another key.), virtual memory system using expanded memory, RAM or disk space, pulldown and popup menus, context-sensitive help, programmer-definable hot keys, keyboard macros (record or playback keystrokes), onscreen clock in either text or graphics mode, simple mouse-driven drawing, screen-saver, data-entry forms, and data validations. The disk includes Turbo C small and large model libraries and Microsoft C medium model library, demo C source and project/batch files, utilities for on-line help, keyboard macros, and file manipulation, and documentation. To obtain the C source code, please contact the author at 1710 Glyndon Ave., Venice, CA 90291.
CUG329 UNIX Tools for PC
This volume contains a collection of submissions. Most of the programs were derived from some UNIX commands and rewritten to compile under MS-DOS or OS/2. The distribution disk includes all the C source code.Robert Jr. Artigas (TN) has ported UNIX utilites, cat (concatenate files), cut (cut out selected fields of each line of a file), paste (merge same lines of several files or subsequent lines of one file), tr (transliterate characters), wc (word count), vis (visual display of files) and egrep (regular expression matcher search utility) to MS-DOS and OS/2 environments. egrep uses regular expression functions developed by Henry Spencer (Canada).
Martin D. Winnick (CA) has modified a cross-referencer, XC by Philip N. Hisley (MD), using Microsoft Quick C. The program is now called XCXREF and processes more symbols from input text.
Arkin Asaf (Israel) has contributed cflow, define and dprintf. cflow is a program that displays a function dependency tree from input C source files. The program doesn't preprocess and parse the code, but it does a good job of displaying the function dependency tree. It even distinguishes between function definition and function declarations. define constructs C definitions from a plain English description. For example, from a sentence, foo is function returning pointer to array of int., define ouputs int (*foo())[]. dprintf is the implementation of an ANSI standard C function, printf. It is highly portable and expandable.
Henri de Feraudy (France) has submitted a string substitution utility, csubst. csubst extracts strings or substitutes strings in C source code. The string extraction helps create a substitution table that can be used for substitution. The program was developed with the help of lex (lexical analyzer). Makefiles for Turbo C, Mark Williams C, Zortech C, and QuickC are included as well as the C source files.
CUG330 CTask
CTask, v2.1, contributed by Thomas Wagner (West Germany), is a set of routines that allows your C program to execute functions in parallel, without you having to build in sophiscated polling and switching schemes. CTask handles the switching of processor time with a priority-based, pre-emptive scheduler. It provides a fairly complete set of routines for inter-task communication, event signaling, and task interlocking. CTask also includes a number of drivers for MS-DOS which build on the basic functions that allow you to include serial I/O, printer buffering, and concurrent access to MS-DOS functions into your programs with little programming effort. To compile CTask, Microsoft C v5.1 or later, or Turbo C v2.0 or later are required. Microsoft MASM 5.1 or later, or TASM 1.01 or later is required for the assembly parts. The disk includes well-written documentation, C and assembly source code, library modules for Microsoft C and Turbo C, make files, and sample application source code.