diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-04-29 16:21:41 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-04-29 16:21:41 +0200 |
commit | 8fb0c27ac52a76dd27a5879bebb643f56abe348a (patch) | |
tree | 1a9b2e1da0e975b7f4a9f628fd4ec796b50d1815 | |
parent | 66a349adeca79f191ac7e5d455160fdf3dd1b65b (diff) | |
download | abaos-8fb0c27ac52a76dd27a5879bebb643f56abe348a.tar.gz abaos-8fb0c27ac52a76dd27a5879bebb643f56abe348a.tar.bz2 |
some documentation
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | src/README | 7 | ||||
-rw-r--r-- | src/switch_mode.asm | 3 |
3 files changed, 13 insertions, 1 deletions
@@ -40,6 +40,10 @@ Next at t=14040244 links ----- +Writing a Simple Operating System - from Scratch, Nick Blundell +http://www.cs.bham.ac.uk/~exr/lectures/opsys/10_11/lectures/os-dev.pdf + +OS Development: Low-level Boot-Sector Programming, Nick Blundell https://www.youtube.com/watch?v=YvZhgRO7hL4&list=UUjrLiYrvbpXR37c0HV4PmqA http://www.intel.com/content/www/us/en/architecture-and-technology/64-ia-32-architectures-software-developer-manual-325462.html diff --git a/src/README b/src/README new file mode 100644 index 0000000..56ec7b2 --- /dev/null +++ b/src/README @@ -0,0 +1,7 @@ +boot.asm - the main boot sector code using: +* gdt.asm - the early GDT +* stage1_functions.asm - real mode functions of the bootloader +* stage2_functions.asm - protected mode primitive VGA routines +* switch_mode.asm - early GTD loading and switching from real to protected mode +kernel.c - Kernel C entry point 'entry' + diff --git a/src/switch_mode.asm b/src/switch_mode.asm index 32cca0b..bc38b5a 100644 --- a/src/switch_mode.asm +++ b/src/switch_mode.asm @@ -3,7 +3,8 @@ %include "gdt.asm" switch_to_protected_mode: - ; switch off interrupts for now + ; switch off interrupts for now, we don't + ; have a valid IDT installed yet cli ; load GDT (global descriptor table) |