Chapter – 6
Introduction to Computer Basics
Introduction
Some times, in some cases when you are trying to recover the data or you are performing any data and disk troubleshooting task (or it may be any other system related task) it is very convenient to use DEBUG command of DOC.
Also it may be possible for some particular cases that you feel it easy to do that particular task with the help of DEBUG then with programming. Let us take an example. The following coding of debug will be sufficient to make the back up of DBR. Just type the followings lines:
DEBUG BKDBR.BIN
L 100 2 0 1
R CX
200
W
Q
Here you can see that only by typing the above few lines you can avoid to write a program. Let us see another example of coding that loads the backup copy of DBR to the disk
Always remember! Do not try this without the complete knowledge. Be sure what you are going to do. A careless use of the following Instructions may cause a big data loss as the misuse of Instruction may cause all your information of the disk inaccessible.
DEBUG BKDBR.BIN
W 100 2 0 1
Q
By seeing the coding of this example you can easily guess how much it may help you when you need it most. Also it is not possible to do programming in every situation. However within a limit of simple cases of the problem, to use assembly Instructions, you have to just copy the debug.exe/debug.com in your boot disk and start writing the code.
The functioning and the described examples in this chapter and in this book are compatible with x86 Intel Processor Family architecture only.
First of all we need to get a little knowledge of computer architecture basics to understand the terms used in the coming sections while describing the functioning and examples in different steps. Let us know some computer architecture basics:
|