home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
compress
/
xfh132.lzh
/
XFH
/
src
/
README
< prev
next >
Wrap
Text File
|
1993-01-19
|
3KB
|
78 lines
XFH compressing file system handler.
Copyright (C) 1991, 1992, 1993 Kristian Nielsen.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
This directory contains the following:
In the root: Source code for the XFH handler.
In libmy/: Source for special support library.
In libmygcc: Source for a small subset of the GCC ANSI C library (to
avoid using ixemul.library).
Compiling the handler:
The source was compiled with the excellent GCC port by Markus Wild and
BMake by Ben Eng. I've tried isolating all GCC-specific code between
#ifdef / #endif, so it should not be too hard to make it compile with
e.g. SAS C, but I may have missed something here and there. You'll
also need to change the makefiles; remember to compile without startup
code, and use large data model to be safe (XFH uses no global data
anyway except library base pointers). The libmygcc.a is meant to
replace ixemul.library, you can probably get away with any old C library.
If you are using GCC and BMake (and have everything set up correctly),
you should be able to use the supplied makefile. You will first need
to build the libraries. The makefile assumes a setup with the includes
in libmy/ accessible as mys:myinclude/#?.h, and the XFH distribution
(minus source) placed in dist/.
The source also contains an assembler file (DoDOS.asm). I use the
Devpac assembler myself, but I would assume that most standard Amiga
assemblers would do.
A note about debugging: Debug messages are sent out by a debug((...))
call. The messages can be received by the program 'DebugPrc', supplied
in the 'src/' directory (binary only).
Note: The source uses <proto/libname.h> for compatibility; GCC users
can link this to gcc:os-include/inline/.
If you have any questions or problems compiling this source, I can be
reached by the address given below. I'd be very interested in hearing
from people who have tried compiling XFH, and I'm always willing to
try to answer questions (time permitting...). Also, if you make any
changes to XFH, either new features or just ports to other compilers,
I would appreciate it if you sent me the changes so that I can
incorporate them in never versions.
Kristian Nielsen
Groenjordskollegiet
room 6111
Groenjordsvej
DK-2300 Koebenhavn S
Denmark.
E-Mail: bombadil@diku.dk
[Local variables for Emacs:]
Local Variables:
mode: text
End: