background image

 

 

 

 

 

 

Summary of Contents for RF501C

Page 1: ...RF500C SERIES DISK DRIVE Operational Manual L _ _ _...

Page 2: ...RF512C RF501C and RF502C Operational Manual...

Page 3: ...l organization Principles CHAPTER 3 COMMANDS AND STATEMENTS Syntax 1 Command name NEW HEADER SAVE BSAVE DSAVE RUN BOOT LOAD BLOAD DLOAD VERIFY DVERIFY DIRECTORY CATALOG RENAME SCRATCH COPY BACKUP INIT...

Page 4: ...Common user commands Extension UO commands for RF512C only CHAPTER 5 FILE AND DIRECT PROGRAMMING 21 22 22 23 23 24 24 25 25 26 36 27 28 Introduction 30 Sequential File 31 Random Access File 33 Direct...

Page 5: ...ickly and conveniently than you can with tape This manual can be applied to many versions of BASIC that operate in different computers The BASIC is a popular language that let you communicate with you...

Page 6: ...ch as dropping the drive or having things drop on it can cause it to malfunction The diskette is a plastic disk with magnetic coating so that in formation can be stored on and erase out from its surfa...

Page 7: ...chart You can quickly find out the information what you need Setup Information Instructions Information I Installation I I Basic Operations File Operations Block Operations Memory Operations User I Co...

Page 8: ...ar with Commodore computer and feel comfortable in writing simple BASIC programs You can use these commands to instruct the d ive as you desire Basic operations NEW HEADER SAVE BOOT LOAD VERIFY DIRECT...

Page 9: ...er There have 15 available channels and channel 15 is reserved as the command channel The logical file number can be assigned fram 1 to 127 The disk drive device number can be specified from 1 to 32 b...

Page 10: ...pointer of each sector then the entire file could be found and the program file will be loaded in computer memory aulomatically The built in RAM is not only support for the system operation but also s...

Page 11: ...teger variable S means a string variable means such arguments are optional parameter means that parentheses must come with variable means argument that within quotation marks must not be variables Not...

Page 12: ...type interpret command When it works echo message is AREYOU SURE The answer may be Y or N When id code isn t assigned then the disk direc tory is cleared if your disk is already formatted The diskname...

Page 13: ...t is enclosed in the quotation marks and can t be the some as any existing file s name otherwise you r ould type as following SAVE filename device Where means the old file is replaced by the new one T...

Page 14: ...ame D drive U device The filename must be a string i e name of program file The device default value is 8 The d rive default value is O If no filename is assingned to the BOOT command then the boot pr...

Page 15: ...ion marks and such string is also a name of disk file The device default value is B The drive default value is O The command default value is 0 that means the program file is loaded at the BASIC progr...

Page 16: ...device S yntax The filename must be a string that is enclosed in quotes and such string is also a name of disk file The device default value is 8 The drive default value is O The command default valu...

Page 17: ...rive U device wildcardS Syntax The device default value is 8 The drive default value is O A sub directory can be selected by the wildcard if it is presented Where D U and wildcard please refer to SYNT...

Page 18: ...AME D drive oldfileS T O newfileS U device Remember there has no single instruction in BASIC 2 0 that s equilvent to RENAME so the first format can only work in multi command form The newfile and oldf...

Page 19: ...evice Syntax Remeber there has no single instruction in BASIC 2 0 that s equilvent to SCRATCH so the first format can only works in multi command form The filename must be a string i e should be some...

Page 20: ...uction in BASIC 2 0 that s equilvent to COpy or BACKUP sa the first format can only works in multi command form The copyfile and sourcefile must be strings i e sourcefile should be some name of disk f...

Page 21: ...5 10 20 INPUT 1 N MS PRINT N MS 30 CLOSE 1 CLOSE DCLOSE DCLEAR Function These interpreter commands is used to close a logical file or files F ormat BASIC CLOSE file BASIC 7 0 DCLOSE file U device DCLE...

Page 22: ...EN file filename SorP Lrecord length 0 drive U device W The file value is from 1 to 255 The device default value is 8 The drive default value is O The channel volue is from 1 to 15 type S for sequenti...

Page 23: ...PUT please refer to GET and INPUT in BASIC E xample refer to chapter FILE PROGRAMMING PRINT Function This interpreter command output data to the specific logical file Format I BASIC PRINT file output...

Page 24: ...e device default value is 8 The drive default value is O Where the preceding letters D and U p lease refer to S YNTAX Example Refer to chapter FILE PROGRAMMING RECORD Function This interpreter command...

Page 25: ...ding letters D and U please refer to SYNTAX Example 10 OPEN 1 8 15 20 PRINT 1 VO 30 CLOSE 1 CONCAT Normally you won t have any asterisk before the file name in directory so nothing should free Functio...

Page 26: ...must be a string i e should be name of user file E xample Few lines of command isn t enough to implement this ATUO command Create an user file in AUTO file format Then execute your drive program with...

Page 27: ...ro in single drive system The range of track and block please refer to PRINCIPLES B R BIOCK READ Function This direct command can read specific block of F ormat Syntax data on the stringS B R drive ch...

Page 28: ...in single drive system The range of track and block please refer to PRINCIPLES The channel must belong to some opened data channel B P BIOCK POINTER Function This direct command can move the buffer pO...

