⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 1_2 10分钟完成的操作系统 - 《自己动手写操作系统》 - 免费试读 - book_csdn_net.htm

📁 10分钟完成的操作系统 - 《自己动手写操作系统》--1
💻 HTM
📖 第 1 页 / 共 3 页
字号:
src="1_2 10分钟完成的操作系统 - 《自己动手写操作系统》 - 免费试读 - book_csdn_net.files/None.gif" 
align=top>dw </SPAN><SPAN style="COLOR: #000000">0xaa55</SPAN><SPAN 
style="COLOR: #000000"> ; 结束标志</SPAN></DIV></DIV><BR><IMG alt="" 
src="1_2 10分钟完成的操作系统 - 《自己动手写操作系统》 - 免费试读 - book_csdn_net.files/None.gif" 
align=top></SPAN></DIV>
<DIV></DIV>
<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"><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><FONT face="Times New Roman">NASM</FONT></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">编译一下:</SPAN></FONT></P>
<P class=a2 
style="MARGIN: 6pt 0cm; mso-para-margin-bottom: .5gd; mso-para-margin-top: .5gd; mso-para-margin-right: 0cm; mso-para-margin-left: 0cm"><SPAN 
lang=EN-US><FONT face="Courier New">nasm boot.asm –o boot.bin</FONT></SPAN></P>
<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'">我们就得到了一个</SPAN><SPAN 
lang=EN-US><FONT face="Times New Roman">512B</FONT></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的</SPAN><SPAN 
lang=EN-US><FONT face="Times New Roman">boot.bin</FONT></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">,使用软盘绝对扇区读写工具将这个文件写到一张空白软盘的第一个扇区。好了,你的第一个“操作系统”就已经完成了。这张软盘已经是一张引导盘了。</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 20pt"><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT 
size=2>把它放到你的软驱中重新启动计算机,从软盘引导,你看到了什么?</FONT></SPAN></P>
<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'">计算机显示出你的字符串了!红色的“</SPAN><SPAN 
lang=EN-US><FONT face="Times New Roman">Hello, OS world!</FONT></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">”,多么奇妙啊,你的“操作系统”在运行了!</SPAN></FONT></P>
<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'">如果使用</SPAN><SPAN 
lang=EN-US><FONT face="Times New Roman">Virtual PC</FONT></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的话(下文中将会有关于</SPAN><SPAN 
lang=EN-US><FONT face="Times New Roman">Virtual PC</FONT></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的详细介绍),你应该能看到图</SPAN><SPAN 
lang=EN-US><FONT face="Times New Roman">1-1</FONT></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">所示的画面。</SPAN><U><SPAN 
lang=EN-US><O:P></O:P></SPAN></U></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 20pt"><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT 
size=2>这真的是太棒了,虽然你知道它有多么简陋,但是,毕竟你已经制作了一个可以引导的软盘了,而且所有工作都是你亲手独立完成的!</FONT></SPAN></P>
<P align=center><IMG alt="" 
src="1_2 10分钟完成的操作系统 - 《自己动手写操作系统》 - 免费试读 - book_csdn_net.files/image002.jpg" 
p=""> </P>
<P class=a1 style="MARGIN: 3.6pt 0cm 6pt" align=center><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">图</SPAN><SPAN 
lang=EN-US><FONT face="Times New Roman">1-1 <SPAN 
style="mso-spacerun: yes">&nbsp;</SPAN></FONT></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">最小的“操作系统”</SPAN></P></DIV><!-- page -->
<DIV class=page style="TEXT-ALIGN: center"><A 
href="http://book.csdn.net/bookfiles/88/100882492.shtml">上一页</A>&nbsp;&nbsp;&nbsp;<A 
href="http://book.csdn.net/bookfiles/88/index.html">首页</A>&nbsp;&nbsp;&nbsp;<A 
href="http://book.csdn.net/bookfiles/88/100882494.shtml">下一页</A> </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">图书导读 
</DIV>
<DIV 
style="PADDING-LEFT: 2px; FLOAT: right; WIDTH: 670px; LINE-HEIGHT: 16pt; TEXT-ALIGN: left"><!--导读-->
<H1 id=divCurrentNode2 
style="PADDING-LEFT: 2px; FONT-SIZE: 12px; WIDTH: 100%; COLOR: #b83507; TEXT-ALIGN: left">当前章节:<A 
href="http://book.csdn.net/bookfiles/88/100882493.shtml"><FONT color=red>1.2 
10分钟完成的操作系统</FONT></A></H1>
<DIV id=divRealteNod2 style="PADDING-LEFT: 2px">
<DIV style="FLOAT: left; WIDTH: 49%">·<A 
href="http://book.csdn.net/bookfiles/88/100882492.shtml">1.1 准备工作</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 虚拟计算机(Virtual 
PC)</A></DIV></DIV></DIV></DIV>
<DIV class=clear> </DIV></DIV>
<DIV class=todayCommend style="WIDTH: 100%">
<DIV class=title>
<H5>同类图书推荐</H5></DIV>
<DIV class="blank6 clear"></DIV>
<DIV class=content id=divSameSort>
<LI style="FLOAT: left; WIDTH: 20%"><A title=Linux应用程序开发(Java版) 
href="http://book.csdn.net/bookfiles/222/"><IMG height=112 
src="1_2 10分钟完成的操作系统 - 《自己动手写操作系统》 - 免费试读 - book_csdn_net.files/TS00123568__.jpg" 
width=80 border=0></A>
<P><A title=Linux应用程序开发(Java版) 
href="http://book.csdn.net/bookfiles/222/">Linux应用程序开发(Ja...</A></P></LI>
<LI style="FLOAT: left; WIDTH: 20%"><A title="Linux C编程" 
href="http://book.csdn.net/bookfiles/54/"><IMG height=112 
src="1_2 10分钟完成的操作系统 - 《自己动手写操作系统》 - 免费试读 - book_csdn_net.files/smallTS_730211369001top.jpg" 
width=80 border=0></A>
<P><A title="Linux C编程" href="http://book.csdn.net/bookfiles/54/">Linux 
C编程</A></P></LI>
<LI style="FLOAT: left; WIDTH: 20%"><A title=UNIX编程艺术 
href="http://book.csdn.net/bookfiles/34/"><IMG height=112 
src="1_2 10分钟完成的操作系统 - 《自己动手写操作系统》 - 免费试读 - book_csdn_net.files/TS0091589__.jpg" 
width=80 border=0></A>
<P><A title=UNIX编程艺术 
href="http://book.csdn.net/bookfiles/34/">UNIX编程艺术</A></P></LI>
<LI style="FLOAT: left; WIDTH: 20%"><A title="Solaris 10红宝书" 
href="http://book.csdn.net/bookfiles/19/"><IMG height=112 
src="1_2 10分钟完成的操作系统 - 《自己动手写操作系统》 - 免费试读 - book_csdn_net.files/TS00105905__.jpg" 
width=80 border=0></A>
<P><A title="Solaris 10红宝书" href="http://book.csdn.net/bookfiles/19/">Solaris 
10红宝书</A></P></LI>
<LI style="FLOAT: left; WIDTH: 20%"><A title=Linux内核分析及编程 
href="http://book.csdn.net/bookfiles/12/"><IMG height=112 
src="1_2 10分钟完成的操作系统 - 《自己动手写操作系统》 - 免费试读 - book_csdn_net.files/TS0079168__.jpg" 
width=80 border=0></A>
<P><A title=Linux内核分析及编程 
href="http://book.csdn.net/bookfiles/12/">Linux内核分析及编程</A></P></LI></DIV></DIV><!-- 评论 -->
<DIV class=clear></DIV>
<DIV class=todayCommend style="WIDTH: 100%">
<DIV class=title>
<H5>网友热评</H5></DIV>
<DIV class="blank6 clear"></DIV>
<DIV class=content style="OVERFLOW: scroll; WIDTH: 99%; TEXT-ALIGN: left">
<SCRIPT 
src="1_2 10分钟完成的操作系统 - 《自己动手写操作系统》 - 免费试读 - book_csdn_net.files/NewsCsdnNetJsReferences.aspx" 
type=text/javascript></SCRIPT>
</DIV></DIV><!-- 今日推荐 -->
<DIV class=clear></DIV>
<DIV id=tagad style="TEXT-ALIGN: left">
<DIV id=csdn_zhaig_ad_yahoo style="WIDTH: 99%"></DIV>
<SCRIPT type=text/javascript>
                ad_width=468;
ad_height=60;
adcss=2;
unionuser=22;
  
ad_type='j';
count=3;
                </SCRIPT>

<SCRIPT 
src="1_2 10分钟完成的操作系统 - 《自己动手写操作系统》 - 免费试读 - book_csdn_net.files/showads.js" 
type=text/javascript></SCRIPT>

<SCRIPT src="1_2 10分钟完成的操作系统 - 《自己动手写操作系统》 - 免费试读 - book_csdn_net.files/tag.js" 
type=text/javascript></SCRIPT>
</DIV></DIV><!-- 页脚 -->
<DIV id=foot><IMG height=0 alt="" 
src="1_2 10分钟完成的操作系统 - 《自己动手写操作系统》 - 免费试读 - book_csdn_net.files/readbook.aspx" 
width=0> </DIV>
<STYLE>#CFBig {
	CLEAR: both; FONT-SIZE: 12px; MARGIN: auto; WIDTH: 770px; FONT-FAMILY: Tahoma, sans-serif; TEXT-ALIGN: center
}
#CFBig #CFContent {
	MARGIN: auto; WIDTH: 500px; TEXT-ALIGN: center
}
#CFBig #CFContent P {
	MARGIN: 2px
}
#CFBig HR {
	COLOR: #4682b4; HEIGHT: 1px
}
#CFBig #CFBiaoShi {
	FLOAT: right; WIDTH: 40px
}
#CFBig A:link {
	COLOR: #000; TEXT-DECORATION: none
}
#CFBig A:visited {
	COLOR: #000; TEXT-DECORATION: none
}
#CFBig A:hover {
	COLOR: #369; TEXT-DECORATION: none
}
#CFBig A:active {
	COLOR: #000; TEXT-DECORATION: none
}
</STYLE>
<!-- 页脚 -->
<DIV style="TEXT-ALIGN: center">
<DIV id=CFBig>
<HR>

