Writing a master boot record

Can anyone give me some clues (or links on the world wide web) on how to place code into the master boot record using assembly language?
gerrymunAsked:
Who is Participating?
 
rbrCommented:
use int 13h

for reading

ah=02
dl=Number of disc (c: = 80h)
dh=0
ch=cylinder (1)
cl=sektor(0)
al=number of sectors (1)
ES:BX pointer where to store data

for writing

ah=03
dl=Number of disc (c: = 80h)
dh=number of head (0)
ch=cylinder (1)
cl=sektor(0)
al=number of sectors (1)
ES:BX pointer where the data is

0
 
vikiingCommented:
Hey, Gerrymum !!; ¿what kinda virus you're trying to do?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.