?? 1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.htm
字號(hào):
<LI><A href="http://bank.csdn.net/" target=_blank><FONT
style="FONT-WEIGHT: bold">銀行</FONT></A> </LI></UL></DIV>
<SCRIPT type=text/javascript>
function IsBlank(obj) //查看對(duì)象的值是否為空
{
if(obj.replace(/^\s+|\s+$/,"")=="")
{
return true;
}
else
{
return false;
}
}
function SearchBook_Top()
{
if( !IsBlank(document.getElementById("txtTopKey").value))
{
var loc;
var szType;
if(document.getElementById("listSearchType").value==null)
{
szType= document.getElementById("listSearchType").options(document.getElementById("listSearchType").selectedIndex).value;
}
else
{
szType= document.getElementById("listSearchType").value;
}
if(szType==1)
loc="http://book.csdn.net/book/morelz.aspx?key="+escape(document.getElementById("txtTopKey").value);
else
loc="http://club.book.csdn.net/book/s.aspx?key="+escape(document.getElementById("txtTopKey").value);
self.location=loc;
}
}
</SCRIPT>
<DIV id=booknavbottom2>
<DIV class=hotleft><A href="http://book.csdn.net/subject/allbook.htm"
target=_blank>全部圖書</A> <FONT color=red>推薦</FONT>:<A
href="http://club.book.csdn.net/book/s.aspx?key=asp.net">ASP.NET</A> <A
href="http://club.book.csdn.net/book/s.aspx?key=ajax">Ajax</A> <A
href="http://club.book.csdn.net/book/s.aspx?key=spring">Spring</A> <A
href="http://club.book.csdn.net/book/s.aspx?key=Hibernate">Hibernate</A> <A
href="http://club.book.csdn.net/book/s.aspx?key=Java">Java</A></DIV>
<DIV class=hotright><SELECT id=listSearchType name=aa> <OPTION value=2
selected>書友會(huì)</OPTION> <OPTION value=1>連載</OPTION></SELECT><INPUT
onkeypress=if(event.keyCode==13){SearchBook_Top();} id=txtTopKey maxLength=25><INPUT onclick=SearchBook_Top(); type=button value=搜索 name=提交></DIV></DIV></DIV>
<DIV class=area>
<SCRIPT
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/BookDetailAd.js"
type=text/javascript></SCRIPT>
<DIV class=col1>
<DIV class=lineBlue></DIV><!-- title -->
<DIV class=arcTitle>
<H1><A href="http://book.csdn.net/bookfiles/88">自己動(dòng)手寫操作系統(tǒng) </A></H1>
<DIV style="FONT-SIZE: 15px; TEXT-ALIGN: center"><A
href="http://book.csdn.net/bookfiles/88/100882493.shtml">1.2 10分鐘完成的操作系統(tǒng)
</A></DIV>
<DIV style="FONT-SIZE: 15px; TEXT-ALIGN: center"><A class=url
href="http://book.csdn.net/">http://book.csdn.net/</A> 2006-8-11 18:35:00 </DIV>
<DIV class=clear></DIV>
<DIV
style="BORDER-RIGHT: #0b5f98 1px solid; BORDER-TOP: #0b5f98 1px solid; MARGIN: 0px auto; BORDER-LEFT: #0b5f98 1px solid; WIDTH: 700px; BORDER-BOTTOM: #0b5f98 1px solid">
<DIV
style="PADDING-RIGHT: 1px; PADDING-LEFT: 1px; FLOAT: left; PADDING-BOTTOM: 1px; WIDTH: 16px; COLOR: white; PADDING-TOP: 1px; BACKGROUND-COLOR: #0b5f98">圖書導(dǎo)讀
</DIV>
<DIV
style="PADDING-LEFT: 2px; FLOAT: right; WIDTH: 670px; LINE-HEIGHT: 16pt; TEXT-ALIGN: left"><!--導(dǎo)讀-->
<H1 id=divCurrentNode
style="PADDING-LEFT: 2px; FONT-SIZE: 12px; WIDTH: 100%; COLOR: #b83507; TEXT-ALIGN: left">當(dāng)前章節(jié):<A
href="http://book.csdn.net/bookfiles/88/100882493.shtml"><FONT color=red>1.2
10分鐘完成的操作系統(tǒng)</FONT></A></H1>
<DIV id=divRelateNode style="PADDING-LEFT: 2px">
<DIV style="FLOAT: left; WIDTH: 49%">·<A
href="http://book.csdn.net/bookfiles/88/100882492.shtml">1.1 準(zhǔn)備工作</A></DIV>
<DIV style="FLOAT: right; WIDTH: 49%">·<A
href="http://book.csdn.net/bookfiles/88/100882494.shtml">1.3 Boot
Sector</A></DIV>
<DIV style="FLOAT: left; WIDTH: 49%">·<A
href="http://book.csdn.net/bookfiles/88/100882495.shtml">1.4 代碼解釋</A></DIV>
<DIV style="FLOAT: right; WIDTH: 49%">·<A
href="http://book.csdn.net/bookfiles/88/100882496.shtml">1.5 水面下的冰山</A></DIV>
<DIV style="FLOAT: left; WIDTH: 49%">·<A
href="http://book.csdn.net/bookfiles/88/100882497.shtml">1.6 回顧</A></DIV>
<DIV style="FLOAT: right; WIDTH: 49%">·<A
href="http://book.csdn.net/bookfiles/88/100882498.shtml">2.1 虛擬計(jì)算機(jī)(Virtual
PC)</A></DIV></DIV></DIV></DIV>
<DIV class=clear></DIV></DIV><!-- main -->
<DIV id=main>
<DIV id=text>
<DIV id=csdn_zhaig_ad_yahoo_2></DIV>
<DIV class=Section1>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 20pt"><FONT
size=2><SPAN
style="FONT-FAMILY: 宋體; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">你相不相信,一個(gè)“操作系統(tǒng)”可以只有</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">20</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋體; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">行代碼?請(qǐng)看:</SPAN></FONT></P></DIV><SPAN
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 宋體; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"><BR
style="PAGE-BREAK-BEFORE: always; mso-break-type: section-break"
clear=all></SPAN>
<P class=a style="MARGIN: 7.2pt 0cm 3.6pt" align=center><SPAN
style="FONT-FAMILY: 黑體; mso-ascii-font-family: Arial">代碼</SPAN><SPAN
lang=EN-US>1-1<SPAN style="mso-spacerun: yes">
</SPAN>\chapter1\a\boot.asm</SPAN></P>
<P class=a2
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; MARGIN: 0cm 0cm 6pt; BORDER-LEFT: medium none; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; mso-padding-alt: 0cm 0cm 1.0pt 0cm; mso-border-bottom-alt: solid windowtext .5pt; mso-para-margin-bottom: .5gd"> </P>
<DIV><SPAN style="COLOR: #000000">
<DIV
style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 95%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
<DIV><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top><SPAN style="COLOR: #000000"> org 07c00h ; 告訴編譯器程序加載到7c00處<BR><IMG
alt="" src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top><BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top> mov ax, cs<BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top><BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top> mov ds, ax<BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top><BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top> mov es, ax<BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top><BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top> call DispStr ; 調(diào)用顯示字符串例程<BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top><BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top> jmp $ ; 無限循環(huán)<BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top><BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top>DispStr:<BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top><BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top> mov ax, BootMessage<BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top><BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top> mov bp, ax ; es:bp </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN
style="COLOR: #000000"> 串地址<BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top><BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top> mov cx, </SPAN><SPAN style="COLOR: #000000">16</SPAN><SPAN
style="COLOR: #000000"> ; cx </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN
style="COLOR: #000000"> 串長(zhǎng)度<BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top><BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top> mov ax, 01301h ; ah </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN
style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #000000">13</SPAN><SPAN
style="COLOR: #000000">, al </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN
style="COLOR: #000000"> 01h<BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top><BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top> mov bx, 000ch ; 頁號(hào)為0(bh </SPAN><SPAN
style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN
style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">) 黑底紅字(bl
</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">
0Ch,高亮)<BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top><BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top> mov dl, </SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN
style="COLOR: #000000"><BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top><BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top> </SPAN><SPAN style="COLOR: #0000ff">int</SPAN><SPAN
style="COLOR: #000000"> 10h ; 10h 號(hào)中斷<BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top><BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top> ret<BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top><BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top>BootMessage: db </SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN
style="COLOR: #000000">Hello, OS world!</SPAN><SPAN
style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000"><BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top><BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top>times </SPAN><SPAN style="COLOR: #000000">510</SPAN><SPAN
style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">($</SPAN><SPAN
style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">$$) db </SPAN><SPAN
style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000"> ;
填充剩下的空間,使生成的二進(jìn)制代碼恰好為<BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top><BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top>; 512字節(jié)<BR><IMG alt=""
src="1_2 10分鐘完成的操作系統(tǒng) - 《自己動(dòng)手寫操作系統(tǒng)》 - 免費(fèi)試讀 - book_csdn_net.files/None.gif"
align=top><BR><IMG alt=""
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -