bond is a hobby x86-64 kernel
Go to file
HyperAssembler b6c999753f 1. Refactored kernel calling convention.
2. Linker script for kernel.
2. Updated mkiso script to link C with nasm and build a runable multiboot1 iso.
2015-01-25 02:26:52 -08:00
legacy Nop 2014-09-28 18:50:01 -04:00
miscellaneous Add Xcode 2014-07-09 00:10:57 -07:00
OScript 1. Refactored kernel calling convention. 2015-01-25 02:26:52 -08:00
x86 1. Refactored kernel calling convention. 2015-01-25 02:26:52 -08:00
.gitattributes Initial 2014-05-30 01:55:32 -07:00
.gitignore Initial 2014-05-30 01:55:32 -07:00
bochs.bxrc 1. Refactored kernel calling convention. 2015-01-25 02:26:52 -08:00
bochsdbg.bxrc 1. Refactored kernel calling convention. 2015-01-25 02:26:52 -08: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.