a 100
mov ah,9        ; Function 9: write string pointed to by DS:DX
push cs         ; The string is in CS, so make CS = DS.
pop ds
mov ax,
mov dx,12B      ; Set DX to point to the right string.
int 21          ; Print out message: what we're doing.
xor ax,ax       ; Wait for a key press.
int 16
mov ah,03       ; Function 3 -> Write absolute sector.
mov al,1        ; Write 10 sectors.
mov ch,0        ; Write at track 0.
mov cl,1        ; Write at sector 1.
mov dh,0        ; Write at head 0.
mov dl,80       ; On the first hard disk. (first floppy = 0)
push cs         ; Write data from ES:BX, aka CS:BX, aka from a
pop es          ;  big buffer o' zeros. 
mov bx,117      ; Our code ends (and the buffer begins) at 113 hex.
int 13          ; Rock 'n Roll... MBR is now wiped clean.
mov ah,9        ; Same song, second verse.
mov dx,195      ; Set DX to point to the other string.
int 21          ; Print out message: Success.
mov ah,4C       ; And exit the program.
int 21
db "WARNING:",07,07,07," Wiping first 10 sectors of the hard disk!!",0D,0A
db "Press any key to continue, or CTRL-BRK to stop.",0D,0A,0D,0A"$"
db "Done wiping.",0D,0A,"$"

f cs:1A4 15A4 00
n killhd.com
rcx
14A4
w
q