<DIV id=CFContent>
<DIV id=CFBiaoShi><A 
href="http://www.hd315.gov.cn/beian/view.asp?bianhao=010202001032100010"><IMG 
height=48 alt="" 
src="1_2 10分钟完成的操作系统 - 《自己动手写操作系统》 - 免费试读 - book_csdn_net.files/BiaoShi.gif" 
width=40 border=0></A> </DIV>
<P><A href="http://www.csdn.net/intro/intro.asp?id=2">网站简介</A>-<A 
href="http://www.csdn.net/intro/intro.asp?id=5">广告服务</A>-<A 
href="http://www.csdn.net/map/map.shtm">网站地图</A>-<A 
href="http://www.csdn.net/help/help.asp">帮助</A>-<A 
href="http://www.csdn.net/intro/intro.asp?id=9">联系方式</A>-<A 
href="http://job.csdn.net/Jobs/f9c75c9f2ad14404a604669b757b9ed0/viewcompany.aspx">诚聘英才</A>-<A 
href="http://www.csdn.net/english/">English</A>-<A 
href="javascript:navigate('mai'%20+%20'lto:'%20+%20'webm'%20+%20'aster@c'%20+%20'sdn.n'+'et?subject=向CSDN报告问题')">问题报告</A></P>
<P>北京百联美达美数码科技有限公司&nbsp;&nbsp;版权所有&nbsp;&nbsp;京 ICP 证 020026 号</P>
<P>Copyright &copy; 2000-2006, CSDN.NET, All Rights Reserved</P></DIV>
<HR>
</DIV></DIV>
<SCRIPT type=text/javascript>document.write("<img src=http://counter.csdn.net/pv.aspx?id=115 border=0 width=0 height=0>");</SCRIPT>

<SCRIPT language=JavaScript 
src="1_2 10分钟完成的操作系统 - 《自己动手写操作系统》 - 免费试读 - book_csdn_net.files/counter.js"></SCRIPT>
<!-- /页脚 --></DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -