mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2024-10-27 20:34:19 +00:00
boot sector with interrupts
This commit is contained in:
parent
80ec5420e4
commit
3110d1ed47
@ -6,4 +6,4 @@ On a mac, [install Homebrew](http://brew.sh) and then `brew install qemu nasm`
|
|||||||
Don't use the Xcode developer tools `nasm` if you have them installed, they won't work for the most cases. Always use `/usr/local/bin/nasm`
|
Don't use the Xcode developer tools `nasm` if you have them installed, they won't work for the most cases. Always use `/usr/local/bin/nasm`
|
||||||
|
|
||||||
Furthermore, on a mac, qemu is split into multiple binaries. You will want
|
Furthermore, on a mac, qemu is split into multiple binaries. You will want
|
||||||
to call `qemu-system-x86_84 *binfile*`
|
to call `qemu-system-x86_84 binfile`
|
||||||
|
14
README.md
14
README.md
@ -14,9 +14,14 @@ Inspired by [this document](http://www.cs.bham.ac.uk/~exr/lectures/opsys/10_11/l
|
|||||||
and the [OSDev wiki](http://wiki.osdev.org/), I'll try to make short step-by-step READMEs and
|
and the [OSDev wiki](http://wiki.osdev.org/), I'll try to make short step-by-step READMEs and
|
||||||
code samples for anybody to follow.
|
code samples for anybody to follow.
|
||||||
|
|
||||||
I will not explain the theory. Google is your friend. Learn what assembler is, pagination, interrupts,
|
I will not explain the theory. Google is your friend.
|
||||||
segmentation, etc. That is already covered by thousands of PDFs from Universities. This course
|
Theory is already covered by thousands of PDFs from Universities
|
||||||
is a tutorial, a hands-on, not a real CS lecture.
|
and the Wikipedia.
|
||||||
|
|
||||||
|
This course is a code tutorial, not a real CS lecture.
|
||||||
|
To make up for the lack of theory, the "lessons" are tiny
|
||||||
|
and may take 5-15 minutes to complete. Each new concept
|
||||||
|
is presented on a new lecture.
|
||||||
|
|
||||||
|
|
||||||
How to use this tutorial
|
How to use this tutorial
|
||||||
@ -28,6 +33,9 @@ to what folder 08 is about.
|
|||||||
|
|
||||||
To see the increments between "lessons", do a diff between folders.
|
To see the increments between "lessons", do a diff between folders.
|
||||||
|
|
||||||
|
Each lesson README starts with the concepts you should be familiar with
|
||||||
|
before reading the code.
|
||||||
|
|
||||||
Second, for each folder, read the README. It is **very concise**. The only theory.
|
Second, for each folder, read the README. It is **very concise**. The only theory.
|
||||||
is the required to understand the code.
|
is the required to understand the code.
|
||||||
Then, look at the code examples. You can try to write them by
|
Then, look at the code examples. You can try to write them by
|
||||||
|
Loading…
Reference in New Issue
Block a user