home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
600-699
/
ff626.lha
/
QCD
/
QCD.doc
< prev
next >
Wrap
Text File
|
1992-03-22
|
11KB
|
233 lines
PROGRAM
QCD
SOURCE Written in 100% assembler using Macro68 V3.165.
AUTHOR Nic Wilson
Nic Wilson Software
(Registered CBM (Aust) developer)
138d South Street
TOOWOOMBA QUEENSLAND 4350
Australia
EMAIL cbmvax!cbmaus!wilson!nic@uunet.uu.net
or cbmehq!cbmaus!wilson!nic@cbmvax.commodore.com
TELEPHONE +61 76 358539 After Hours Australian Time
+61 76 358384 Work Hours Australian Time
FAX +61 76 358384 (Same as Work Telephone)
FUNCTION
To quickly change directories in the current CLI/SHELL
with the mouse and a file requester. Ten often
used directories can be saved to a config file and
quickly selected. Any unused entries are used
to store the directories you have recently visited,
and any of these can be easily and quickly selected
with the mouse or a function key.
ACKNOWLEDGEMENTS
To my best friend John Rowe for the idea for QCD.
Thank you to my friend Paul Coward (Digisoft) for
a ...FAST assembler, Macro68 V3. QCD assembles
in 0.2 seconds on my A3000/68040!
Thank you to Fred Fish for his continuing work in
distribution of our programs. Without his effort,
distribution would be much more difficult if not
impossible.
COPYRIGHT This program, its source code and document files are
(C) Copyright Nic Wilson Software 1992.
DISTRIBUTION Fred Fish is exempt from the distribution conditions
stated below.
The program is Shareware and may be freely distributed
on the condition that no profit is gained from this
distribution either directly or indirectly. A small
copying fee, no more than the cost of 1 (one) average
3.5 inch blank disk or $2.50 Australian whichever is the
lesser.
If this program is placed on a disk containing various
utilities, the total charge for the disk MUST NOT BE
GREATER THAN 2 (two) average 3.5 inch blank disks or
$5.00 Australian whichever is the lesser.
Crunching of the executable file is considered a breach
of this agreement, due to the fact all current crunchers
I have tested either fail, or are unstable on the 68040
CPU. Archival in the form of 'lharc' type programs is
permitted.
DONATIONS All donations in the form of cash, money order,
travellers cheques, bank draft (in AUS dollars),
goods, software or hardware will be gratefully accepted,
and ensure further shareware programs from me.
Overseas users, please do not send personal cheques.
It is very difficult to convert them into cash.
I give my sincere thanks to all those users who
have donated to my work in the past. It is with
your continuing support to all programmers that the
Amiga has such a vast amount of quality shareware
programs available, and that I am able to continue
work on shareware programs aswell as commercial ones.
If you are using my programs and haven't donated then
SHAME ON YOU.
All users who donate will receive a disk, full of
the latest versions of all my shareware programs.
REQUIREMENTS Any Amiga
Any CPU
AmigaDOS V2.0x
'IPrefs' directories must be available.
(ENV:sys) and (SYS:Prefs/env-archive/sys)
INSTALLING
QCD should reside in your C: directory or be in your
path somewhere. When replacing versions V1.01 or V1.02
delete your config file in ENV:sys and create and save
a new one. The config file for these two versions were
slightly different and could cause problems.
USAGE QCD
NOTE BECAUSE QCD IS A CLI/SHELL UTILITY DESIGNED TO CHANGE THE
---- DIRECTORY OF THE SHELL IT WAS LAUNCHED FROM, IT MUST
NOT BE LAUNCHED WITH THE RUN COMMAND ETC. IT WILL NOT WORK
FROM A HOT KEY OR WORKBENCH ETC. THE ONLY WAY THIS PROGRAM
WILL WORK IS IF YOU LAUNCH IT FROM THE CLI/SHELL BY HAND.
IT HAS ONLY BEEN TESTED ON THE STANDARD SHELL FROM AmigaDOS.
OTHER SHELLS MAY WORK BUT ARE UNTESTED.
RANDOM ACCESS DIRECTORIES
-------------------------
When the program is launched two windows will open.
An 'ASL' file requester window and another window containing
10 'action' gadgets, 10 string gadgets and three 'choice'
gadgets.
The 'ASL' file requester will default to the current
directory unless it finds a default directory in the config
file. The file reqester will display any directories within
this directory. You can select a directory you require as
you normally would with a file requester and click OK.
If you desire a directory on another volume, select the
'Drives' gadget and all volumes and assigned directories
will be displayed.
Once the OK gadget is clicked both windows will close and
the directory and the prompt in the current CLI/SHELL will
change to this new directory selection.
If 'CANCEL' is selected the current CLI/SHELL will remain
unchanged.
For more information on the ASL file requester, see your
AmigaDOS manual.
PRESET DIRECTORIES
------------------
Beside the file requester window is another window that
stores saved or recently visited directories. There are
ten gadgets labeled F1 to F0 down the left hand side of
the window. These ten are the 'action' gadgets for the
string gadgets that are beside them. If one of these
gadgets is clicked or the corresponding function key
pressed one of two actions will result.
1. If the string gadget beside it is empty, the current
contents of the file requesters 'Drawer' gadget will be
placed in the string gadget. This will saved to the
temporary file automatically when you exit the program.
It can be made permanent by clicking on the 'Save'.
gadget.
2. If the string gadget already contains a directory
string, both windows will close and this directory
will used to change the the current directory of
the CLI.
The ten string gadgets may be edited by hand if you
wish, by clicking in the gadget and editing it.
If you choose to set a directory by clicking on one of
'action' gadgets, the current directory in the file
requesters 'Drawer' will also be saved to the temporary
config file, and will be used to set the default directory
in the file requester the next time QCD is launched.
DIRECTORY HISTORY
-----------------
Any string gadgets that are not being used to store
permanent directories, will be used by the program to
store a history of directories you have recently visited
via the file reqester. When the 'OK' gadget is clicked in
the file requester this directory will be stored in the next
available unused string gadget. When all the gadgets are
filled, the oldest one will be replaced. If all gadgets are
used to store permanent dirctories, no history will be
available. The contents of all gadgets can, of course, be
made permanent at any time by clicking on the 'Save' gadget.
CHOICE GADGETS
--------------
SAVE This gadget will save the temporary file to the disk
in the same directory that the normal system preferences
are stored, and therefore the temporary ram: version will
be automatically placed there by 'IPrefs' when booting.
As an obvious indication of which directory string gadgets
are the saved permanent ones, their action gadgets beside
them will be coloured in colour 3 and the rest in colour 2
LAST This gadget will make the disk based config file the
current file, and all gadgets will be updated.
CLEAR ALL If you wish to clear all the string gadgets, click on
'Clear All'. This may be made permanent by choosing
'Save'. This will always be made temporary when you exit
the program.
THE CONFIG FILE
---------------
The config file works in a similar way to the system
preferences files. The permanent file is called
'qcd.config' and resides in 'SYS:prefs/env-archive/sys'.
The memory based temporary file has the same name and
resides in the 'ENV:sys' directory.
TRADEMARKS AND COPYRIGHTS
Amiga and AmigaDOS are trademarks of Commodore Amiga Inc.
Macro68 is a trademark of DigiSoft.
QCD is a trademark of Nic Wilson Software.
ASL library name and definitions are (C) Copyright 1989,1990
Commodore-Amiga Inc. and Charlie Heath. All Rights Reserved
REFERENCE MATERIAL USED IN THE PRODUCTION OF QCD
M68000PM/AD Programmers Reference Manual (inc. CPU32)
Published by Motorola Literature Distribution USA.
V2.04 Autodocs & Includes developer disk based versions.