Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Writing a master boot record

Posted on 1998-12-14
2
Medium Priority
?
167 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 100 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

pc, laptop  monitor connection configurations
This paper addresses the security of Sennheiser DECT Contact Center and Office (CC&O) headsets. It describes the DECT security chain comprised of “Pairing”, “Per Call Authentication” and “Encryption”, which are all part of the standard DECT protocol.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

886 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