ßßß² ² ² ² ßß ²ßß² ²ßß² ² ßß ² ² ² ²ßßß ßßß² ² ßß ² ² ²ßß² ² ßßTM ± ±ÜÜŪ ± ÜÜ ± ± ± ± ± ÜÜ ± ܱ ± ±ÜÜÜ ± ± ÜÜ ±± ± ± ± ± ÜÜ ° ° ° ° ° ° ° ° ° ° ° Ü ° ° ° °° ° ° ° ° Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū ° Ū Ū Ū ŪŪ Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū ŪŽŻŪ Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū ŪŽŻŪ Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū Ū ŪŪ Ū Ū ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° °° ° ° ° ± ± ± ± ± ± ± ± ± ±ß ± ± ± ± ± ± ± ±± ± ± ± ² ² ² ²ÜÜÜ ² ܲ ²Üܲ ²ÜÜÜ ² ² ² ²Üܲ ² ²ÜÜÜ ² ² ² ܲ ²ÜÜÜ STžTC ŚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄæ ³ ³ ³ X L I N K v e r s i o n 2 . 0 2 ³ ³ ³ ³ Copyright (c) 1994,95 by J.E. Hoffmann aka Jinx! of THE COEXiSTENCE ³ ³ All rights reserved. ³ ³ Not for commercial use. ³ ³ ³ ĄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄŁ Released 08th March 1995 - ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ - DISCLAIMER AND COPYRIGHT NOTES - ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ - All productions of THE COEXiSTENCE are copyright (c) of THE COEXiSTENCE! This material is not freeware! It is for non-commercial use! ------------------------------------------------------------ The XLINK 2.02 software and information attached hereto, hereafter "XLC", is the property of J.E. Hoffmann. Read the terms and conditions of this agreement carefully before using the software. If you for any reason, whatsoever, cannot accept the conditions in this agreement, you are not permitted to use XLC. You may freely distribute and copy XLC and programs linked with it in a non-commercial environment provided that NO payment of any kind is charged for XLC or any combination of products or services including XLC without the authorization of the author J.E. Hoffmann and official written license and the distribution archive of XLC contains unmodified copies of the original files as produced by J.E. Hoffmann of THE COEXiSTENCE. Definition of "non-commercial distribution and use": ž Not using in a commercial environment, such as business, governmental organization, association, school, foundation, or any other form of juridical person, or any system where XLC is directly or indirectly used to make profit. ž Copying the software on diskettes and/or on tape-storages and handling it over from one person to another without any payment. ž Allowing the download of the software through a private Bulletin Board System without additional charges. (Pay Bulletin Board Systems may, however, charge their normal fee provided that no additional charge for XLC is levied.) Commercial use, especially the industrial manufacturing on any data storage media and their distribution without the expressed permission of the producer, is strictly prohibited. No part of XLC (or programs linked with XLC) may be modified, altered, reverse engineered, sold, or distributed in any form whatsoever which would involve some sort of trade without prior written permission from Boris Bertelsons, Gero Mudersbach and J.E. Hoffmann of THE COEXiSTENCE. *** THIS INCLUDES THE DISTRIBUTION ON SHAREWARE AND OTHER *** *** CD-ROMS, YOU MAY NOT UNDER ANY CIRCUMSTANCES DISTRIBUTE THIS *** *** PRODUCTION ON A CD-ROM WITHOUT A PRIOR WRITTEN PERMISSION! *** Distributing XLC on CD-ROMS for all that without a written permission WILL result in legal action against you AND your distributors worldwide! (See the "contact"-chapter of this textfile for contact- addresses.) This production is provided "as is", without warranty of any kind or fitness for a particular purpose, either expressed or implied, all of are hereby explicitly disclaimed. THE COEXiSTENCE only guarantees that this production will occupy disk space. In no way THE COEXiSTENCE or members of it, including J.E. Hoffmann, can be made liable for any damages that are caused by XLC. You are using XLC at your own risk! - ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ - XLINK is CARD WARE - ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ - This means, if you like XLINK and use it (and if NOT, write your own exe linker) you will have to send me a postcard! See below how to contact me. This will be the last public release. There will not be any bugfixes or new versions for the public. If you want the latest version of XLINK you will have to pay money for it. - ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ - XLINK - ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ - XLINK allows you to link exe and data files to one big exe file! All files you wanna have linked must be specified in a file (XLC format described below). Everything you must do is to create a XLC file, XLINK is doing the rest for you. The XLC contains a file section there you put in the files to be linked (exe files too) and a start section there you put in the exe's to executed. XLINK is running fine now with realmode and protected mode programs (Borland Pascal/C, Borland Pascal 16bit DPMI, WATCOM C/C32 DOS4GW & PMODE/W, etc). Eof-errors and the DOS-API EXEC & OVERLAY LOAD function are now supported! XLINK works also fine with WATCOM's SPAWN?? functions now. Here is a little example: (yeeah I linked DOOM.EXE and DOOM.WAD and it works fine) -- / -- -- / -- -- / -- -- / --- CUT HERE -- / -- -- / -- -- / -- -- / -- ;---------------------------------------------------------------------------- ; FILE: DOOM.XLC ; <-- everything behind -;- is a comment ;---------------------------------------------------------------------------- ;---------------------------------------------------------------------------- ; Put here the files to be linked ; FORMAT: "FILE_FULL_DOS_PATH","NEW_NAME" ;---------------------------------------------------------------------------- [FILE] "DOOM.EXE","MY_DOOM.EXE" "DOOM.WAD","DOOM.WAD" ;---------------------------------------------------------------------------- ; Put here the files to be executed by the loader ; WARNING: EXE files ONLY! ; Convert your COM files to EXE files. ; FORMAT: "NEW_NAME","COMMAND PARAMETERS" ;---------------------------------------------------------------------------- [START] "MY_DOOM.EXE","" ;---------------------------------------------------------------------------- ; every XLC file must end this way! ;---------------------------------------------------------------------------- [END] -- / -- -- / -- -- / -- -- / --- CUT HERE -- / -- -- / -- -- / -- -- / -- To start XLINK type: C:> XLC DOOM.XLC LINKED.EXE - ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ - Supported DOS API functions - ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ - XLINK supports only handle orientated DOS API functions (no support for FCB functions). If you open a file, XLINK will first look if the file is linked. If not it gives the control back to the normal DOS API. INT 21h - 00h - Terminate program No problem INT 21h - 31h - Terminate and stay resident No problem INT 21h - 3Dh - Open file No problem INT 21h - 3Eh - Close file No problem INT 21h - 3Fh - Read file No problem INT 21h - 40h - Write file WARNING!: XLINK uses fixed filesizes! If you write over the end of your file it will look like there is not enough diskspace! (No problem if you operate with DOS files) INT 21h - 41h - Delete file NEVER TRY THIS! YOU WILL DELETE YOUR EXE FILE! (No problem if you operate with DOS files) INT 21h - 42h - Seek file end of file error are now supported! No problem INT 21h - 43h - Get/set attibute of file You will get/set the attribute of your exe file! (Makes no sense to use it) (No problem if you operate with DOS files) INT 21h - 45h - Double handle NOT supported (SO DO NOT USE IT) (No problem if you operate with DOS files) INT 21h - 46h - NOT supported (SO DO NOT USE IT) (No problem if you operate with DOS files) INT 21h - 4Bh - Execute The subfunctions 00 and 03 are now supported! INT 21h - 4Ch - Terminate program No problem INT 21h - 4Dh - Get exit code No problem - ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ - TURBO PASCAL programs - ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ - XLINK should run fine with all realmode TURBO PASCAL programs! Assign, Reset, BlockRead, BlockWrite, Seek, FileSize, FilePos, Eof are working ok! XLINK can now also execute BORLAND PASCAL 16Bit DMPI protected mode applications! (Even if 16Bit protected mode is bullshit). - ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ - ASM and C programs - ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ - Take a look at the "Supported DOS API functions" and use only the supported in your program! There should be no problems then. DOS4GW is running fine with XLINK! XLINK had some problems with PMODE/W then SHARE is loaded (CONTAGION Demo!), but that's fixed now! - ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ - How to contact the author (you know, the postcard...) - ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ - Snailmail: ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ J.E. Hoffmann aka Jinx!/TC Osdorfer Weg 61 226o7 Hamburg GERMANY BBS: ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ FARPOiNT STATiON - THE COEXiSTENCE WHQ SYSOP: STiNGRAY/TC aka Gero Mudersbach +49-(o)42o-276-145 GERMANY INTERNET: ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ stingray@tc.ver.provi.de