Disk Doctor C16 & Plus/4 Commodore Business Machines Limited CANADA October 1984 Disk Doctor Documentation Disk Doctor Instruction Manual Table of Contents Contents Page 1.0 Introduction ................... 3 2.0 Loading and Running Instructions 4 3.0 Commands ....................... 5 3.A Change byte under cursor .. 5 3.B Text mode ................. 5 3.C Drive to access ........... 6 3.D Unit to access ............ 6 3.E Block ..................... 7 3.F Increment sector............ 7 3.G Decrement sector............ 7 3.H Quit ...................... 8 3.I Stop ...................... 8 3.J Jump ...................... 8 3.K Next ...................... 8 3.L Rewrite sector ............ 9 3.M Print the sector .......... 9 3.N Help ...................... 10 3.O F1 ........................ 10 3.P F4 ........................ 10 3.Q F2 ........................ 11 3.R F5 ........................ 11 3.S F7 ........................ 11 4.0 Examples ....................... 12 page 2 Disk Doctor Documentation 1.0 Introduction The objective of the program 'Disk Doctor' is to allow easy manipulation of data and correction of errors on floppy diskettes. The operation of the program has intentionally been kept simple to allow more users the ability to make use of it's capabilities. Although the use of the program has been kept simple the data that can be altered on the floppy is in a specific order. One of the best sources of information about how data is written and stored on a floppy diskette is the manual which came with your disk drive. This program has the power to ruin diskettes as well as reclaim information from them. It is for this reason that we strongly suggest you become familiar with the directory structure and file chaining format covered in your disk drive manual. Throughout this manual you will see '[return]' this indicates that the return key should be depressed. page 3 Disk Doctor Documentation 2.0 Loading and Running Instructions 'PLUS/4 DISK DOCTOR' will work on the Commodore Plus/4 and C16 computers and is written in machine language with a one line basic driver. In this way loading is very simple as follows : DLOAD "PLUS/4 DISK DOCTOR" [return] This statement will load the program into the memory space normally occupied by basic programs. If you were to ask for a 'LIST [return]' you would see : 16 sys (4128) To start 'Disk Doctor' type in 'RUN [return].' At this point you will see a screen with the title of the program, a few instructons and you are ready to go. There are several commands and functions that Disk Doctor can perform. If you are just getting started and wish to experiment, use a diskette which does not contain any valuable information. Altering information on the diskette can corrupt the entire diskette. The commands in section 3.0 of this manual will detail what each of the commands are capable of doing. In every command as a precaution the STOP key will exit the command without the function of the command taking place. NOTE : Disk Doctor can irreparably modify a diskette's data. page 4 Disk Doctor Documentation 3.0 Commands 3.A '@' Change byte under cursor The change byte under cursor is envoked by depressing the '@' key. When the change byte command is called a prompt is printed in the message buffer under the data box as follows : CHANGE BYTE NEW VALUE [D/$H]= The program now wants you to input either a decimal value between 0-255 [return] or a hexidecimal value between 00-ff preceeded by a '$' followed by [return]. After inputting the value the program will change that byte under the cursor on the screen, change this character's color to red and change the byte in the disk drive buffer. This change will not be written to the floppy diskette until the execution of the 'R rewrite' command discussed later in section 3.L. The Change byte command can be exited with the use of the STOP key. 3.B 'T' Text mode The text mode is envoked by depressing the 't' key. When the text mode command is called the screen border color becomes orange and a prompt is printed in the message buffer under the data box as follows : TEXT MODE : Press Return to Exit The program now allows you to alter the data by simply typing on the keyboard. Data may be typed in upper case or lower case with reverse on or off. You may use the cursor keys to position the cursor anywhere in the data box. As each byte is typed the byte is changed under the cursor on the screen, that character's color is changed to red and the byte in the disk drive buffer is changed. As in the Change byte command this change will not be written to the floppy diskette until the execution of the 'R rewrite' command discussed later in section 3.L. After striking the [return] key to exit the Text mode the message is removed from the screen and the border color returned to purple. The Text mode can also be exited by using the STOP key. page 5 Disk Doctor Documentation 3.0 Commands 3.C 'D' Drive to access The Drive command is envoked by depressing the 'd' key. When the drive command is called the cursor will be flashing on the number to the right of Drive in the upper information box. At this point you have several options. One option is to enter a '0' or a '1' to specify the drive to access. Another option is to enter 'u' to change the unit that the program will access. The 'u' command is detailed in the next section 3.D. Help can also be obtained from the drive option by depressing the 'HELP' key. If the number already contains the value you require then simply strike the [return] key and the program will go to the disk drive, get the data from this block and display it on the screen. The program can also be exited by using the STOP key from the drive command. 3.D 'U' Unit to access The Unit command is envoked by depressing the 'u' key. When the unit command is called the cursor will be flashing on the number to the right of 'Unit' near the bottom of the screen. The unit can be any number from 8 to 15 inclusive. If you have a second drive connected as unit 9 then this command will instruct 'Disk Doctor' to access that disk drive. If the number already contains the value you require then simply strike the [return] key. page 6 Disk Doctor Documentation 3.0 Commands 3.E 'B' Block The Block comman...
Amiga7878