Commodore 1541-II Guia do Utilizador

Consulte online ou descarregue Guia do Utilizador para Software Commodore 1541-II. Commodore 1541-II User`s guide Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir

Resumo do Conteúdo

Página 1 - COMMODORE

COMMODORE TI LtTI El D '" DISK DRIVE users guide

Página 2 - USER'S

TROUBLESHOOTING GUIDE Symptom Prograrlls won't load, and computer says "Dl;lVICE NOT PRESENT ERROR ." Programs won't load, but com

Página 3 - CONTENTS

WHAT IS A DISKETTE? CHAYfER2 DISKETIES Before we actually begin using the drive, let's take a moment to look at the Test/Demo diske

Página 4 - ·················

SAFJ;TY RULES FOR REMOVING DISKETIES Always remove diskettes before turning a drive off or. on. If a diskette were in place and the door closed at

Página 5 - INTRODUCTION

number of the 1541, normally 8; the drive number, always 0 on the 1541; any desired name for the diskette, up to 16 characters in length, fol

Página 6 - I pack the disk

WHAT IS A DIRECTORY? CHAPTER3 DIRECTORIES One of the primary advantages of a disk drive is that it can, with nearly equal ease and speed, access

Página 7 - GUIDE TO OPERATION

The rest of the directory contains one line per program or file, each line supplying three pieces of information about its subject. At the left end

Página 8 - TURNING ON THE POWER

LOAD"$0:* = S" ,8 will load a directory of all sequential files, while the Basic 3.5 command: DIRECTORY," A*= R'' will di

Página 9

PART TWO: GUIDE TO ADVANCED OPERATION AND PROGRAMMING COMMAND CHANNEL CHAPTER4 COMMANDS Commodore disk drives expect to receive many of their inst

Página 10 - SIMPLE MAINTENANCE TIPS

FORMAT FOR SENDING DISK COMMANDS OPEN 15,device #,15,commandS or Print# 15 ,command$ Examples: OPEN 15,8,15,"VO" or PRINT#l5,"VO"

Página 11 - DISKETIES

HOUSEKEEPING HINTS Hint #1: It is best to open file IS once at the very start of a program, and only close it a1 the end of the program, after all

Página 12

COMMODORE 1541-II DISK DRIVE USER'S GUIDE This manual contains copyrighted and proprietary information. No part of this publication may be

Página 13

SA VE WITH" REPLACE OPTION If a file already exists, it can't be saved again because the disk only allows one copy of any given file name

Página 14 - DIRECTORIES

FORMAT FOR THE SCRATCH COMMAND: PRINT# 15, "SCRA TCHO: pattern" or abbreviate it as: PRINT# 15, ''SO:pattern'' '&ap

Página 15 - = Relative data files

More about Splats One other warning-never scratch a splat file. These are files that show up in a directory listing with an asterisk (*)ju

Página 16 - P = Program

RENAMING AND SCRA TCIDNG TROUBLESOME FILES (ADVANCED USERS) Eventually, you may run across a file which has a crazy filename, such as a comma by

Página 17 - PROGRAMMING

NOTE: Dual drives make fuller use of this command, copying programs from one diskette to another in a single disk unit. To do that on the 1541,

Página 18 - In Basic

files , with loss of all their contents when other files are added. Unless specifically instructed otherwise, never collect a diskette conta

Página 19 - I will

CHAPTERS SEQUENTIAL DATA FILES THE CONCEPT OF FILES A file on a diskette is just like a file cabinet in your office-an organized place to put things.

Página 20 - VERIFYING PROGRAMS

"channel #" is a secondary address, giving further instructions to the selected device about how further commands are to be obeyed.

Página 21 - SCRATCH·(FOR ADVANCED USERS)

EXAMPLE: If you are writing a grading program, it wou.ld be convenient to simply tack on each student's new grades to the end o( their existing g

Página 22 - "<"

However, if you need to combine them, here is a safe way to do it: 400 PRINT#5,NAME$;CHR$(13);STREET$;CHR$(13);CITY$ CHR$(13) is the carriage return

Página 23 - ORIGIN~L

The information in this manual has been reviewed and is believed to be entirely reliable. No responsibility, however, is assumed for inaccuracies

Página 24 - Chapt~r

but many programs cheat on safety a bit anel UM; 800 INPUT#5,NAME$,STREET$,CITY$ 810 GOSUB 59990:REM CHECK FOR DISK ERRORS This is done primarily when

Página 25 - 0 and device 8 respectively

READING FlLE DATA: USING GET# The Get# statement retrieves data from the disk drive, one character at a time. Like the similar keyboard Get statem

Página 26 - #"

DEMONSTRATION OF SEQUENTIAL FILES Use the following program for your first experiments with sequential files . Comments have been added to h

Página 27 - I AND PH

desired person out of a thousand in under 15 seconds, a feat no sequential file prograrn could match. FILE LIMITS . One of the nicest aspects of r

Página 28 - ~orrect

FORMAT FOR THE RECORD# COMMAND: PRINT#l5, "P" +CHR$ (channel #+96) + CHR$ (<record #)+CHR$ (>record #) + CHR$ (offset) where "c

Página 29 - ~~an:ple

1410 OPEN 1,8,2, "O:"+FI$+" ,L,"+CHR$(RL) 1420 GOSUB 59990 1430 RH= INT(NR/256) 1440 RL = NR-256*RH 1450 PRINT#l5, "P"

Página 30 - Troublesome Characters

between maximum field length and average field length. A program that uses variable record lengths must calculate the total length of each r

Página 31

3030 GOSUB 59990 3040 INPUT# l ,NA$,SA$,CS$,ZP$ 3050 GOSUB 59990 3060PRINT#15, "P" + CHR$(96 + 3) + CHR$(RL) + CHR$(RH) Check for disk error

Página 32 - & number

channel is opened much like other files, except that the pound sign (#), optionaJiy 8'{AMPLE: followed by a memory buffer number, is u

Página 33 - I and 127·

EXAMPLES: To restore track 18, sector I of the directory from the disk buffer filled by the Block Read example on page 82, we can use PRINT# 15, "

Página 34 - (>)

PART TWO: GUIDE TO ADVANCED OPERATION AND PROGRAMMING Chapter 4: Commands •.•••••••••.•..•..••••••••••••••.•••.••••••••••••• 25 Command Channel ••...

Página 35 - = NR-256*RH

pointer to the first file type byte (see Appendix C for details of directory organization), locking it by setting bit 6 and rewriting it. 110 OP

Página 36 - & STATE" ;CS$

EXAMPLE: To free the sector in which we wrote our name in the Block Write example, and allocated in the first Block-Allocate example, we could

Página 37 - ORGANIZ~

Other Resources: More detailed information about Commodore disk drives can be found in these books: Inside Commodore DOS, by lmmers & Neufeld (Da

Página 38 - BLOCK-WRITE

FORMAT FOR THE MEMORY-WRITE COMMAND: PRINT# 15,' 'M-W' 'CHR$( <address)CHR$(>address)CHR$ (# of bytes)CHR$(data byte(s)) whe

Página 39 - WRITE";channel

ALTERNATE FORMATS: PRINT#l5,"B-E:";channel #;drive #;track #;sector# PRINT#l5,"B-E:channel #,drive #,track #,sector#" EXAMPLES: As

Página 40 - FREEING

CHAPTER9 MACHINE LANGUAGE PROGRAMS Here is a list of disk-related Kemal ROM subroutines and a practical example of their use in a program which rea

Página 41 - INTERNAL DISK COMMANDS

STEPS TO CHANGE THE DEVICE NUMBER USING THE SWITCH 1. Tum off the disk drive. 2. Refer to the following chart to set the DIP SW at the back

Página 42 - : PRINT ASC(A$);

24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: READ ERROR (byte decoding error) The data or header has been read into disk memory, but a hardware error h

Página 43 - 'Nbcre

66: ILLEGAL TRACK AND SECTOR The DOS has attempted to access a track or sector which does not exist. May indicate a faulty link pointer

Página 44 - :"

1541 BLOCK DISTRIBUTION BY TRACK Track number Range of Sectors Total # of Sectors I to 17 18 to 24 25 to 30 31to35 BYTE CONTENTS 0,1 18,01 2 65 3 0

Página 45 - + 32)CHR$(DV + 64)

INTRODUCTION The 1541 disk drive greatly increases the speed , storage capacity, flexibility and reliabil-ity of your Commodore computer. As you us

Página 46 - Of'F

1541 RELATIVE FILE FORMAT BYTE DEFINITION DATA BLOCK 0, 1 Track and sector of next data block. 2-255 254 bytes of data. Empty records contain $FF (all

Página 47 - ~overed

APPENDIX D: DISK COMMAND QUICK REFERENCE CHART General Format: OPEN 15,8,15:PRINT#15,command:CLOSE 15 (Basic 2) HOUSEKEEPING COMMANDS BASIC2 NEW COPY

Página 48 - '"'

SEQ.FILE.DEMO AND REL.FILE.DEMO These two files are included as programming examples or guidelines when writing your own programs. They also illustr

Página 51 - & C-64

Commodore Business Machines, Inc. 1200 Wilson Drive • West Chester, PA 19380 Commodore Business Machines, Ltd. 3470 Pharmacy Avenue• Agincourt, Ontari

Página 52

Another key advantage of the Commodore 1541 over disk drives for other computers is its dynamic allocation of disk space. Many other disk drives

Página 53

SPECIFICATIONS OF THE 1541 DISK DRIVE STORAGE Total formatted capacity Maximum Sequential file size Maximum Relative file size Records per file Fil~s

Página 54

EMPTY THE DRIVE First, it is very important to be sure nothing is inside the disk drive . If you tum the power off or oil with a diskette_ in

Página 55

Commodore Personal Computer Single Fig 3.A Floppy Disc Hookup Personal Computer Twin Fig 3.8 Floppy Disc Hookup Power supply AC Serial Cable Power su

Comentários a estes Manuais

Sem comentários