Commodore 1541-II Guida Utente

Navigare online o scaricare Guida Utente per Software Commodore 1541-II. Commodore 1541-II User`s guide Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa

Sommario

Pagina 1 - COMMODORE

COMMODORE TI LtTI El D '" DISK DRIVE users guide

Pagina 2 - USER'S

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 9

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

Pagina 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"

Pagina 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

Pagina 12

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

Pagina 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

Pagina 14 - DIRECTORIES

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

Pagina 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

Pagina 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

Pagina 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,

Pagina 18 - In Basic

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

Pagina 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.

Pagina 20 - VERIFYING PROGRAMS

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 26 - #"

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

Pagina 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

Pagina 28 - ~orrect

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

Pagina 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"

Pagina 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

Pagina 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

Pagina 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

Pagina 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, "

Pagina 34 - (>)

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

Pagina 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

Pagina 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

Pagina 37 - ORGANIZ~

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

Pagina 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

Pagina 39 - WRITE";channel

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 51 - & C-64

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

Pagina 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

Pagina 53

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

Pagina 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

Pagina 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

Commenti su questo manuale

Nessun commento