HanOS
https://github.com/jjwang/HanOS
Its design is as below:
- Bootloader: Limine is used to get the kernel running as quickly possible. Boot protocol stivale2 is chosed by HanOS.
- CPU mode: x86-64 Long Mode is supported in HanOS. HanOS does not has plan to support other x86 modes.
- GUI: GUI will not be the 1st priority for HanOS. But HanOS will port some GUI libraries in the future.
Thanks a lot to osdev and hobby os community!
HanOS
Re: HanOS: x64 Hobby OS Started from Scratch
While I very much encourage the use of my OS as a reference, and that is a major part of why I continue to develop it, I strongly recommend that you read the license and understand what it requires of you.
https://github.com/jjwang/HanOS/blob/2d ... ice/cmos.c
https://github.com/klange/toaruos/blob/ ... _64/cmos.c
https://github.com/jjwang/HanOS/blob/2d ... keyboard.h
https://github.com/klange/toaruos/blob/ ... oaru/kbd.h
etc.
(By the way, I made up those keyboard key values, they are completely arbitrary; I recommend you use something more standardized like the USB HID scancodes)
https://github.com/jjwang/HanOS/blob/2d ... ice/cmos.c
https://github.com/klange/toaruos/blob/ ... _64/cmos.c
https://github.com/jjwang/HanOS/blob/2d ... keyboard.h
https://github.com/klange/toaruos/blob/ ... oaru/kbd.h
etc.
(By the way, I made up those keyboard key values, they are completely arbitrary; I recommend you use something more standardized like the USB HID scancodes)
Re: HanOS: x64 Hobby OS Started from Scratch
@klange, I'm impressed by how quickly you found some copy-pasted code from another project. Do you have a tool for that?klange wrote:While I very much encourage the use of my OS as a reference, and that is a major part of why I continue to develop it, I strongly recommend that you read the license and understand what it requires of you.
https://github.com/jjwang/HanOS/blob/2d ... ice/cmos.c
https://github.com/klange/toaruos/blob/ ... _64/cmos.c
https://github.com/jjwang/HanOS/blob/2d ... keyboard.h
https://github.com/klange/toaruos/blob/ ... oaru/kbd.h
etc.
(By the way, I made up those keyboard key values, they are completely arbitrary; I recommend you use something more standardized like the USB HID scancodes)
Tilck, a Tiny Linux-Compatible Kernel: https://github.com/vvaltchev/tilck
Re: HanOS: x64 Hobby OS Started from Scratch
Hi klange, many thanks for your comments! I quickly deleted the codes and will updated codes/docs according to your LICENSE. My interest on Hobby OS is mainly motivated by your great ToaruOS project!klange wrote:While I very much encourage the use of my OS as a reference, and that is a major part of why I continue to develop it, I strongly recommend that you read the license and understand what it requires of you.
https://github.com/jjwang/HanOS/blob/2d ... ice/cmos.c
https://github.com/klange/toaruos/blob/ ... _64/cmos.c
https://github.com/jjwang/HanOS/blob/2d ... keyboard.h
https://github.com/klange/toaruos/blob/ ... oaru/kbd.h
etc.
(By the way, I made up those keyboard key values, they are completely arbitrary; I recommend you use something more standardized like the USB HID scancodes)
Re: HanOS: x64 Hobby OS Started from Scratch
Thanks again for klange's codes for reference. @vvaltchev, @klange can find it because he is very familar with his codes.vvaltchev wrote:@klange, I'm impressed by how quickly you found some copy-pasted code from another project. Do you have a tool for that?klange wrote:While I very much encourage the use of my OS as a reference, and that is a major part of why I continue to develop it, I strongly recommend that you read the license and understand what it requires of you.
https://github.com/jjwang/HanOS/blob/2d ... ice/cmos.c
https://github.com/klange/toaruos/blob/ ... _64/cmos.c
https://github.com/jjwang/HanOS/blob/2d ... keyboard.h
https://github.com/klange/toaruos/blob/ ... oaru/kbd.h
etc.
(By the way, I made up those keyboard key values, they are completely arbitrary; I recommend you use something more standardized like the USB HID scancodes)