|
不提起debug这个命令,相信好多人已经忘掉它了,解决问题或者是故障的时候想到的是其它硬件或者是软件的原因,如果有debug几个小命令解决难题。例如某天硬盘被锁住了,你怎么办?又没有其它的软件?可以用到它了。
硬盘解锁(用A盘启动)
-debug
a 0100
xor ax,ax
push ax
pop ds
push ax
pop es
mov cx, 100
mov bx,7c00
mov word prt[bx],0
inc bs
inc bx
loop 10c
mov ax,0301
mov cx,0001
mov dx,80
mov bx,7c00
int 13
w 100 0 0 1
q
然后重新启动电脑,故障就这样轻易的解决了,
|