Tip:
Highlight text to annotate it
X
Bits and Bytes
Episode 4
Information into memory
Good morning and welcome
Today, we'll learn how
to save programs on tapes or disks
and also how to use a computer
to organize, sort and use data
in various ways
In other words
we'll show you that a computer
can be an efficient data base system
Last time, Yvon did wrote a program
but, after turning off the computer
his program was erased
Wait a moment... not at all.
G-O-T-O 20 and RETURN...
Do you know what I did?
Before turning off the computer
I've copied my program on
the back of an envelope
Now, I'm typing it back, just a moment.
That's a good idea, Yvon.
However, there is a better way.
Maybe, but I want to be sure that
my program is correct.
So, 50...
PRINT very well
quote
it's done... And now... RUN
and RETURN... Discovery of Canada
Now let's try a few dates.
1223 ... too soon!
1875 ... too late!
1534 .. very well!
It works!
What's the better way?
It's one to avoid writing your programs
on the back of an old envelope.
Yes, I can use a sheet of paper but...
There's a blank tape near you.
Yes, and?
Are you saying that this tape can...?
Remember that computer tapes are
regular audio tapes.
Of course!
So, I should be able to copy my program
on this tape!
Put this tape in the drive
Yes!
Done!
Now, write SAVE S-A-V-E
but don't press RETURN.
To start recording,
press RECORD and PLAY
and then press RETURN.
RECORD and PLAY
and RETURN
The program is loading
Yes, the computer is transfering
your program on this tape.
In english we say SAVE
Really
Now, your program is saved.
It doesn't take long.
Yes, but your program is vey small
Don't insist
Now, your program is saved on tape
press STOP and rewind the tape.
Ok, STOP and REWIND.
Done.
Now, eject the tape and
write on it the program's name
Elementary my dear Watson!
Discovery of Canada
Now, I'll be able to
get back my program
each time I'll need to.
Absolutely!
Now, when you'll turn off
the computer, you'll not be afraid
to lose your program
because it's recorded on tape.
Try it now, to see.
Alright, ok.
I turn off the computer.
There...
the program is gone.
I put back the tape...
to get back the program in the computer
err... I press PLAY...
That's exact!
LOAD
and RETURN
That's it!
Done!
Now, the computer is getting back
the program in its memory.
Exactly.
And now... I stop the tape?
Yes, and a copy of your program
is now in the computer.
To print it on screen, type LIST.
And to execute it, type RUN.
LIST ... L-I-S-T
RETURN
That's it, my program is there!
RUN
and RETURN
Discovery of Canada
Very well!
Let's recap that!
Ok!
To copy a program
from a tape to a computer
we need to press PLAY
and type LOAD on screen
To copy a program
from a computer to a tape
We need to press RECORD and PLAY
and type SAVE
And to save a program on disk?
Do we put a blank disk in the disk drive
and type SAVE?
Yes, but the disk should not be
totally blank.
It needs to be formated.