home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari FTP
/
ATARI_FTP_0693.zip
/
ATARI_FTP_0693
/
Mint
/
mnthlb30.zoo
/
00readme
next >
Wrap
Text File
|
1993-06-05
|
4KB
|
110 lines
MiNT library for Heat-n-Serve/Sozobon C, patchlevel 30.
This is a port of Eric Smith's MiNT library to Heat-n-Serve C, based on
Dave Gymer's original port. It replaces the files dlibs.a, dstart.o,
and libm.a from the original Heat-n-Serve distribution, and includes a
simple termcap library.
A reminder, you _will_ need the pl30 include files to use this library.
These can be found where you found this archive, in the file
mntinc30.zoo or similar.
WHAT'S HERE:
00readme
This file.
dlibs.a
dstart.o
MiNT-aware replacements for the Heat-n-Serve distribution files
of the same name.
libm.a
Floating point support. Actually, this is identical to the
libm.a from the original Heat-n-Serve distribution, except that
critical portions have been recompiled with the MiNT headers
(since dLibs and the MiNTlibs disagree on the shape of a FILE).
libtermcap.a
A simple termcap library.
dlibs_8.a
dstart_8.o
libm_8.a
libterm8.a
As above, but compiled with short external identifiers and hence
compatible with HSC v1.40 and earlier. The unnumbered versions
use the new 22-character identifiers available under v2.00 and up.
compiler.h
osbind.h
utime.h
Include files that have been modified since the original pl30
release.
patch/
Stuff you'll need if you want to start playing around with the
library source.
IF YOU JUST WANT TO USE IT:
To get yourself up and running with the MiNTlibs, do the following:
0) Obtain and install the MiNT include files for this version.
1) Copy the files dlibs.a, dstart.o, libm.a and libtermcap.a (or
for v1.40 and earlier, dlibs_8.a, dstart_8.o libm_8.a and
libterm8.a) to the directory where your MiNT library will live.
Also copy the files vdifast.a and aesfast.a from the Heat-n-Serve
distribution to this directory.
2) Replace the files compiler.h, osbind.h and utime.h from the MiNT
include distribution with the ones from this package. Also, replace
the gemfast.h from the MiNT include distribution with the one from
the Heat-n-Serve distribution.
3) Set the environment variables LIB and INCLUDE to point to your MiNT
library directory and MiNT include files directory, respectively.
And you're ready to roll! The MiNT library is a complete replacement
for dLibs, but if you should need to switch back temporarily, you can
simply change LIB and INCLUDE appropriately.
IF YOU WANT TO PLAY WITH IT:
Ah, the hacker type, eh? Okay, here's how to update the pl30 source
release to HSC pl30:
0) Obtain and install the MiNT library source distribution for this
version. Also obtain the following programs from atari.archive:
patch To install the enclosed diffs
cpp \
mit2mot / To build the .cpp files
1) Apply the patches in patch/code30.diffs from this archive using patch
(alternatively, you could apply the patches by hand; the format of
the context diffs is pretty easy to understand). Also, replace the
file sozobon/makefile from the source distribution with
patch/makefile from this archive.
2) Place the programs cpp.ttp and mit2mot.ttp somewhere that make can
find them.
3) In the main source directory, delete all files beginning with `_',
as well as linea.c and inistack.c. Copy all the .s files from
sozobon/, as well as termcap.c and makefile, to the main source
directory.
4) Type `make'. Go watch a movie. ;)
You should now have files dlibs.a, dstart.o and libtermcap.a, which
should be identical to the ones in this package.
DISCLAIMER:
What, you were expecting an ironclad guarantee of performance? ;) Okay,
while I have built several large programs with this library with no
problems, I can't guarantee that there aren't still a few bugs lurking
around in the code. Caveat emptor, use at your own risk, and all that
jazz. And if you should happen to find a bug, please notify me at the
address below.
Have fun!
Scott Bigham dsb@cs.duke.edu