Safety Rules For Removing Diskettes; Loading A Packaged Program; How To Prepare A New Diskette - Commodore 1541 User Manual

Hide thumbs Also See for 1541:
Table of Contents

Advertisement

.
Now insert the diskette by
pushin~
it straight
~nto ~e ~lot
,
with the access slot
goiQ
(..aSI is the relocate flag
.
It can have one of two values
,
O
and I
.
If the relocate flag
is
m first and the label last. Be sure the diskette goes m unttl 11 stops naturally and no
long
1
mitted, all Commodore computers that use the 1541 automatically relocate the
springs back out if you release it. No part of the diskette should be showing outside
th
O or
0
s they toad to live in the part of computer memory reserved for BASIC programs
.
drive when the diskette is fully
inserted,
but you shouldn't have to force or bend it to
get
pro~ocate
flag value is I
,
auto-relocation is turned off, and the program is loaded into
·
all
1.
k
h
·
h
f
11
·
·
d th
·
·
If the
re
there. You may nouce a sm
c 1c w en 11 reac es u msert1on an
e eJec ton
spnn
the exact part of memory from which it
was
originally saved
.
This
feature
allows
catches:
.
.
. .
.
.
.
machine-language and other special purpose programs to come into the computer
W1~ ~e ~1ske~e m ~s~tlon
,
sea~ 11 for use by pres~mg straight down on the
dO(
at the correct location for them to operate properly. At this point in your learning,
latch unttl 11 chcks mto pos11ton, and its handle moves shghtly toward
you.
If the
late
Jy thing you need to know about the relocate flag is how to use it. Simply
·
Y
h
h
d.
k
·
h
the on
does not move easily, stop!
ou may
ave put t e
1s ette m t e wrong
way,
1
1
de the
1
at the end of the LOAD command if a particular program doesn't run
incompletely
.
If
that.
happe~s,
re~sition
_
t he diskette until the latch closes easily
.
Noi
1
~~~rly
when loaded the usual way.
.
.
you are ready to begm workmg with the
diskette.
p
After you type in the command and press the RETURN key
,
the following will
SAFETY RULES FOR REMOVING DISKETTES
Always remove diskettes before turning a drive off or on
.
If
a
diskette were in
plac
and the door closed at power on or
off,
you could lose part or all of the data on
thi
diskette.
Similarly
,
do not remove a diskette from its drive when the red drive activity
light
on! That light only glows when the drive is actually in use
.
Removing the diskette
with
on may result in your losing information currently being written to the
diskette.
LOADING A PACKAGED PROGRAM
appear on the
screen:
SEARCHING FOR
"
HOW TO
USE"
LOADING
READY
.
When the word READY and the flashing cursor reappear on the screen and the red
light goes off on the drive
,
the program named "HOW TO
USE"
on the Test/Demo
diskette has been loaded into the computer. To use it, just type the word RUN and
press
the RETURN key
.
To use prepackaged BASIC programs available on diskette here is the
procedure:
The same Load command will also allow you to load other prepackaged programs
After turning on your computer system carefully insert the, preprogrammed
disket
from the Test/Demo or other diskettes
.
Merely substitute the exact program name that you
as d s ribed on the p evious page For
pu~se
of demonstration use the
Test/Den
want to use between the quotation marks in the above example
,
and that will be the
disk=tt~
included with
~e
disk
driv~.
The following commands will.load a program
fro
program the computer will load (a list of Test/Demo programs is shown in Chapter
3,
in
the diskette into the
computer:
the section entitled
"
What a Directory Shows
"
)
.
.
.
.
BASIC
2:
LOAD ''program name'' ,device number ,relocate flag
Exll.P1ple: LOAD "HOW TO USE" ,8
BASIC
3.5:
DLOAD "program
name"
,Ddrive #,Udevice number,relocate flag
Example:
DLOAD
"
HOW TO
USE"
After each command press the RETURN key
In both cases the exact name of the program wanted is placed between
quotatir
marks
.
Drive #is optional.
Next is the device number of your disk drive which, unless you change it, is
always
on the 1541
.
If you have more than one drive however, you will need to change the
devil
Note: here and in the remainder of the book
,
we will assume you are m graphic
mode, seeing upper case letters and graphic characters when you type. This is the normal
condition of all Commodore computers covered by this manual when they are first turned
on
.
If you now see lower-case letters when you type without using the SHIFf key
,
you are
in text mode instead
.
Press the COMMODORE key (
(lr ),
at the lower left comer of your
keyboard, together with a SHIFf key to switch to graphic mode
.
HOW TO PREPARE A NEW DISKETTE: BASIC 2
A diskette needs a pattern of magnetic grooves in order for the
drive's
read/write
head to find things on it. This pattern is not on your diskettes when you buy
them,
but
adding it to a diskette is simple once you know to do it. Here is the
procedure:
FORMAT FOR THE DISK NEW COMMAND
OPEN 15,device #
,
15 ,"Ndrive # :diskette name ,id
"
CLOSEJ5
number on any additional drive (see Appendix A for instructions on setting a
drive
This Open command will be described more fully in Chapters 4 and
5.
For now
,
just
device
number).
copy it
as
is, replacing only the parts given in lower case
.
These
include:
the device
14
15

Advertisement

Table of Contents
loading

Table of Contents