Dec 192017
 
Turbo C source code for an ANSI interpretor, and TYPE replacement.
File ANSIINT.ZIP from The Programmer’s Corner in
Category C Source Code
Turbo C source code for an ANSI interpretor, and TYPE replacement.
File Name File Size Zip Size Zip Type
ANSII.C 9737 2667 deflated
ANSII.OBJ 4171 2570 deflated
MAKEDEMO.BAT 664 370 deflated
READ.ME 2484 1066 deflated
TYPEM.C 3204 1254 deflated
TYPEM.EXE 20676 11279 deflated

Download File ANSIINT.ZIP Here

Contents of the READ.ME file



.---------------------------------.
: Telegard ANSI Interpretor v1.00 :
`---------------------------------'

** This ZIP file contains the following files: **
.---------------------------------------------------------------.
: READ.ME -- This text file :
: MAKEDEMO.BAT -- A demonstration compile of the TYPEM utility :
: ANSII.C -- Source code to the ANSI Interpretor :
: TYPEM.C -- Source code to the TYPEM utility :
: TYPEM.EXE -- TYPEM utility executable :
: ANSII.OBJ -- Object code generated with LARGE memory model :
`---------------------------------------------------------------'

The DOS command "TYPE" will output text with imbedded ANSI codes in
it, but only when ANSI.SYS is in memory. This interpretor program
will output any such text, without ANSI.SYS even needing to be loaded
into memory. One added advantage this interpretor has over using
ANSI.SYS in your programs is that it respects the current C text
window being used, and will NOT display text outside of it.

This program, and source code, is provided AS IS. There are no
guarantees, and this is all the documentation that comes with it! It
is a simple program, however, and should be relatively easy to adapt
to any application you may need it for.

Written in Turbo C v2.0, it utilizes the powerful inline assembler to
optimize some of the display and positioning routines. Therefore, if
you don't have the Turbo Assembler (which is required to compile the
inline routines), you should not attempt to compile the ANSII.C file
seperately, but simply compile your programs with the ANSII.OBJ file
AS IS. It is already compiled for this reason.

A short little utility called "TYPEM", and source code, is provided
as an example, to show how to use the ANSI interpretor. "TYPEM" will
display a single, or multiple, text files, with a pause screen in
between each, and the ability to pause the screen, or abort to the
next file. A batch file "MAKEDEMO.BAT" is included to show how to
compile the "TYPEM" utility.

ANSII.OBJ was compiled using the LARGE memory model.


If you have any suggestions, send them to user #1 (Eric Oman) on:

The Pointe BBS
(313) 885-1779 (PC-Pursuitable!)
1200/2400 bps; 80 megs online 24 hours a day
The home of the Telegard BBS software



 December 19, 2017  Add comments

Leave a Reply