摘要:lesson 5: let’s make it interactive
all of this printing stuff to the screen is fun, but no operating system would be any good at all if it did not provide any interactivity. let’s make it read input......
摘要:lesson 3: nasm
in this lesson we will learn to use an assembler to write our programs. in previous lessons we have assembled them using debug. after playing around with this for a while, you will qui......
WriteYourOwnOperatingSystemTutorial(7)
now that we have a boot loader that will load our operating system, and thus can make our operating system larger than one sector, we can now begin to add some complexity to our system. one of the first things to do is to loosen our tie to bios. so far we have been using bios functions for all of our input and output. bios hides all of the input and output from us with its interface, so we don’t know exactly how it goes about performing its functions. bios can often be slower than handling i/o by ourselves, and in doing it ourselves, we can know exactly what is going on, thus giving us more power, control, and flexibility with the design of our operating system. of course, my main reason for learning to perform the i/o myself it simply to see how it is done. if anyone has any arguments for or against the use of bios for i/o, let me know. perhaps we could discuss it further. 【推荐阅读:
http://www.myfaq.com】
lesson 7: start saying goodbye to bios
...
下一页 摘要:lesson 2: making our first bootable disk
in this lesson, we will learn how to create a boot program on a floppy disk. we will start by modifying the microsoft dos boot record.
for our purposes, we w......