http://support.dell....d_documentation
Formatting Hard Drive
Started by
11010110
, Aug 16 2005 07:39 PM
#16
Posted 16 August 2005 - 10:44 PM
#17
Posted 16 August 2005 - 11:06 PM
If you want to continue on the road of massive cleaning, you could try this little snippet to also blow the cmos away!
Just figuring that may help. I wish I got to this thread sooner.
Sweft
-fcs:200 400 0 [CR/LF] ; length 200byte @ offset 400 with value 0 -acs:100 [CR/LF] ; set offset 100h. (org 100h). mov ax,0 [CR/LF] ; ax=0 mov ax,cx [CR/LF] ; ax=cx | [<103> is here] out 70,al [CR/LF] ; send al to cmos port mov ax,0 [CR/LF] ; ax=0 out 71,al [CR/LF] ; send al to cmos port inc cx [CR/LF] ; cx++ cmp cx,100 [CR/LF] ; is cx 100 yet? jb 103 [CR/LF] ; if cx < 100 then goto <103> mov ax,302 [CR/LF] ; write disk sectors al (al=02) mov bx,200 [CR/LF] ; buffer area @ offset 200 mov cx,1 [CR/LF] ; cylinder 0, sector 1 mov dx,80 [CR/LF] ; which hdd to use! <hda> int 13 [CR/LF] ; bios disk service | dh=side && dl=drive int 20 [CR/LF] ; dos terminate [CR/LF] ; another cr/lf to exit assemble mode. -g [CR/LF] ; execute all of above! -q [CR/LF] ; shutdown debug.
Just figuring that may help. I wish I got to this thread sooner.
Sweft
Similar Topics
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users