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
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
BIOS Flasher Utility problem 5 65
Battery Error Message 7 61
Disabling energy efficient ethernet on all hardware models 6 52
Access bios on restart 11 54
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 …
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 a recent question ( here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

831 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