home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
commercial-software
/
programming
/
AZTEC302.ZIP
/
DEVRLS.DOC
< prev
next >
Wrap
Text File
|
1998-09-16
|
11KB
|
258 lines
Aztec C86, version 3.2d
Developer System
for CP/M-86
Release Document
This package contains version 3.2d of the Aztec C86 Developer
System for CP/m-86.
This release document is organized into the follwoing sections:
1. New Features
2. Packaging
3. Additional Documentation
1. New Features
This section describes the differences between version 3.2d of the
Aztec C86 Developer System and version 1.06d of the Aztec C86 Pro
System.
. Version 3.2d has two compilers: cc, which produces very
efficient, optimized code, and can optionally generate code
for the 80186 and 80286 processors; and ccb, which is an
upgrade of the 1.06d compilter. Modules that have been
compiled with either compiler can be linked together.
. The v3.2d compilers support the follwoing features that
weren't supported by the v2.2b compiler. These fratures are
described in the Programmer section of the Compiler chapter.
+ cc supports bit fields
+ names are significant to 31 characters
+ Structure asignment
+ Line continuation
+ The void data type and restrictions on pointer
assignments
+ const, signed, and volatile are reserved words.
+ The special symbols __FILE__, __LINE__,
and __FUNC__
+ String merging
. The v3.2d compilers support several new options. These are
preceded by a + character.
The -M option isn't supported by the v3.2d compilers.
The -J option is supported by the v3.2d ccb compiler, as
the +J option; it isn't supported by v3.2d of the cc compiler.
For a complete discussion of the new options, see the
Compiler chapter.
. Compiler error codes greater that 115 are new.
. When writing assembly-language modules for v3.2d, the name
of the segments containing a program's code and data must be
codeseg and dataseg, respectively.
. For assembly-language modules, the assume directive must be
used to identify the contents of the segment registers to the
assembler.
. The v3.2d assembler supports macros in a manner comptible
with the PCDOS/MSDOS assembler.
. Several options have been added to the assembler relating to
the generation oflistings, squeezing, and the creation of
symbols.
. The ioctl function has been made fully UNIX compatible.
. The utility programs lb, and ord were not in v1./06d. lb is a
replacement for the libutil program that's in v1.06d, and ord is
a utility that can be useful when creating object libraries. lb is
described in the manual's Utility Programs chapter, ord is
described in the Additional Documentation section of this
release document.
. The programs grep and diff, which are similar t the UNIX
programs of the same names, were not in v1.06d. They're
described in the manual's Unitools chapter.
. A new math library, the 'sensing library';
. Assembly language macros are provided, which simplify the
task of writing C-callable, assemblyu language routines. See the
Technical Information chapter for details;
. Support for the generation of ROMable programs has been
added.
. There are new library functions;
. There is a new manual.
The following paragraphs descuss some of the new features.
1.1 The 'sensing' math library
There are three math libraries in version 3.2d of the Aztec C86
Developer System: m.lib and m87.lib, which were in the previous
versions of Aztec C86, and a new 'sensing' math library, m86s.lib.
The floating point operations for a program linked with one of the
versions of m.lib will be performed using software routines, while thos
of a program linked with one of the version of m87 will be
performed using the 8087.
The floating point operations for a program linked with one of the
versions of m87s.lib will be performed using the 8087, if it is available;
otherwise, they will be performed using software toueings.
The advantages and disadvantages of the different math libraries
are:
. Linking a program with one of the versions of m87.lib results
in a small, fast program that can only be run on a machine
that has an 8087.
. Linking it with one of ther versions of m.lib results in a larger,
slower program that can be run on any machine.
. Linking it with one of the version of m87s.lib results in a
program that is about the same size as when linked with m.lib.
The program will be as fase as when linked with m87.lib when
the machine on which it runs has an 8087. The program can
run on any machine./
1.2 New functions
The following functions are either new or have been changed in
version 3.2d of the Aztec C86 Developer System for CP/M-86.
function description
access determine file accessibility
assert verify program assertion
brk set heap pointer
memccpy, etc memory operations
mktemp make name for temporary file
movblock move block of memory
perror, etc write error message
sbrk set heap pointer
scr_curs, etc accesss console via ROM BIOS
tmpfile create & open temporary file
tmpnam make name for temporary file
For details, see their description in the 8086 Functions chapter.
1.3 New Manual
The new manual describes some features that are only availabe
with the Aztec C86 Commercial System for PCDOS/MSDOS. The
features that are not supporte by the CP/M-86 Developer System are:
. Support for the large memory models;
. The UNIX utility make;
. The text editor Z and the related utility ctags;
. The db debugger;
. Support for the Microsoft assembler and linker;
. 'Foreign Library' support;
. The term utility program is provided in source form only.
This program is coede for use on an IBM PC running PCDOS
and will have to be changed for use in other environments.
Changes have been made to the new manual since it was last
printed: there's new features, and some existing features have changed.
The Additional Documentation section of this release document
contains the new documentation, in a form suitable for inclusion in
the manual.
2. Packaging
The Aztec C86 package includes the following files that contain
executable programs:
CC.CMD Optimizing C Compiler
CCB.CMD Non-optimizing C Compiler
AS.CMD Assembler
LN.CMD linker
LB.CMD Object file librarian
ORD.CMD Sort utility for lb
CNM.CMD Object file utility
OBD.CMD Object file utility
SQZ.CMD Object file utility
HEX86.CMD Hex utility for generating
ROMable programs
DIFF.CMD Source file comparator
GREP.CMD Source File pattern matcherr
CRC.CMD CRC utility
ARCV.CMD Source archive utility
It includes the following libraries, each ofwhich uses the 'small
code' and 'small data' memory modes:
C.LIB Library of non-floating point functions
for CP/M-86 programs
M.LIB Library of floating point functions
(non-8087 version)
M87.LIB Library of floating point functions
(8087 version)
M87S.LIB Library of floating point functions
(sensing version)
S.LIB Screen functions (for IBM PC only)
G.LIB Graphics functions (fopr IBM PC only)
D11.LIB Version of C.LIB for
PCDOS/MSDOS 1.1 programs
D20.LIB version of C.LIB for
PCDOS/MSDOS 2.x programs
The following object modules rea included:
OVLD.O, OVLDPATH.O, OVBGN.O
Object modules for overlay support
SROM.O Startup routine for ROM programs
It includes the source to a sample C program in the file EXMPL.C.
It includes the following files that contain source archives, which
can be unpacked using the ARCV program (See the Utility Program
chapter for details):
HEADER.ARC *.H Files
STDIO.ARC STDIO functions
CPM86.ARC CP/M-86 functions
DOS11.ARC PCDOS/MSDOS 1.1 functions
DOS20.ARC PCDOS/MSODS 2.0 functions
MATH.ARC Math functions
MCH86.ARC 8086 functions
MISC.ARC Miscellaneous functions
S.ARC Screen functions
G.ARC Graphics functions
TERM.ARC term utility source
The first one of theses source archives, that you will need is
header.ard, which contains the #include files such as stdio.h, ctype.h, etc.
The file CRCLIST contains the CRC values for the files. You can
compute the CRC values of the files we sent you and then compare
then with their expected values, using the program CRC. For
example, entering
CRC *.*
computes the CRC of all files on the current directory of the
default drive.
3. Additional Documentation
This section discusses the following topics:
. New Compiler options.
. The ord program.
. Generating ROMable code.
. The clock function.
. The signal function.
. The ls program.
. New features for Z.
The description of new compiler options can be appended to the
manual's Compiler chapter.
The ord program is new to Aztec C86; its description can be
appended to the manual's Utility Programs chapter.
The discussion about generation of ROMable code replaces a
section of the manual's Technical Information chapter.
The other new documentation describes features that are provbided
with the PCDOS/MSDOS version of the Azted C86 Commercial
System, but that aren't provided with the CP/M-86 verion of the
Aztec C86 Developer System. We are including theie descriptions so
that your manual will continue to be current. The descriptions of the
clock and signal functions can be appended to the manual's 8086
Functions chapter. The descriptiojns of ls and new Z features can be
appended to the manual's Unitools chapter.