MBR-概述

chenlei posted @ 2009年10月13日 15:00 in 硬件 with tags MBR-概述 , 1652 阅读

MBR(Master Boot Recored),中文意为主引导记录。

硬盘的0磁道的第一个扇区称为MBR,它的大小是512字节,而这个区域可以分为两个部分。第一部分为pre-boot区(预启动区),占446字节;第二部分是Partition table 区(分区表),占66字节,该区相当于一个小程序,作用是判断哪个分区被标记为活动分区,然后去读取那分区的启动区,并运行该区中的代码。

他是不属于任何一个操作系统,也不能用操作系统提供的磁盘操作命令来读取它。介我们可以用ROM-BIOS中提供的INT13H的2号功能来读出该扇区的内容,也可用软件工具Norton8.0中的DISKEDIT.EXE来读取。

用INT13H的读磁盘扇区功能的调用参数如下:

入口参数:AH=2(指定功能号)

AL=要读取的扇区数

DL=磁盘号(0、1-软盘;80、81-硬盘)

DH=磁头号

CL高2位+CH=柱面号

CL低6位=扇区号

CS:BX=存放读取数据的内存缓冲地址

出口参数:CS:BX=读取数据存放地址

错误信息:如果出错CF=1 AH=错误代码

用DEBUG读取位于硬盘0柱面、0磁头、1扇区的操作职下:

A>DEBUG

-A 100

XXXX:XXXX MOV AX,0201(用功能号2读1个扇区)

XXXX:XXXX MOV BX,1000(把读出的数据放入缓冲区的地址为CS:1000)

XXXX:XXXX MOV CX,0001(读0柱面,1扇区)

XXXX:XXXX MOV DX,0080(指定第一物理秀的0磁头)

XXXX:XXXX INT 13

XXXX:XXXX INT 3

XXXX:XXXX  (按回车键)

-G=100(执行以上程序段)

-D 1000 11FF(显示512字节的MBR内容)

  • 无匹配
  • 无匹配
Avatar_small
Bank of India net ba 说:
2022年8月04日 00:35

Do you have an account in Bank of India, If yes, then you might be happy because of the features and services of BOI which they provide to their customers. BOI allow their customers to register for Internet banking online with new requirements?With this, Bank of India net banking services, customer of BOI can access the complete banking services in online to transfer the funds, Bank of India net banking generate statements, personalized view of account or more. After registration, you can reset BOI login password online if required too. These are some basic points that need to check before going for online registration of Bank of India internet banking facility, which we are going to discuss below from BOI history.

Avatar_small
GSEB STD-2 Model Pap 说:
2022年9月11日 18:41

GSEB STD-2 Model Paper 2023 Pdf Download for Gujarat State Elementary Level Primary School 2nd Class Question Paper Pdf for Gujarati Medium, Hindi Medium, English Medium & Urdu Medium Students of Gandhinagar Board at GSEB STD-2 Model Paper. Various institutional experts have designed and suggested the GSEB 2nd Class Model Paper 2023 with sample answers Set wide as SET-A, SET-B, SET-C and SET-D to practice with regular mock tests and revisions, which helps you to get better scores in all kinds of exams held in board or school level.

Avatar_small
charlly 说:
2023年1月03日 15:56

The MBR is the initial sector of track 0 on the hard drive. It has a size of 512 bytes and can be split into two halves. The pre-boot area (pre-boot area) takes up the first find home in Tampa Bay 446 bytes, and the partition table area (partition table) takes up the remaining 66 bytes.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter