Solved

Writing a master boot record

Posted on 1998-12-14
2
156 Views
Last Modified: 2010-04-27
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?
0
Comment
Question by:gerrymun
2 Comments
 
LVL 10

Accepted Solution

by:
rbr earned 50 total points
ID: 1131016
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
 
LVL 3

Expert Comment

by:vikiing
ID: 1131017
Hey, Gerrymum !!; ¿what kinda virus you're trying to do?
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A clone is a duplicate copy. Sheep have been cloned and maybe someday even people will be cloned, but disk cloning (performed by the hard drive cloning software) is a vital tool used to manage and protect data. Let’s look at what hard drive cloning …
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question