HanOS

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
Post Reply
junjie
Posts: 4
Joined: Thu Oct 14, 2021 9:58 pm

HanOS

Post by junjie »

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!
Last edited by junjie on Fri Oct 15, 2021 7:05 am, edited 1 time in total.
HanOS - x64 Hobby OS
visit https://github.com/jjwang/HanOS
klange
Member
Member
Posts: 679
Joined: Wed Mar 30, 2011 12:31 am
Libera.chat IRC: klange
Discord: klange

Re: HanOS: x64 Hobby OS Started from Scratch

Post by klange »

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)
vvaltchev
Member
Member
Posts: 274
Joined: Fri May 11, 2018 6:51 am

Re: HanOS: x64 Hobby OS Started from Scratch

Post by vvaltchev »

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)
@klange, I'm impressed by how quickly you found some copy-pasted code from another project. Do you have a tool for that?
Tilck, a Tiny Linux-Compatible Kernel: https://github.com/vvaltchev/tilck
junjie
Posts: 4
Joined: Thu Oct 14, 2021 9:58 pm

Re: HanOS: x64 Hobby OS Started from Scratch

Post by junjie »

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)
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!
HanOS - x64 Hobby OS
visit https://github.com/jjwang/HanOS
junjie
Posts: 4
Joined: Thu Oct 14, 2021 9:58 pm

Re: HanOS: x64 Hobby OS Started from Scratch

Post by junjie »

vvaltchev wrote:
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)
@klange, I'm impressed by how quickly you found some copy-pasted code from another project. Do you have a tool for that?
Thanks again for klange's codes for reference. @vvaltchev, @klange can find it because he is very familar with his codes.
HanOS - x64 Hobby OS
visit https://github.com/jjwang/HanOS
Post Reply