Page 29: ...in single drive system The range of track and block please refer to PRINCIPLES The channel must belong to some opened data channel B P BIOCK POINTER Function This direct command can move the buffer pO...

Page 30: ...always zero in single drive system The range of rack and block please refer to PRINCIPLES The Channel must be some opened data channel M R MEMORY READ Function This direct command can direct read driv...

Page 31: ...the start address The hj means the higher byte of the start address The length means the number of data which will be written M E MEMORY EXECUTE Function This direct command can execute at any locatio...

Page 32: ...ike RF501C Using this command you can do the same thing with only one drive Format I BASIC string US side Syntax Remember this command must be sent through the command channel Where side means the sid...

Page 33: ...t I BASIC stringS U charaS Syntax This command must send through command channel CharaS Function A or1 As B R but read from first byte of block Bor2 As B W but initial buffer pointer to one Cor3 As M...

Page 34: ...Format 4 Set up sector format for CP IM 5 Query for CPIM sector sequence 6 GetJSet status 7 Utility 8 Fastloa d W Write F offset T D transfer to computer double side C change disk G Get status only Y...

Page 35: ...DOS retries I ROM test M1 2 MHz clock ra te MO 1 MHz clock rate HO side a H1 side 1 CHRS device reset device no 8 Y 1 sequential file Y O program file commondS filenameS echo messa ge Meanings For GC...

Page 36: ...he flow chart of how to create and manipulate a sequential file I OPEN SEQ FILE l I I I I APPEND TO Write to R ead from I SEQ FILE SE Q FILE SEQ FILE I I I I I CLOSESEQ FILE Opening a file is the very...

Page 37: ...40 LINE 130 LINE 140 LINE 50 LINE 150 LINE 60 and 150 OPEN Command channel OPEN SEQ file data channel Where in line 20 for aviod overwritten error Input data by user then put into file Get data bac k...

Page 38: ...as information element a nd set ST to 64 as EOF Here is a simple program in using USER file INPUT 10 CLOSE 2 0PEN 2 8 2 USER U W 20 CMD 2 30 GET K PRINT KS 40 IF K CHRS 17 THEN 30 REM CTR Q 50 CLOSE 2...

Page 39: ...you how to create wirte and read the relative file 10 DOPEN 1 REL L20 20 RECORD 1 30 30 DCLOSE 1 40 FOR 1 1 TO 10 50 DOPEN 1 REL L20 60 INPUT NAME NA 70 IF LEN NAME 10 THEN 60 80 INPUT TEL TEL 90 IF L...

Page 40: ...new disk 10 code LINE 20 Open command channel LINE 30 Open buffer channel or one can put a specific buffer number affer LINE 40 Using U1 to substitute block read on track 18 sector 0 LINE 50 Set block...

Page 41: ...PROGRAMMING By analogy with PEEK POKE and SYS in BASIC it is easy to handle B R B W and BE in DOS 10 INPUT TYPE A WORD KS 20 L LEN KS 30 CLOSE 1 0PEN 1 8 15 40 PRINT 1 M W CHRS 05 CHRS 05 CHRS L KS C...

Page 42: ...sk again Q THE DEVICE IS NOT PRESENT message is always shown why A Check the din cable firs then set the drives selector to 8 or 9 10 11 to match your program Q The drive doesn t respone to the comput...

Page 43: ...7 of track t 4t 2 BAM of sector 8 to 16 of track t 4t 3 BAM of sector 17 23 of track t 144 to 143 L disk na me with length L 144 Llo 159 160 ill 16 162 first ID 163 second ID 164 Usually 160 165 Usual...

Page 44: ...8C 64K type 30f 3 start track of file f 30f 5 to 30f L 4 file name with length L 30f lL 5 to 301 20 160 if L 16 301 21 relative file first side sector s track 30f 22 relative file first side sector s...

Page 45: ...CTOR B YTE 0 1 2 3 2s 4 25 5 2b 14 2b 15 CONTENTS next track or zero indicate tail block next sector file data and use 13 as terminator CONTENTS next track next sector side sector no record length tra...

Page 46: ...ome Computer System has its own device number The device number can be assigned from 1 10 31 and the default value for the drive is 8 this is preset by factory There provide two ways to change device...

Page 47: ...d rive s device number setting is ready DRIVE SELEcrOR 4 3 2 1 ON ON ON ON OFF OFF ON ON ON ON OFF OFF OFF OFF OFF OFF APPENDIX D ERROR MESSAGE How to read the error device no 8 9 10 11 The easiest w...

Page 48: ...le name Usually is omitted 39 SYNTAX ERROR Miss autoboot file 50 RECORD NOT PRESENT Miss data record 51 OVERFLOW IN RECORD Data length too long 52 FILE TOO LARGE No more room for relative record 60 WI...

Page 49: ...ide 1K byte sector 40 track side For RF512C only Operating clock rate 1MHz RF501C RF502C 2MHz RF512C Interface 6 pin Din serial port with daisy chain dual port Magnetic head One 48 TPI head RF501C Two...

Page 50: ...ceptien you can try to cer rect the interference by using ene or more ef the following measures Turn the TV er radio antenna until the interference steps Meve the cemputer to ene side or the ether ef...

Page 51: ......

Page 52: ...1...

Reviews: