<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0047)http://www.cse.unl.edu/~jgompert/OS/lesson1.htm -->
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD><TITLE>Write Your Own Operating System - Lesson 1</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content=Word.Document name=ProgId>
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<META content="Microsoft Word 9" name=Originator><LINK
href="./lesson1_files/filelist.xml" rel=File-List><!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>Joel Matthias Gompert</o:Author>
<o:LastAuthor>Joel Matthias Gompert</o:LastAuthor>
<o:Revision>12</o:Revision>
<o:TotalTime>17</o:TotalTime>
<o:Created>2001-12-28T02:59:00Z</o:Created>
<o:LastSaved>2001-12-28T04:42:00Z</o:LastSaved>
<o:Pages>3</o:Pages>
<o:Words>1070</o:Words>
<o:Characters>6103</o:Characters>
<o:Company>The Flaming Gymsocks</o:Company>
<o:Lines>50</o:Lines>
<o:Paragraphs>12</o:Paragraphs>
<o:CharactersWithSpaces>7494</o:CharactersWithSpaces>
<o:Version>9.2720</o:Version>
</o:DocumentProperties>
</xml><![endif]-->
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; mso-header-margin: .5in; mso-footer-margin: .5in; mso-paper-source: 0; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 12pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-weight: bold
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 12pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-weight: bold
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 12pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-weight: bold
}
H1 {
FONT-SIZE: 16pt; MARGIN: 0in 0in 12pt; FONT-FAMILY: Arial; mso-pagination: widow-orphan; mso-bidi-font-weight: normal; mso-style-next: Normal; mso-outline-level: 1; mso-bidi-font-size: 12.0pt; mso-bidi-font-family: "Courier New"; mso-font-kerning: 0pt
}
P.MsoTitle {
FONT-WEIGHT: bold; FONT-SIZE: 16pt; MARGIN: 12pt 0in 3pt; FONT-FAMILY: Arial; TEXT-ALIGN: center; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"; mso-outline-level: 1; mso-font-kerning: 14.0pt
}
LI.MsoTitle {
FONT-WEIGHT: bold; FONT-SIZE: 16pt; MARGIN: 12pt 0in 3pt; FONT-FAMILY: Arial; TEXT-ALIGN: center; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"; mso-outline-level: 1; mso-font-kerning: 14.0pt
}
DIV.MsoTitle {
FONT-WEIGHT: bold; FONT-SIZE: 16pt; MARGIN: 12pt 0in 3pt; FONT-FAMILY: Arial; TEXT-ALIGN: center; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"; mso-outline-level: 1; mso-font-kerning: 14.0pt
}
P.MsoBodyText {
FONT-SIZE: 12pt; MARGIN: 0in 0in 12pt; FONT-FAMILY: "Times New Roman"; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
LI.MsoBodyText {
FONT-SIZE: 12pt; MARGIN: 0in 0in 12pt; FONT-FAMILY: "Times New Roman"; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
DIV.MsoBodyText {
FONT-SIZE: 12pt; MARGIN: 0in 0in 12pt; FONT-FAMILY: "Times New Roman"; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
DIV.Section1 {
page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US style="tab-interval: .5in" vLink=purple link=blue>
<DIV class=Section1>
<P class=MsoTitle><A name=_Toc534120514>Write Your Own Operating System
Tutorial</A></P>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; PADDING-BOTTOM: 1pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 0.75pt solid">
<P class=MsoNormal
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: medium none; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 0in 0in 1.0pt 0in"><SPAN
style="mso-bookmark: _Toc534120514"></SPAN><A
href="http://www.cse.unl.edu/~jgompert/OS/introduction.htm"><SPAN
style="mso-bookmark: _Toc534120514">Previous</SPAN><SPAN
style="mso-bookmark: _Toc534120514"></SPAN></A><SPAN
style="mso-bookmark: _Toc534120514"><SPAN
style="mso-tab-count: 1">
</SPAN></SPAN><A
href="http://www.cse.unl.edu/~jgompert/OS/TableOfContents.htm"><SPAN
style="mso-bookmark: _Toc534120514">Table of Contents</SPAN><SPAN
style="mso-bookmark: _Toc534120514"></SPAN></A><SPAN
style="mso-bookmark: _Toc534120514"><SPAN
style="mso-tab-count: 1">
</SPAN></SPAN><A href="http://www.cse.unl.edu/~jgompert/OS/lesson2.htm"><SPAN
style="mso-bookmark: _Toc534120514">Next Lesson</SPAN><SPAN
style="mso-bookmark: _Toc534120514"></SPAN></A><SPAN
style="mso-bookmark: _Toc534120514"></SPAN></P></DIV><SPAN
style="mso-bookmark: _Toc534120514"></SPAN>
<H1>Lesson 1: The Boot Sector</H1>
<P class=MsoNormal>In this lesson well learn about the contents of the boot
sector so that we can learn to write our own boot program.</P>
<P class=MsoNormal>When the computer boots from a floppy, BIOS (Basic
Input/Output System) reads the disk and loads the first sector into memory at
address 0000:7C00.<SPAN style="mso-spacerun: yes"> </SPAN>This first
sector is called the DOS Boot Record (DBR).<SPAN
style="mso-spacerun: yes"> </SPAN>BIOS jumps to the address 0x7C00 and
begins executing instructions there.<SPAN style="mso-spacerun: yes">
</SPAN>It is these instructions (the boot loader) that will load the operating
system (OS) into memory and begin the OSs boot process.</P>
<P class=MsoNormal>The first thing to do is to take a look inside the Boot
Record.<SPAN style="mso-spacerun: yes"> </SPAN>The DOS utility DEBUG is a
widely available tool that can be used to view the contents of memory and
disks.<SPAN style="mso-spacerun: yes"> </SPAN>Well use DEBUG to look at a
floppy disks Boot Record.</P>
<P class=MsoNormal>At a DOS (or Windows) command prompt type <SPAN
style="FONT-FAMILY: 'Courier New'">debug</SPAN>.<SPAN
style="mso-spacerun: yes"> </SPAN>This will leave you with just a hyphen
as a prompt.<SPAN style="mso-spacerun: yes"> </SPAN>If you enter letter
d as a command and press Enter, it will show you a portion of the contents of
RAM.<SPAN style="mso-spacerun: yes"> </SPAN>Typing the question mark as a
command will give you a list of all the available commands in DEBUG.<SPAN
style="mso-spacerun: yes"> </SPAN>(<I>Be very careful when using the DEBUG
utility.<SPAN style="mso-spacerun: yes"> </SPAN>This utility can be used
to overwrite data on any disk drive, possibly causing loss of data.)</I></P>
<P class=MsoNormal>Place a freshly formatted disk in the A: drive.<SPAN
style="mso-spacerun: yes"> </SPAN>To load the Boot Record off your floppy
disk, type the following command.</P>
<P class=MsoNormal><SPAN
没有合适的资源?快使用搜索试试~ 我知道了~
操作系统DIY手册--Write Your Own Operating System Tutorial
共19个文件
htm:7个
doc:6个
asm:5个
4星 · 超过85%的资源 需积分: 3 66 下载量 58 浏览量
2009-11-25
17:29:52
上传
评论 2
收藏 190KB RAR 举报
温馨提示
Write Your Own Operating System Tutorial 操作系统DIY手册 电子书格式:doc
资源详情
资源评论
资源推荐
收起资源包目录
操作系统DIY手册.rar (19个子文件)
BOOT12.ASM 13KB
H.ASM 3KB
eng_ver
Write Your Own Operating System - Lesson 2.htm 16KB
Write Your Own Operating System - Lesson 5.htm 10KB
Write Your Own Operating System - Lesson 6.htm 18KB
Write Your Own Operating System - Lesson 3.htm 12KB
Write Your Own Operating System - Lesson 1.htm 26KB
Write Your Own Operating System - Lesson 4.htm 15KB
Write Your Own Operating System - Lesson 7.htm 16KB
操作系统DIY手册(第二课).doc 30KB
操作系统DIY手册(第三课).doc 29KB
操作系统DIY手册(第一课).doc 39KB
操作系统DIY手册(第五课).doc 26KB
操作系统DIY手册(第四课).doc 29KB
操作系统DIY手册(第六课).doc 32KB
nasmw.exe 317KB
LESSON6.ASM 1KB
LESSON5.ASM 3KB
HELOWRLD.ASM 3KB
共 19 条
- 1
Yeah
- 粉丝: 34
- 资源: 47
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于matlab实现说话人语音识别源码+项目说明+PPT+报告(高分项目).zip
- VSc++编程助手1.0 - 1
- 基于matlab的说话人语音识别源码+PPT+报告(优质项目).zip
- 语音识别基于matlab说话人识别系统源码+报告PPT(高分优质项目).zip
- 毕业设计: 校园失物招领小程序的设计与实现论文(源码 + 数据库 + 说明文档)
- 美易ME-DUI自绘模块3.3-易语言模块
- 毕业设计:小程序消防知识每天学(源码 + 数据库 + 说明文档)
- 2024-NEW.zip
- 软件.zip
- 华为FPGA设计技巧FPGA设计规范设计经验设计流程指南华为面经硬件工程师手册等资料(15个).zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论3