OSDev.org

The Place to Start for Operating System Developers
It is currently Wed Dec 01, 2021 10:50 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: HanOS
PostPosted: Fri Oct 15, 2021 4:45 am 
Offline

Joined: Thu Oct 14, 2021 9:58 pm
Posts: 3
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.

Top
 Profile  
 
 Post subject: Re: HanOS: x64 Hobby OS Started from Scratch
PostPosted: Fri Oct 15, 2021 6:13 am 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 515
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)

_________________
toaruos on github | toaruos.org | gitlab | twitter | bim - a text editor


Top
 Profile  
 
 Post subject: Re: HanOS: x64 Hobby OS Started from Scratch
PostPosted: Fri Oct 15, 2021 6:19 am 
Offline
Member
Member

Joined: Fri May 11, 2018 6:51 am
Posts: 227
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


Top
 Profile  
 
 Post subject: Re: HanOS: x64 Hobby OS Started from Scratch
PostPosted: Fri Oct 15, 2021 6:36 am 
Offline

Joined: Thu Oct 14, 2021 9:58 pm
Posts: 3
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!


Top
 Profile  
 
 Post subject: Re: HanOS: x64 Hobby OS Started from Scratch
PostPosted: Fri Oct 15, 2021 7:10 am 
Offline

Joined: Thu Oct 14, 2021 9:58 pm
Posts: 3
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group