home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
comm
/
tempest.lha
/
drlib17.lha
/
ReadMe
< prev
next >
Wrap
Text File
|
1993-05-12
|
5KB
|
116 lines
Welcome!
DOOR.LIB
By The Technician, aka Rick Rumer
NOTE: New to Version 1.7 -
for SMALLCODE,SMALLDATA models, use DOOR.LIB
for LARGECODE,LARGEDATA (-b0) models, use DOORBIG.LIB
Before you read any further: This .LIB file is ONLY useful for
programmers creating DOOR or CLI programs for Tempest BBS! It is NOT
compatible, nor will it be, with ANY other BBS system!
That said, let's get on with it!
Q. What's the difference? Why should I use this instead of the
L_DOOR.o code? Who cares?
A. When you link with L_DOOR.o code, ALL of the modules are added to
your door code, EVEN if they are NOT used! This makes for large
door programs, and wastes space. When you link with DOOR.LIB,
ONLY the modules you've used in your program are added. This is
done by the compiler, NOT something you must do manually!
Q. What other advantages are there?
A. With L_DOOR.o, you MUST be using the Lattice/SASC compiler, and
not only that, but you must be using the same VERSION! (5.1b)
This .LIB file should be portable to ANY other compiler,
including DICE, GNU, and of course MANX. (I haven't tested this,
but it says you can....)
This library contains a version number, which can be read with
the VERSION command in AmigaDOS. Simply type :
1> VERSION DOOR.LIB
and it will report:
DOORLIB 1.0
I had to take the period out of it for the BumpRev program to
work, so that I could update it as neccessary. ;-)
This enables you to tell easily which version you're using, in
the likely event of updates.
Q. OK, that's neat. But it still only has the same stuff in it, right?
A. NO. I've added some personal favorites, PLUS revamped some of the
old routines to make them better! See the file "Routine.DESC"
for descritions and Usage of the new/changed routines. PLEASE
NOTE: NO ROUTINES HAVE BEEN REMOVED!!! ANY door you've
written will still be compatible! (As of V1.4v4 of Tempest)
Q. OK, now I'm convinced! But, how do I use it? What might my
makefile and/or link file look like?
A. It couldn't be easier. We'll use my door program called new user
application for an example.
Example:
OLD APP.LNK:
FROM LIB:c.o+"APP.o"
TO "APP2"
---> LIB "LIB:L_DOOR.o" LIB:lc.lib LIB:amiga.lib
SMALLCODE
SMALLDATA
VERBOSE
NEW APP.LNK:
FROM LIB:c.o+"APP2.o"
TO "APP2"
---> LIB LIB:DOOR.LIB LIB:lc.lib LIB:amiga.lib
SMALLCODE
SMALLDATA
VERBOSE
This same method would also apply to those using MakeFile
(LmkFILE) formats. I have tested this thouroughly, as has The
Skeleton, and no bugs or problems have been found. Door code is
typically 400 bytes smaller MINIMUM, and in my case, it shaved off
4,000 bytes!!!! (4K) of the Application program!
Q. If it's this easy to use, why didn't somone do it before?
A. I didn't know how.... ;-) Now I do, so you can reap the
benefits!
NOTE TO OTHER PROGRAMMERS :
If you have some really neat code you would like included in the
library, send it to me as a P-FILE on NiteFall II. I'm looking for
swift routines that perform cumbersome duties, in an effort to assist
persons new to programming for Tempest. With the design of this .LIB
file, the routines that can be added are almost limitless, and since
ONLY routines that are used are added to your final output, there
isn't any overhead of unneeded routines!
if you have ANY Questions not answered here, or if you just need
some clarification, I can always be reached on my BBS, which you'll
see my little blurb right below this line....
___________| __ This file happily presented to you
<___________|< >= from those of us on NiteFall II BBS!
| \ \
/X\ > > Featuring the BEST of the Public Domain!
__/ \_/ / (Amiga, MACintosh, IBM/Clones)
/ / ` ,') /
/ \__/ / 300 - 19.200 Baud USR DUAL-STD MODEM!
/ /\ ) (300-1200 Message Bases Only)
_______< <__) / (515) 277-1320 (Des Moines, IA)
/ \ \ (
/ \ <__> \ SUPPORTING THE NEW MNP-5 MODEMS!
//\/ /--\____ __ |
// / / / \ | || 654 Megs! 24 hrs, 7 days a week
\| \ |\ | || ||
|| || || || Tempest BBS software support site!
|| || || ||
|_\|_\ |_\ |_\ CALL NOW!!!! Access first call!