📄 booting-power_on_2.htm
字号:
<TD><FONT face="Times New Roman TUR" size=2>Partition 4 data
table</FONT></TD>
<TD><FONT face="Times New Roman TUR" size=2>16
bytes</FONT></TD></TR></TBODY></TABLE></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman TUR" size=2></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt" align=center><SPAN
lang=EN-US><FONT face="Times New Roman TUR"><FONT size=2><STRONG>Table 1.2.2 -
DPT Layout</STRONG> </FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman TUR" size=2></FONT></SPAN> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=1>
<TBODY>
<TR>
<TD><STRONG><FONT face="Times New Roman TUR"
size=2>Offset</FONT></STRONG></TD>
<TD><STRONG><FONT face="Times New Roman TUR"
size=2>Content</FONT></STRONG></TD>
<TD><STRONG><FONT face="Times New Roman TUR" size=2>Data
Type</FONT></STRONG></TD></TR>
<TR>
<TD><FONT face="Times New Roman TUR" size=2>00h</FONT></TD>
<TD><FONT face="Times New Roman TUR" size=2>boot indicator</FONT></TD>
<TD><FONT face="Times New Roman TUR" size=2>byte</FONT></TD></TR>
<TR>
<TD><FONT face="Times New Roman TUR" size=2>01h</FONT></TD>
<TD><FONT face="Times New Roman TUR" size=2>beginning sector head
number</FONT></TD>
<TD><FONT face="Times New Roman TUR" size=2>byte</FONT></TD></TR>
<TR>
<TD><FONT face="Times New Roman TUR" size=2>02h</FONT></TD>
<TD><FONT face="Times New Roman TUR" size=2>beginning sector (2 high bits
of cylinder #)</FONT></TD>
<TD><FONT face="Times New Roman TUR" size=2>byte</FONT></TD></TR>
<TR>
<TD><FONT face="Times New Roman TUR" size=2>03h</FONT></TD>
<TD><FONT face="Times New Roman TUR" size=2>beginning cylinder# (low order
bits of cylinder #)</FONT></TD>
<TD><FONT face="Times New Roman TUR" size=2>byte</FONT></TD></TR>
<TR>
<TD><FONT face="Times New Roman TUR" size=2>04h</FONT></TD>
<TD><FONT face="Times New Roman TUR" size=2>system indicator</FONT></TD>
<TD><FONT face="Times New Roman TUR" size=2>byte</FONT></TD></TR>
<TR>
<TD><FONT face="Times New Roman TUR" size=2>05h</FONT></TD>
<TD><FONT face="Times New Roman TUR" size=2>ending sector head
number</FONT></TD>
<TD><FONT face="Times New Roman TUR" size=2>byte</FONT></TD></TR>
<TR>
<TD><FONT face="Times New Roman TUR" size=2>06h</FONT></TD>
<TD><FONT face="Times New Roman TUR" size=2>ending sector (2 high bits of
cylinder #)</FONT></TD>
<TD><FONT face="Times New Roman TUR" size=2>byte</FONT></TD></TR>
<TR>
<TD><FONT face="Times New Roman TUR" size=2>07h</FONT></TD>
<TD><FONT face="Times New Roman TUR" size=2>ending cylinder# (low order
bits of cylinder #)</FONT></TD>
<TD><FONT face="Times New Roman TUR" size=2>byte</FONT></TD></TR>
<TR>
<TD><FONT face="Times New Roman TUR" size=2>08h</FONT></TD>
<TD><FONT face="Times New Roman TUR" size=2>number of sectors preceding
the partition</FONT></TD>
<TD><FONT face="Times New Roman TUR" size=2>dword(4 bytes)</FONT></TD></TR>
<TR>
<TD><FONT face="Times New Roman TUR" size=2>0Bh</FONT></TD>
<TD><FONT face="Times New Roman TUR" size=2>number of sectors in the
partition</FONT></TD>
<TD><FONT face="Times New Roman TUR"
size=2>dword</FONT></TD></TR></TBODY></TABLE></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman TUR" size=2></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><v:shapetype
id=_x0000_t75 o:preferrelative="t" filled="f" stroked="f" o:spt="75"
path="m@4@5l@4@11@9@11@9@5xe" coordsize="21600,21600"><FONT
face="Times New Roman TUR"><FONT size=2><v:stroke
joinstyle="miter"></v:stroke><v:formulas><v:f
eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f
eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f
eqn="prod @3 21600 pixelWidth"></v:f><v:f
eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f
eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f
eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f
eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:extrusionok="f"
gradientshapeok="t" o:connecttype="rect"></v:path><o:lock v:ext="edit"
aspectratio="t"></o:lock></FONT></FONT></v:shapetype></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt" align=center><B><SPAN
lang=EN-US><FONT face="Times New Roman TUR" size=2>Table 1.2.3 - Layout of
Partition Data Table</FONT></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt" align=center><B><SPAN
lang=EN-US><FONT face="Times New Roman TUR" size=2></FONT></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt" align=center><B><SPAN
lang=EN-US><FONT face="Times New Roman TUR" size=2></FONT></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B><SPAN lang=EN-US><FONT
face="Times New Roman TUR"><FONT size=2>Boot indicator
(BYTE)</FONT></FONT></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT
face="Times New Roman TUR"><FONT size=2><B><SPAN
lang=EN-US> </SPAN></B><SPAN
lang=EN-US>00<SPAN style="mso-spacerun: yes"> </SPAN>- non-bootable
partition</SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman TUR"><FONT size=2><SPAN
style="mso-tab-count: 1"> </SPAN>80<SPAN
style="mso-spacerun: yes"> </SPAN>- bootable partition (one partition
only)</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman TUR"><FONT
size=2> <o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B><SPAN lang=EN-US><FONT
face="Times New Roman TUR"><FONT size=2>System Indicator
(BYTE)</FONT></FONT></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT
face="Times New Roman TUR"><FONT size=2><B><SPAN
lang=EN-US> </SPAN></B><SPAN lang=EN-US>00 -
unknown operating system</SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman TUR"><FONT size=2><SPAN
style="mso-tab-count: 1"> </SPAN>01 - DOS
with 12 bit FAT, 16 bit sector number</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman TUR"><FONT size=2><SPAN
style="mso-tab-count: 1"> </SPAN>02 -
XENIX</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman TUR"><FONT size=2><SPAN
style="mso-tab-count: 1"> </SPAN>04 - DOS
with 16 bit FAT, 16 bit sector number</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman TUR"><FONT size=2><SPAN
style="mso-tab-count: 1"> </SPAN>05 - DOS
Extended partition (DOS 3.3+)</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman TUR"><FONT size=2><SPAN
style="mso-tab-count: 1"> </SPAN>06 - DOS
4.0 (Compaq 3.31), 32 bit sector number</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman TUR"><FONT size=2><SPAN
style="mso-tab-count: 1"> </SPAN>51 -
Ontrack extended partition</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman TUR"><FONT size=2><SPAN
style="mso-tab-count: 1"> </SPAN>64 -
Novell</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman TUR"><FONT size=2><SPAN
style="mso-tab-count: 1"> </SPAN>75 -
PCIX</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman TUR"><FONT size=2><SPAN
style="mso-tab-count: 1"> </SPAN>DB -
CP/M</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman TUR"><FONT size=2><SPAN
style="mso-tab-count: 1"> </SPAN>FF –
BBT</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman TUR"><FONT
size=2> <o:p></o:p></FONT></FONT></SPAN></P>
<H3
style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 0cm; mso-char-indent-count: 0; mso-char-indent-size: 0cm"><SPAN
lang=EN-US><FONT face="Times New Roman TUR" size=2>Signature</FONT></SPAN></H3>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman TUR"><FONT size=2><SPAN
style="mso-tab-count: 1"> </SPAN>Hex 55AA
marks the end of valid boot sector. </FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT
face="Times New Roman TUR"><FONT size=2><SPAN
lang=EN-US> </SPAN><SPAN lang=EN-US>This is
also required in each of the partition boot records.</SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt" align=center><SPAN
lang=EN-US><FONT face="Times New Roman TUR" size=3><IMG
src="booting-power_on_2.files/dpt.gif"
tppabs="http://pagoda-ooos.51.net/os_book/booting/power-on/dpt.gif"></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman TUR" size=3></FONT></SPAN> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman Greek" size=4><STRONG>What does master booter should
do?</STRONG></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face="Times New Roman TUR" size=3></FONT></SPAN> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT
face="Times New Roman TUR"><SPAN
lang=EN-US> <FONT size=2> INT
19</FONT></SPAN><FONT size=2><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">会将</SPAN><SPAN
lang=EN-US>MBR</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的</SPAN><SPAN
lang=EN-US>512 bytes load</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">到内存</SPAN><SPAN
lang=EN-US>0x7c00</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">中,然后</SPAN><SPAN
lang=EN-US>JUMP</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">到</SPAN><SPAN
lang=EN-US>0x7c00</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">处,开始执行</SPAN><SPAN
lang=EN-US>MBR</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的可执行程序</SPAN><SPAN
lang=EN-US>master booter</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">,M</SPAN><SPAN
lang=EN-US>aster booter</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">最起码需要做这些事情:</SPAN></FONT></FONT></FONT></P>
<P class=MsoNormal
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -