mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2024-10-27 20:34:19 +00:00
Notify the small but important change in bootsect.asm.
Since checkpoint, our kernel will be larger, so the number of sectors to read when loading it from disk has increased from 2 to 16. Many learners are used to copying existing code. So if we don't notify them of the change in 'bootsect.asm', they will encounter disk read error in the later lessons.
This commit is contained in:
parent
7aff64740e
commit
87c6042643
@ -11,7 +11,9 @@ and think on a strategy.
|
|||||||
|
|
||||||
Take a look at the new folder structure. Most of the files have been symlinked
|
Take a look at the new folder structure. Most of the files have been symlinked
|
||||||
from previous lessons, so if we have to change them at some point, it will be
|
from previous lessons, so if we have to change them at some point, it will be
|
||||||
a better idea to remove the symlink and create a new file.
|
a better idea to remove the symlink and create a new file. Open `boot/bootsect.asm`
|
||||||
|
and note that since our kernel will be larger, the number of sectors to read when
|
||||||
|
loading it from disk has increased from `2` to `16`.
|
||||||
|
|
||||||
Furthermore, since from now on we will use mostly C to code, we'll take advantage of qemu's
|
Furthermore, since from now on we will use mostly C to code, we'll take advantage of qemu's
|
||||||
ability to open a connection to gdb. First, let's install a cross-compiled `gdb` since
|
ability to open a connection to gdb. First, let's install a cross-compiled `gdb` since
|
||||||
|
Loading…
Reference in New Issue
Block a user