home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
200-299
/
ff236.lzh
/
DiskHandler
/
filehand.doc
< prev
next >
Wrap
Text File
|
1989-08-09
|
7KB
|
173 lines
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
* |_o_o|\\ Copyright © 1989 The Software Distillery. *
* |. o.| || All Rights Reserved. *
* | . | || Written by John Toebes, Dave Baker, John Mainwaring *
* | o | || Jim Cooper, Bruce Drake, Doug Walker and Gordon Keener *
* | . |// The Software Distillery *
* ====== 235 Trillingham Lane *
* Cary, NC 27513 *
* BBS:(919)-471-6436 *
* BIX: JTOEBES, DWALKER *
* PLINK: JTOEBES, DWALKER *
* Usenet: ...mcnc!rti!sas!(toebes|walker) *
* CI$: sorry, charlie... *
\* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
------------------------------DISK HANDLER
This contains a sample implementation of a file system that reads and writes
1.2 format diskettes. At this point in time, the following issues are under
investigation:
Existing bugs as of 15-May-89
1. There is no validator
2. Disks without a bitmap are not handled correctly
3. The system time is not set if it is currently unset
4. Some situations with no disk present or a popped disk still may crash the
handler.
------------------------------COPYRIGHT NOTICE
DiskHandler is Copyright © 1989 The Software Distillery.
Permission is granted to distribute programs and data in this distribution
provided the following conditions are met:
1. All files present in the distribution package must be redistributed
with the package, including this documentation file. If you
distribute on diskette, all files must be on a single diskette.
2. The distributor may charge a fee to recover distribution costs.
The fee for diskette distribution should not be more than the cost
to obtain the same diskette from Fred Fish or The Software Distillery,
whichever is greater. Current charge from The Software Distillery
is $6 per disk, including all postage and handling charges.
3. The distributor agrees to cease distributing the programs and data
involved if requested to do so by authors or any member of The
Software Distillery.
Permission is granted to use the enclose code in a file system for the Amiga
provided that:
1) Credit is given to The Software Distillery for the original
implementation
and
2) A sample of the modified software executable is made available to The
Software Distillery.
------------------------------DISCLAIMER
Neither The Software Distillery nor any of its members will be liable for
any damage arising from the failure of this program to perform as described,
or any destruction of other programs or data residing on a system
attempting to run the program. While we expect no damaging errors, the
user of this program uses it at his or her own risk.
------------------------------ACKNOWLEDGEMENTS
Written in Lattice C V5.02
Thanks to Steve Beats, Andy Finkel, Dan Baker, and Randel Jesup at Commodore
for enduring our incessant questions about file systems in general.
------------------------------INSTALLING
Compile everything with LMK,
Then create a mountlist entry like:
DSK1: FileSystem = l:disk-handler
Device = trackdisk.device
Unit = 1
Mount = 1
Flags = 0
Globvec = -1
Dostype = 0x444f5300
Surfaces = 2
BlocksPerTrack = 1
Reserved = 2
Interleave = 0
LowCyl = 0 ; HighCyl = 79
Buffers = 20
BufMemType = 3
Stacksize = 8000
Priority = 5
#
Mount it and let it go.
If you want to kill it, you can send it an ACTION_DIE packet...
------------------------------FILE LIST
The following files are part of this distribution. Redistribution is
permitted only if all the files are part of the redistribution (see above).
lmkfile.lmk
filehand.doc
handler.h
bitmap.c
buff.c
databuff.c
device.c
dir.c
disk.c
diska.a
dos1_2.c
file.c
io.c
lock.c
main.c
mount.c
process.c
request.c
sendpkt.c
subs.c
timer.c
volume.c
+++++++++++++++++++++ Other Public Domain Software ++++++++++++++++++++++++
Fred Fish
Amiga Library disks
1346 West 10th Place
Tempe, Arizona 85281
USA
Offers (now 210) disks of PD software for $6 each. These are well organized
and a MUST for any user group.
++++++++++++++++++++++ From the Software Distillery +++++++++++++++++++++++
Other programs from the Software Distillery may be obtaining by calling our
Bulletin board. At present this consists of:
* C-Kermit (by Jack Rouse) - A telecommunications program that implements
the full Kermit protocol with many features such as remote commands and
batch file transfers.
* An advanced UN*X MAKE program with default rules and macro expansions
* POPCLI - a screen saver program and 'hot-key' extension for bringing up
a new cli at the touch of a key. Current version is PopCLI IV.
* ICONEXEC - a program for making AmigaDOS programs run from workbench
without any changes.
* SETALTERNATE a program for setting the alternate (selected) image on an
icon to other than inverse.
* BLINK - an Amiga Linker that is FULLY ALINK compatible and up to 4 times
faster. It supports many advanced linking features as well as an excellent
map facility. A must for the serious programmer.
* TSIZE - a utility to list the amount of disk space taken up by the individual
directories on a disk
* WBRUN - A program for running workbench programs from CLI without having
to load workbench
* MEMWATCH - A background utility to watch for ramdom memory trashing
* HACK and HACK LITE - A UN*X dungeon game with customizable graphics
* LARN, another UN*X game ported to the Amiga by Edmund Burnette.
Similar to HACK but more strategy.
* PICKPACKET - A utility for
++++++++++++++++++++++ Coming Soon +++++++++++++++++++++++++++++++++++
Projects currently in the works from the Software Distillery:
* A network file system that works with a variety of protocols, including
DNET for a two-Amiga serial-port-only hookup.
* An MS-DOS file system that allows you to use all the normal CLI commands
on MS-DOS format diskettes.
* HackLite Version 2 - Many more creatures and features.