-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
34 lines (31 loc) · 1.45 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#### ## ## ## ## ## ##
## ## ### ### ### ### ### ###
## ## #### #### #### #### #### ####
## ## ## ## ## ## ## ## ## ## ## ## ##
## ### ###### ## #### ## ## #### ## ######
## ## ## ## ## ### ## ## ### ## ## ##
########## ## ## ## ## ## ## ## ## ## ##
Overview:
Gamma is an Multiboot-compliant operating system kernel written for the x86.
Execution begins in boot.s, and goes to kernel_main(), in kernel_main.c.
After that, execution is interrupt-driven, so looking at the kernel_main
function will be pointless: it's an infinite loop. The purpose of the kernel
is to get the computer in a usable state, and then respond to interrupts,
from software and hardware, e.g.: keyboards.
Compiling on Winblows:
[UNTESTED]
You will need the MinGW GCC port as well as the make utility.
Edit the Makefile so that the
CC=gcc
line reads
CC=mingw32-gcc
This will change to the MinGW GCC compiler.
Change directory (at a command prompt) to the source directory.
Run 'mingw32-make'
This will generate a Multiboot-compatible boot image, called bootImage.bin
Running:
You will need the GRUB bootloader installed
At the GRUB boot menu, hit 'c'
Type: "multiboot (hd0, msdosX)/path_to_source_dir/bootImage.bin", where X is the number of your Windows partition.
This will load the kernel
Then type "boot", and the kernel will load and run