Click here to Skip to main content
15,884,629 members
Articles / Programming Languages / ASM

Building your own operating system

Rate me:
Please Sign up or sign in to vote.
4.87/5 (223 votes)
11 Oct 2006CPOL7 min read 923.8K   30.7K   365  
Writing your own operating system.
Files

9/2006

==========================
BOOT.bin
==========================
This File contains a boot sector,
that was Created from BOOT.asm 

==========================
BOOT.asm
==========================
This is the Boot Program.

When you boot your computer with this
program this would happen.

1) You would get a message like this

	Ready to start Loading the OS...

2) Press any Key

3) After he finishes reading a track he would
	Display a string like this "~~~~" and 
	he would wait for a key struck.

4) After he finishes reading 5 Tracks he would print
	a Message "Done."

5) Thats it.

==========================
Compile.BAT
==========================
Like that I compiled BOOT.ASM with TASM & TLINK.

==========================
BOOT.exe
==========================
This is the EXE from were I Took the BOOT sector.

(It seems that in WinXP you can't use EXPLORER to
delete an 16 bit exe, so to delete BOOT.exe Make 
a bat file in write to it "Del BOOT.exe"



Important!!!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you see an extension like this *.abc_exe rename
it to *.exe  (I added abc_ because I couldn't mail 
exe files).



By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Systems Engineer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions