Solved

Writing a master boot record

Posted on 1998-12-14
2
152 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
Comment Utility
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
Comment Utility
Hey, Gerrymum !!; ¿what kinda virus you're trying to do?
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
The Rasberry PI is a low cost piece of hardware that you can have a lot of fun with through experimenting and building/working on projects like media players, running a low cost computer, build data loggers etc. - see: https://www.raspberrypi.org
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now