OSDev.org
https://forum.osdev.org/

HanOS
https://forum.osdev.org/viewtopic.php?f=2&t=55935
Page 1 of 1

Author:  junjie [ Fri Oct 15, 2021 4:45 am ]
Post subject:  HanOS

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!

Author:  klange [ Fri Oct 15, 2021 6:13 am ]
Post subject:  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)

Author:  vvaltchev [ Fri Oct 15, 2021 6:19 am ]
Post subject:  Re: HanOS: x64 Hobby OS Started from Scratch

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?

Author:  junjie [ Fri Oct 15, 2021 6:36 am ]
Post subject:  Re: HanOS: x64 Hobby OS Started from Scratch

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!

Author:  junjie [ Fri Oct 15, 2021 7:10 am ]
Post subject:  Re: HanOS: x64 Hobby OS Started from Scratch

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.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/