home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
BEEHIVE
/
UTILITYS
/
CPMDSKU.SFX
/
transfer.doc
< prev
Wrap
Text File
|
1980-01-01
|
7KB
|
189 lines
╘WO ╨ROGRAMS
╘╥┴╬╙╞┼╥ ├╨/═ WILL AUTOMATICALLY TRANSFER YOUR DOWNLOADED
PROGRAMS ONTO A SPECIAL ├╨/═ TRANSFER DISK WHICH YOU CAN
CREATE WITH PROGRAM NUMBER TWO, ╨╥╧╞╔╠┼╥. ╘HIS SHORT PROGRAM
WILL PLACE A FILE CALLED ╨╥╧╞╔╠┼.╙╒┬ ON THE DISK. ╘HE
COMMANDS IN THIS FILE WILL BE CARRIED OUT AUTOMATICALLY BY
╙╒┬═╔╘.├╧═, A ├╨/═ PROGRAM FOR WHICH YOU'LL FIND A LOT OF
USES IN OTHER APPLICATIONS.
╙╒┬═╔╘ ╞ILES
╔F YOU'D USED AN ┴╙├╔╔ WORD-PROCESSOR TO CREATE A FILE
NAMED ═┘╞╔╠┼.╙╒┬ CONTAINING JUST THE WORD ─╔╥ AND A CARRIAGE
RETURN, YOU COULD TYPE ╙╒┬═╔╘ ═┘╞╔╠┼ AT THE ┴> PROMPT TO
HAVE IT DISPLAY THE DIRECTORY. (┴ LOT MORE WORK THAN IT'S
WORTH!) ╔F THE .╙╒┬ FILE IS NAMED ╨╥╧╞╔╠┼, HOWEVER, ITS
COMMANDS WILL BE CARRIED OUT WHENEVER YOU ┬╧╧╘ ├╨/═ WITHOUT
YOUR HAVING TO TYPE ANYTHING. (╙╒┬═╔╘.├╧═ MUST BE ON THE
DISK ALSO. ╔'LL EXPLAIN A LITTLE LATER HOW TO COPY THIS AND
THREE OTHER NECESSARY FILES ONTO YOUR TRANSFER DISK.)
╚OW TO ╘RANSFER A ╞ILE
╧NCE YOU'VE DOWNLOADED A PROGRAM ONTO A ├┬═ FORMAT DISK
(AS OPPOSED TO A ├╨/═ DISK), ╥╒╬ ╘╥┴╬╙╞┼╥ ├╨/═. ╫HEN
YOU'RE PROMPTED TO ENTER A FILE TO TRANSFER, YOU CAN ENTER A
FILENAME, OR PRESS THE ╞3 KEY TO DISPLAY EITHER A ├┬═ OR A
├╨/═ DIRECTORY. (╙ORRY, IT WON'T READ ═╞═ FORMAT DISKS.)
╔F YOUR FILE IS IN ╨╟═ FORMAT, IT'S QUICKLY ┬╠╧┴─ED TO
┬┴╬╦ 1, WHERE ├╨/═ CAN REACH IT. ┴NY OTHER FORMAT (I.E. ╙┼╤
OR ╒╙╥) IS READ BYTE BY BYTE WITH ╟┼╘#, AND TAKES QUITE A
BIT LONGER.
!! ADDENDUM: A BUG FOUND !!
╘HE PRECEDING REFERS TO A ┬╔╬ FORMAT FILE DOWNLOADED TO
DISK AS A ╨╟═ FILE, ╬╧╘ ONE RE-SAVED AS A ╨╟═ SINCE THIS
WOULD ADD A TWO BYTE ╠╧┴─ ┴──╥┼╙╙ TO THE BEGINNING OF THE
FILE. ╔F, HOWEVER, YOUR FILE HAS A LOAD ADDRESS, TEMPORARILY
REMOVE LINES 580 - 600 FROM ╘╥┴╬╙╞┼╥ ├╨/═. - A.S. 4/4/86 -
╧NCE YOUR FILE IS IN MEMORY, YOU'LL BE ASKED IF IT'S A
TEXT FILE. ╘HE REASON FOR THIS IS THAT ├╨/═ NEEDS AN
┼ND-╧F-╞ILE MARKER ( CHR$(26) ) TO KNOW WHEN TEXT STOPS. ╔F
IT'S NOT THERE, WHEN YOU ╘┘╨┼ THE FILE YOU'LL PROBABLY GET A
MESS OF MEANINGLESS CHARACTERS FOLLOWING THE TEXT ON THE
SCREEN.
├╨/═ ╙┴╓┼
┘OU WILL NEXT BE TOLD TO PLACE YOUR TRANSFER DISK IN THE
DRIVE. ╔F ╨╥╧╞╔╠┼.╙╒┬ IS IN PLACE, THE ENDING ADDRESS OF
YOUR FILE WILL BE ADDED TO IT. (╔F FOR SOME REASON IT'S
NOT, YOU CAN ╙┴╓┼ IT MANUALLY USING THE BEGINNING AND ENDING
ADDRESSES DISPLAYED.)
╘HEN YOU WILL BOOT ├╨/═ AND YOUR FILE WILL AUTOMATICALLY
BE WRITTEN TO THE DISK AS ╘╥┴╬╙╞┼╥.├┬═. ╞IRST YOU'LL SEE:
┴>╙┴╓┼
╘HIS CAUSES ╙┴╓┼ TO STAND BY. ╬EXT YOU'LL SEE:
┴>├├╨
╔N ├╨/═ 3.0, ╙┴╓┼ BEGINS IT'S WORK AFTER ANY FOLLOWING
PROGRAM ENDS, NOT IMMEDIATELY. ╙O WE'LL JUST CALL THE ├├╨
SINCE IT'S QUICK AND WON'T BOTHER US. ┴LL YOU'LL SEE IS A
├╘╥╠-├ WHICH WAS PLACED IN ╨╥╧╞╔╠┼.╙╒┬ TO RETURN US TO ╙┴╓┼.
╬OW ╙┴╓┼ WILL BECOME ACTIVE AND PROMPT FOR A FILENAME
WHICH, ALONG WITH THE MEMORY ADDRESSES, WILL BE SUPPLIED BY
╨╥╧╞╔╠┼.╙╒┬.
╫HEN YOU AGAIN SEE THE ┴> PROMPT, YOU'LL BE IN CONTROL
OF THE KEYBOARD. ┘OU OUGHT TO RENAME YOUR FILE NOW FOR TWO
REASONS. ╞IRST, THE NEXT TIME YOU TRANSFER A PROGRAM, IT
WILL ERASE ╘╥┴╬╙╞┼╥.├┬═ FROM THE DISK. ╙ECOND, IF YOUR FILE
IS AN EXECUTABLE PROGRAM, IT MUST HAVE THE FILETYPE
EXTENSION .├╧═ OR IT WON'T RUN. ╥ENAMING A ├╨/═ FILE IS JUST
AS EASY AS IN 128 MODE, BUT A LITTLE DIFFERENT. ╩UST TYPE:
┴>╥┼╬┴═┼ ╬┼╫╬┴═┼.├╧═=╘╥┴╬╙╞┼╥.├┬═
╙O THAT'S HOW YOU'LL DO IT. ┬UT FIRST, YOU'VE GOT TO
HAVE A TRANSFER DISK READY. ╚ERE'S HOW TO MAKE ONE:
├REATING A ╘RANSFER ─ISK
1. ┬OOT YOUR ├╨/═ ╙YSTEM DISK. ╘YPE ╞╧╥═┴╘ AND CHOOSE
╧╬╠┘ A SINGLE-SIDED, 128 FORMAT DISK. (┼ITHER DISK DRIVE
CAN DO THIS.)
2. ╠EAVE ├╨/═, AND IN 128 MODE, ╥╒╬ ╨╥╧╞╔╠┼╥ WITH YOUR NEW
TRANSFER DISK IN THE DRIVE.
3. ┬OOT YOUR ├╨/═ ╙YSTEM DISK AGAIN. (╔ KNOW, BUT THERE
ARE REASONS!)
4. ╫ITHOUT REMOVING YOUR ╙YSTEM ─ISK, TYPE:
┴>╨╔╨ ┼:=┴:├╨═.╙┘╙ ! ╨╔╨ ┼:┴:├├╨.├╧═
(╘HERE MUST BE A SPACE AFTER ╨╔╨.)
5. ─ISK '┼' IS YOUR TRANSFER DISK, AND '┴' IS YOUR ╙YSTEM
DISK. ╞OLLOW THE INSERT-DISK PROMPTS AND PRESS ╥┼╘╒╥╬
AFTER EACH INSERTION.
6. ╫HEN THE ┴> PROMPT RETURNS (THE TRANSFER DISK WILL BE IN
THE DRIVE), TYPE:
┴>╨╔╨ ┼:=┴:╙┴╓┼.├╧═ ! ╨╔╨ ┼:=┴:╙╒┬═╔╘.├╧═
7. ╘HIS TIME, DISK '┴' IS THE ╞╠╔╨-╙╔─┼ OF YOUR ╙YSTEM
DISK. ('┼' IS STILL THE TRANSFER DISK.) ┴GAIN FOLLOW THE
PROMPTS AND YOUR TRANSFER DISK WILL BE FINISHED.
╬OW JUST WHERE CAN YOU FIND ├╨/═ PROGRAMS TO DOWNLOAD?
╙OFTWARE ╙OURCES
╨ROBABLY THE EASIEST SOURCE FOR ╨UBLIC ─OMAIN SOFTWARE
IS ON ├OMPU╙ERVE. ╟╧ ├╨═╙╔╟ TO SEE THE ╙╔╟/═ AND ├╨═╒╟
(╙PECIAL ╔NTEREST ╟ROUP FOR ═ICROCOMPUTERS AND ├╨/═ ╒SERS
╟ROUP) DATABASES. ┘OU'LL BE HAPPY TO FIND THEY'VE ADDED A
BRAND NEW SECTION DEVOTED TO ├OMMODORE! ╘HEY'VE ALSO GOT
LISTS OF LOCAL ╥├╨═'S (╥EMOTE ├╨/═ BULLETIN BOARDS).
═Y LOCAL ╥├╨═ IS RUN BY ┬ILL ┼ARNEST IN ┴LLENTOWN, ╨┴. ╘HE
PHONE NUMBER IS AREA 215-398-1634. ╨LEASE FOLLOW THE RULES
AND UPLOAD YOUR CONTRIBUTIONS WHEN YOU CAN.
╚OW ╘RANSFER ├╨/═ ╫ORKS
10 ╚OLD VARIABLES TO $1├00 (7168 DEC.) - TRANSFERRED FILE
FOLLOWS IMMEDIATELY; TRAP ANY ERRORS.
20 ╫ IS HALF OF CURRENT SCREEN WIDTH. ╘ABBING TO ╫ MINUS
HALF OF STRING LENGTH WILL CENTER STRING ON 40 ╧╥ 80 COLS.
30-90 ╔NITIALIZE AND DISPLAY TITLE.
100 ╥ECOVER FROM A PREVIOUSLY TRAPPED PROBLEM.
110-150 ├HOOSE TRANSFER OR DIRECTORY.
160-180 ├HECK FOR ├┬═; ├╨/═ OR UNKNOWN DISK TYPE.
190-430 ─O ├╨/═ DIRECTORY ACCORDING TO FORMAT AND SKEW
FACTOR. (╞OUR PHYSICAL SECTORS=ONE LOGICAL SECTOR.)
440-450 ╞INISH UP EITHER TYPE OF DIRECTORY AND RETURN TO
PROMPT.
460-540 ╥EAD ╙┼╤ OR ╒╙╥ FILE INTO MEMORY, ┬┴╬╦ 1.
550-610 ╥EAD ╨╥╟ FILE INTO MEMORY MUCH FASTER.
620-630 ═AKE SURE A TEXT FILE HAS AN ┼╧╞ MARKER FOR ├╨/═.
640-680 ═AKE SURE IT'S A ├╨/═ DISK WE'RE TRANSFERRING TO.
690-720 ╙EE IF IT'S A SPECIAL TRANSFER DISK.
730-740 ╚EX ADDRESSES NEEDED BY ╙┴╓┼.
750-800 ╔F IT IS A TRANSFER DISK, UPDATE ╨╥╧╞╔╠┼.╙╒┬.
810-830 ┬OOT ├╨/═ IF THE DISK IS ├╨/═.
840 ┼ND OF MAIN PROGRAM.
850 ╘RAP DIRECTORY ERRORS AND THE ╥╒╬/╙╘╧╨ KEY.
860 ╔F IT'S NOT A DISK ERROR, SHOW IT AND ╙╘╧╨.
870 ╥ING BELL AND DISPLAY DISK ERRORS.
880 ╥┼╙╒═┼ IF TRAPPED BY ┬┴╙╔├ OR GO BACK IF TRAPPED BY
PROGRAM.
.......................................................
4/1/86 - BY ┴LAN ╙TEED (┴LBATROSS)
╨UBLIC ─OMAIN, NON-COMMERCIAL USE ONLY