README.md 597 字节
Newer Older
R
rain 已提交
1 2 3 4
Cunix kernel
============

# Build
R
rain 已提交
5 6
Use `GNU-Make`, there is a file `cunix.img` in `boot`. It's a 1.44M floppy image. 
And then, use disk writer (like `dd`) write image to your start-up media, Cunix 
R
rain 已提交
7 8 9
will start after it. 

# Version
R
rain 已提交
10 11
2021 - 02 - 08: `0.362s-boot`: 
	`Boot` read `loader` from `boot-device`, then it jumps to it. 
R
rain 已提交
12 13
	Loader doesn't load anything, it just enable long-mode and paging. 

R
rain 已提交
14 15
	Loader defines temporary page table at `0x70000` (0x0000:0x7000), 
	it uses `2MB` page to make 0-12 MB memory to `0x0000 - 0xc0000`. 
R
rain 已提交
16

R
rain 已提交
17 18
2021 - 02 - 09: `0.385s-boot`: 
	rebuild `boot` and `loader`.
R
rain 已提交
19