home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
17 Bit Software 1: Collection A
/
17Bit_Collection_A.iso
/
files
/
505.dms
/
505.adf
/
DOCS
/
SmusCopy.Doc
< prev
next >
Wrap
Text File
|
1989-09-09
|
11KB
|
245 lines
SmusCopy
Topics
1. History & Acknowledgements.
2. Usage.
3. Copyright.
4. Distribution.
5. BUG reports.
6. Donations.
1. History.
I developed this program because of the following reasons:
- I found a program 'MC-Info'. Though it did not work with Sonix,
(it was meant for MusiCraft) it gave me the basic idea for this.
- I wanted to get a little order in my collection of Sonix Scores.
- I was left with a large amount of spare time at work so I talked
my employer into letting me study C (Him thinking it was for his
benefit only, little did he know!). So I started out with an old
IBM XT ( floppies only! ), Turbo C version 1.0 and Les Hancock's
'The C Primer'. ( study during workhours of course, and being an
IBM agent, having no Amiga's).
- I got a little fed up with having to check every score for the
instruments it needed. Not having enough reason to justify me to
buy Sonix, (I like music, but can't write it!) I had to use TYPE
opt H for this. As I progressed with my C studies(!), I felt the
need for some programming practice. So I looked for some useful
project. This started the development of the bits and pieces of
C coding that have have now become the program SmusCopy.
< In this context, thanks to Mark Riley for releasing his 'Play' >
< as FreeWare. To all you out there who use it!! If you haven't >
< already, pay the guy his $10, the program is worth every cent! >
After a lot of headaches and GURU's, probably due to the fact that
this is my first real C program, here it is. I found out fast that
all the time and effort I put into developing it, have not been
in vain. After acquiring a harddisk, I wanted to copy my favourite
scores onto it. Using 'Smuscopy' not only saved me a considerable
amount of time, but also enabled me to put only those instruments
on the harddisk that were loaded by the scores.
Version History : V1.0A, July 1988.
Aztec C, Regular GURU meditations.
Cause: Memory allocation problems (my fault)
32 bits / 16 bits problems (Who hasn't?)
File access problems (also my fault)
V1.1A, August 1988.
Aztec C, Occasional GURU meditation.
Cause: 32 bits/16 bits (slow learner, I know!)
V1.2A, August 1988.
Aztec C, .ss files over 32KB will not copy.
Cause: using UNIX, not DOS file access.
V1.3A, August 1988.
Aztec C, seems to be working ok now.
V1.3L September 1988
Lattice C, ported from Aztec to see if possible.
Liked the result, so it became the official one.
V1.4L September 1988
Lattice C, some optimizing and housecleaning.
V1.5 April 1989
Lattice C, Made (more or less) ANSI-C compatible.
Added a check on empty files.
V1.6 July 1989
Lattice C, Bug Fix!. V1.5 introduced a bug. .instr
files would not always be closed. This produces an
'Object in Use' message when trying to delete it.
Problem solved. (Those nasty braces!. And those
things always crop up when I am on holiday!!!!)
Acknowledgements.
- Fred Fish, for supplying me with the incentive to develop this
program, by means of his Fish PD collection. (special thanks for
LibFish 16!).
- The guys at EA, for putting the information that I needed in the
Public Domain.
- The author of the program MC-Info, whoever he (or she!) is.
- Pieter, for giving me some pointers (no pun intended), and other
helpful information.
- Mark Riley, for providing me with an inexpensive way of access
to all those Sonix scores.
2. Usage
Usage : SmusCopy <SOURCE> <DESTINATION> <SCORE>
How to use this program? Well it is fairly simple, all you have to
input are, the SOURCE device, the DESTINATION device, and the name
of the SCORE, without the <.smus> suffix. The program assumes that
both the source- and the destination device contain a Scores and
an Instruments directory. There is no need to specify either the
Scores or the Instruments directory in either device. The device
can also be a path, in that case it must end with a /. To clarify
this I will give some examples.
Score to copy : DF0:Scores/Jolene.smus
Copy to : DF1:
Command line : SmusCopy DF0: DF1: Jolene
Score to copy : DH0:Sonix/Scores/Jolene.smus
Copy to : DF1:
Command line : SmusCopy DH0:Sonix/ DF1: Jolene
Score to copy : DH0:Sonix/Scores/Miami Sky.smus
Copy to : DH1:SmusPlay
Command line : SmusCopy DH0:Sonix/ DH1:Smusplay/ "Miami Sky"
Requirements:
- Both the Scores and the Instruments directory must reside on the
same device/path. It is not possible, when copying a score from
DF0:, to copy the instruments from DF0:Sonix or DF1:. I did not
have the need for it, and it would only make the program more
difficult to use, needing more arguments.
- On both the source- and the destination device/path, the Scores-
and Instruments directory should exist.
- Make sure that there is enough space on the destination for both
the score and all it's instruments. If not you will get an error
message.
- An Amiga with a minimum of 512KByte.
The program should support all regular Amiga devices. I tested it
with DF0: to DF3:, VD0:, VDK:, RAM:, CARD: and DH0: to DH2:. It is
compatible with both WorkBench 1.2 and 1.3. I haven not tested it
with 1.1 though.
NOTICE:
This software is supplied as is, and neither the author nor the
distributor is liable or responsible for any damage to either the
computer or any pheripherals or media this software is used on.
3. Copyright.
Copyright 1988 by P. Kolenbrander.
This program is considered FreeWare. If you use it however, please
read the chapter 'Donations' at the end of this document. You may
freely copy this program. When doing it, you must adhere to these
few rules.
- The program may not be used or bundled by any software retailing
over US$ 10.00 (British £ 3.00), or it's equivalent in any other
currency, without prior written permission from the author.
- This document file must always accompany the program.
- This document file may not be altered by anyone.
- The author retains the right to remove this program from the
Public Domain at any time, without prior notification.
4. Distribution.
Distribution rights are hereby, of course, granted to Fred Fish,
and any other non-profit organisation. Persons wanting to include
this program and / or it's source on any disk retailing over US$
10.00 (British £ 3.00), or it's equivalent in any other currency
must first obtain written permission for this from the author.
5. BUG-Reports.
Accidents will happen and I'm only human. If you find a bug or you
think you might have found a bug, please print out the following
form on you printer, fill in the neccessary details, and sent it
to the address mentioned on it. Thanks!
------------------- Cut Here Please ------------------------------
+----------------------------------------------------------------+
| BUG Report |
+----------------------------------------------------------------+
| Program : SmusCopy Version : 1.6 |
+----------------------------------------------------------------+
| Bug : |
| |
| |
| |
| |
| |
| |
+----------------------------------------------------------------+
| Additional information |
| Error code : |
| |
| |
| |
| |
| |
| |
+----------------------------------------------------------------+
| Sent to: P. Kolenbrander |
| <BUG-Report SmusCopy V1.6> |
| Turfveldenstraat 37 |
| NL-5632 XH EINDHOVEN |
| The NETHERLANDS |
| |
+----------------------------------------------------------------+
------------------- Cut Here Please ------------------------------
6. Donations.
This program is considered Freeware. Meaning that if you find this
program useful, you are kindly requested to make this noted to the
author. Preferably by means of a (cash!) donation or other useful
token of appreciation. This is not mandatory as is with Shareware
programs however.
If you have any cash to spare, it is always welcome. Unfortunately
I have my expenses also. Donations in other form, like disks, (PD)
software, Sonix Scores!, home-built programs / hardware etc, are
of course also welcome. Remember:
'It is better to give than to receive!'
(I've given you this program, so now it's you turn, isn't it?)
Enjoy the program!
My address is: P. Kolenbrander
Turfveldenstraat 37
NL-5632 XH EINDHOVEN
HOLLAND
No phone, not since some guy woke me at 04:00 AM ( My local time,
not his!). So, if you feel it is that urgent to call me you won't
mind taking the trouble of finding out my phonenumber. But PLEASE!
check the time-differences. I can get pretty uncooperative when
called out of bed in the middle of the night!