bond is a hobby x86-64 kernel
Go to file
2014-06-30 12:14:10 -07:00
boot Initial 2014-05-30 01:55:32 -07:00
HOS-BAK Initial 2014-05-30 01:55:32 -07:00
inc Initial 2014-05-30 01:55:32 -07:00
kalib Initial 2014-05-30 01:55:32 -07:00
kclib Refactor code + _IN_ macro + null check + finish off MmMapVirtualAddress. 2014-06-30 11:53:13 -07:00
kernel Initial 2014-05-30 01:55:32 -07:00
lib Initial 2014-05-30 01:55:32 -07:00
miscellaneous Add color scheme for VS 2014-06-27 17:46:25 -07:00
.gitattributes Initial 2014-05-30 01:55:32 -07:00
.gitignore Initial 2014-05-30 01:55:32 -07:00
a.img Collect garbage + add bochs file 2014-06-30 12:14:10 -07:00
bochsout.txt Collect garbage + add bochs file 2014-06-30 12:14:10 -07:00
bochsrc.bxrc Collect garbage + add bochs file 2014-06-30 12:14:10 -07:00
kernel.bin Refactor code + _IN_ macro + null check + finish off MmMapVirtualAddress. 2014-06-30 11:53:13 -07:00
loader.bin Initial 2014-05-30 01:55:32 -07:00
makefile change name 2014-06-03 00:05:45 -07:00
ReadME.txt Initial 2014-05-30 01:55:32 -07:00

This is a really simple operating system(still being developed). The image file is HOS.img. Please use bochs to see the real effect. What it enters protected mode, starts paging and runs a process. I did not have enough time to write elaborate comments on that. Therefore, just run and selectively read some codes. Please put the provided bochsrc file and the image into the directory of bochs and directly run bochs.exe and you will see the effect.
DIRECTORY:
-boot
Includes the bootloader
-boot.asm 
Load the loader into memory(The computer starts executing here).
-loader.asm 
Enter protected mode and init paging then load the kernel into memory
-inc 
Include files for constants
-Fat12 Header.inc
For FAT12 file system.
-PM.inc
Constants for protected mode.
-kalib
Library in assembly language for protected mode.
-kclib
Library in C for protected mode.
-kernel
Codes executed as OS enters kernel
-lib
Library in assembly language for real mode.
-temp
Some developing functions.
-HOS.img
The OS image.
-makefile
Make command for building the system.
**Compiled by GNU GCC and NASM.