Herunterladen Inhalt Inhalt Diese Seite drucken

Single Disk Processing; Saving And Loading Programs - Texas Instruments Php 1240 Bedienungsanleitung

Diskehensystem
Inhaltsverzeichnis
Verfügbare Sprachen
  • DE

Verfügbare Sprachen

~
TEXAS INSTRUMENTS
The prompt DESTRUCTIVE TEST (Y/N)? allows you to contro! whe-
ther or not the data on the disk is destroyed. lf you want it de-
stroyed, answer Y. lf you do not want it destroyed, answer N.
The prompt, MASTER DISK (1-3)? appears. Your response indica-
tes which disk drive holds the diskette you want to test. When you
answer, the DISKNAME is filled in, and the prompt 40 TRACKS (Y/
N)? appears if you selected DESTRUCTIVE TEST. lf you answer Y,
the diskette is tested for 40 tracks. lf you answer N, it is tested for
35 tracks. Next, the prompt LOOP (Y/N)? appears. 1t determines
whether the test is to be run once or over unti l you stop it. AnswerY
if you want it to be run repeatedly. Answer N if you want it to be run
just once.
The prompt LOG ERRORS? (Y/N)? appears. Your answer determi-
nes whether or not any errors found are to be recorded o n another
devi ce in addition to being shown on the screen. lf you do not want
any other record, enter
N.
lf you want a record somewhere else,
enter Y. lf you enter Y, the prompt DEVICE NAME? appears. You
may then enter the device and file name to which you want the log
to go. For example, if you want a record put on the diskette in Drive
Two under the file name LOGLIST, enter DSK2.LOGLIST. lf you
want the logged errors printed on an attached Sol id State Thermal
Printer, enter TP as the device name. Note that you cannot log to
the disk drive that is being tested.
When the test is run, the record of any errors looks like this:
BAD ADDRESS/CODE
nnn/nn
TOTAL ERRORS:
nn
COMPLETED PASS:
nn
WORKING ...... PLEASE WAIT
PRESS
CLEAR TO ABORT GOMMANO
The first number after BAD ADDRESS/CODE indicates the sector
that was found to be bad. The second number is the error code for
the error that was found. (See Appendi x B.) An error tone is gene-
rated for each error found.
The number after TOTAL ERRORS: is the total number of errors
that have been found so far in the diskette. The number after COM-
PLETED PASS: is the number of times the test has been run. lf you
h ave chosen not to h ave the test loop, then only one pass is made.
Otherwise this test shows how many loops have been run so far.
lf you choose to run the comprehensive test, the following screen
appears.
COMPREHENSIVE TEST
DESTRUCTIVE
MASTER DISK (1-3)? 1
Note: This test takes about 16 minute fora single-sided deskette
and about 32 minutes fora double-sided diskette to complete. Ali
data and/or programs on the diskette will be lost.
From this point o n, the procedure is the same as fortheQuickTest.
Just respond to the prompts as they appear on the display.
The Comprehensive Pest consists of six tests that write to and read
from ali of the sectors on the diskette.
SINGLE DISK PROCESSING
Option 4 on the mai n selection list of the Disk Manager module is
SET ALL COMMANDS FOR SINGLE DISK PROCESSING. Choose
this option if you only h ave one disk drive or if you are only going to
be using DSK1. This option speeds up the processes that the
Command Module performs. After you choose this option, the
10
<ID
PHP 1240
message SINGLE DISK PROCESSING HAS BEEN INITIALIZED ap-
pears o n the screen. (you may go back to multiple disk operations
only by leaving the module and reentering it.)
Be su re to insert a diskette into the disk drive before selecting any
other commands. The prompts MASTER DISK(1-3)? and COPY
DISK(1-3)? will automatically be answered each time you choose
an option, and the disk will be accessed immediately.
DISK SYSTEM OPERATION WITH TI BASIC
Your disk memory system can be used conveniently with TI BASIC.
This section discusses saving/loading programs and processing
file data with programs.
The disk system requires some working space in the mai n memory
(RAM) of the Home Computer. The exact amount of space required
depends on the number of files which are allowed to be open at
any given time. In TI BASIC this number is preset to 3. The disk sy-
stem then uses 2088 bytes of RAM.
You may use the CALL FILES statement t o change the number of fi-
les that may be open. Keep in mind, however, that increasing the
number of allowable open files also increases the amount of me-
mory used by the disk system. (See CALL FILES for more informa-
tion.)
SAVING ANO LOADING PROGRAMS
The disk system stores and retrieves TI BASIC programs quickly
and efficiently. Approximately 100 fifty-line programs can be sto-
red o n a single-sided diskette and 100 one-hundred-line
programs can be stored on a double-sided diskette.
The SA VE command is used t o sto re a program o n the diskette.The
fermat is
SAVE device.program-name
The devi ce. is DSK1, DSK2, or DSK3, depending on which disk dri-
ve you want to address. The program-name is any vali d identifying
name you want to give your program. Vali d program names can be
up to ten characters long and can include any character except
the period and the space charcters.
For example, to sto re a programm cali COLOURDEMO an the dis-
kette in Drive One, you would enter this command (with the pro-
gram in memory):
SAVE DSK1.COLOURDEMO
Alternatively, the diskette's name can be specified, ratherthan the
number of the disk drive. T o store a program cali ed COLOURDEMO
on a diskette named MYDISK, you enter
SAVE DSK.MYDISK COLOURDEMO
The computer searches ali attached drives unti! it finds the one
that contains the diskette named MYDISK.
The OLD commands is used to read a program from a diskette. The
fermat ist
OLD device.program-name
When you enter the OLD command, the program you designate by
name is read into the computer's memory. You can then RUN it,
LIST it, or EDIT it- just as you would use a program entered from the
keyboard.
Inhaltsverzeichnis
loading

Inhaltsverzeichnis