Writing a master boot record

Posted on 1998-12-14
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?
Question by:gerrymun
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 10

Accepted Solution

rbr earned 50 total points
ID: 1131016
use int 13h

for reading

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

for writing

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


Expert Comment

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

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
disable USB on Dell Printers 14 75
Video enhancement recommendation 7 158
hp laptop chargers 4 61
Capture and interpret serial port data 10 53
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.
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 …
In an interesting question ( here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Suggested Courses

738 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