blob: 568d69530797dcb266d5bcde638c386b1ce73433 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# kmain
pic_remap()
pit_init()
pic_unmask(0) # pit (irq0) -> cursor blink / uptime
pic_unmask(1) # keyboard (irq1)
wipe()
dump_memmap()
fs:mount()
if (disk_sectors() != 0 and fs.ready == :false) do
puts("blank disk, formatting + seeding default files\n")
fs:format()
seed_fs()
end
welcome()
flush_console()
|