Advertisement
C_Volume2 System Services/ Functions #82076

Write An OS (II) - OPOS

This is the second part of my previous article Write A Simple OS now ! . This time its not just Hello WOrld , but a lot more than that. I have written a very simple basic kernel coded in turbo C 2.0 . It also has a simple $hell. Just follow the instructions in readme.now...And don't forget to vote ;-).

AI

AIサマリー: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

ソースコード
original-source
<h1>Write Your Own OS</h1>
<p>Hi ! This is the second part of my previous article <b>Write A Simple OS Now
!. </b> Before moving on I must tell you that OPOS (for OPEN SOURCE
OPERATING SYSTEM) is a project which is in its very initial stages started by
me. I've uploaded the source files of the first release of OPOS. This release
although , is no good for usage as an OS , it could serve as a good example for
you if you are keen on coding your own OS. As PSC does not allow uploading of
exe files you must download a small utility called <a href="http://www.geocities.com/cppresources/bt.zip"><b>bootable.exe</b></a>
from my homepage. This utility copies the boot sector code as well as retains
the DOS file allocation  table of the disk making it readable from dos. So
for installing OPOS you must download it.</p>
<p>Below are a list of links I found over the time. Thought maybe you guys would
want to check them out. Please <b>Vote.</b></p>
<p><b><u>COMPILERS</u></b></p>
<p><b><a href="http://community.borland.com/museum/">turbo C 2.01</a> (Must
Register for Free)</b></p>
<p><b><u>BOOTING</u></b> </p>
<ul>
 <li><a href="http://alexfru.chat.ru/epm.html">http://alexfru.chat.ru/epm.html</a></li>
 <li><a href="http://www.geocities.com/mvea/bootstrap.htm">http://www.geocities.com/mvea/bootstrap.htm</a></li>
 <li><a href="http://www.nondot.org/sabre/os/files/Booting/x86Bootstrapping.html">http://www.nondot.org/sabre/os/files/Booting/
 x86Bootstrapping.html</a></li>
 <li><a href="http://www.nondot.org/sabre/os/files/Booting/nasmBoot.html">http://www.nondot.org/sabre/os/files/Booting/nasmBoot.html</a></li>
 <li><a href="http://www.nondot.org/sabre/os/files/Booting/nasmBoot.html">http://www.nondot.org/sabre/os/
 files/Booting</a></li>
 <li><a href="http://www.nondot.org/sabre/os/files/Booting/BootSector.html">http://www.nondot.org/sabre/os/files/Booting/BootSector.html</a></li>
 <li><a href="http://www.execpc.com/~geezer/osd/boot/index.htm">http://www.execpc.com/~geezer/osd/boot/index.htm</a></li>
 <li><a href="http://www.execpc.com/~geezer/osd/boot/steps.txt">things a boot loader
 could do</a>.</li>
</ul>
<p><b><u>BOOT LOADERS</u></b> </p>
<ul>
 <li><a href="http://www.gnu.org/software/grub/">http://www.gnu.org/software/grub/</a>
 (The Open Source Boot Loader By GNU)</li>
 <li><a href="http://www.execpc.com/~geezer/os/index.htm#bing">http://www.execpc.com/~geezer/os/index.htm#bing</a>
 (Another Open Source Boot Loader)</li>
 <li><a href="http://www.ibiblio.org/pub/Linux/system/boot/dualboot">http://www.ibiblio.org/pub/Linux/system/boot/dualboot</a>
 LOADLIN (loads Linux from the DOS command prompt)</li>
 <li>OTHER OPEN SOURCE BOOT LOADERS...
 <ul>
  <li><a href="http://www.openbg.net/sto/os/implement/v2osboot.asm">http://www.openbg.net/sto/os/implement/v2osboot.asm</a>
  <li><a href="http://home.wanadoo.nl/geurt/home.html">http://home.wanadoo.nl/geurt/home.html</a>.
  <li><a href="http://www.execpc.com/~geezer/johnfine/#sample">http://www.execpc.com/~geezer/johnfine/#sample</a>
  <li><a href="http://www.cix.co.uk/~mayday">http://www.cix.co.uk/~mayday</a></li>
 </ul>
 </li>
 <li>Detailed Explanation of FAT Boot Sector <a href="http://support.microsoft.com/support/kb/articles/Q140/4/18.asp">http://support.microsoft.com/support/kb/articles/Q140/4/18.asp</a></li>
 <li>list of interrupts in BIOS  <a href="http://www.ctyme.com/intr/cat-003.htm">http://www.ctyme.com/intr/cat-003.htm</a></li>
</ul>
<p><b><u>Operating System Resources</u></b></p>
<ul>
 <li><a href="http://www.nondot.org/sabre/os/articles/DiskandDiscDrives/">http://www.nondot.org/sabre/os</a>
 <b>(THE BEST)</b></li>
 <li><a href="http://nutsnduts.cjb.net">http://nutsnduts.cjb.net</a> (the
 sipnos home page)</li>
 <li><a href="ftp://ftp.mega-tokyo.com/pub/operating-systems/os-faq.zip">Write
 Your Own OS FAQ</a></li>
 <li><a href="ftp://ftp.mega-tokyo.com/pub/operating-systems/queeg.zip">Queeg.zip
 (My small OS Source)</a></li>
 <li><a href="http://www.mygale.org/~placr/">http://www.mygale.org/~placr/</a></li>
 <li><a href="http://www.tssc.co.nz/~bcurrie/">http://www.tssc.co.nz/~bcurrie/</a></li>
 <li><a href="http://www.kernel.org/pub/linux/kernel/Historic/linux-0.01.tar.gz">Linux
 v0.01 kernel source (tar.gz)</a> yes the <b>LINUX Kernel</b></li>
 <li><a href="http://www.frotz.net/openblt">http://www.frotz.net/openblt</a></li>
 <li><a href="http://www.execpc.net/~geezer/os/index.htm">http://www.execpc.net/~geezer/os/index.htm</a></li>
 <li><a href="http://freeusers.digibel.be/~fcorn">http://freeusers.digibel.be/~fcorn</a>
 EduOS and some OS papers.</li>
 <li><a href="http://www.execpc.com/~geezer/osd">http://www.execpc.com/~geezer/osd</a></li>
 <li><a href="http://www.thesky.demon.co.uk/pc-hardware/display.html">http://www.thesky.demon.co.uk</a></li>
</ul>
オリジナルのコメント (3)
Wayback Machineから復元