OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 2:14 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: OSDev Tutorial License
PostPosted: Fri Jan 31, 2014 8:26 am 
Offline
Member
Member

Joined: Fri Jan 31, 2014 8:21 am
Posts: 32
I have been borrowing & adapting OSDev tutorial code, and I'm wondering how the tutorial code is licensed (GPL, LGPL, Public Domain, etc) as so to comply to it and heed to the license when I release my own source code (and complied code).

Thanks!


Top
 Profile  
 
 Post subject: Re: OSDev Tutorial License
PostPosted: Fri Jan 31, 2014 8:30 am 
Offline
Member
Member
User avatar

Joined: Wed Mar 21, 2012 3:01 pm
Posts: 930
The code on wiki.osdev.ofg is CC0 unless specified otherwise. In fact, nobody will really care if you copy snippets off the wiki.


Top
 Profile  
 
 Post subject: Re: OSDev Tutorial License
PostPosted: Fri Jan 31, 2014 8:34 am 
Offline
Member
Member

Joined: Fri Jan 31, 2014 8:21 am
Posts: 32
Thanks!


Top
 Profile  
 
 Post subject: Re: OSDev Tutorial License
PostPosted: Fri Jan 31, 2014 9:13 am 
Offline
Member
Member
User avatar

Joined: Wed Dec 01, 2010 3:41 am
Posts: 1761
Location: Hong Kong
As a side note, codes from tutorials are for learning purpose, it is very likely not suitable for any serious work.


Top
 Profile  
 
 Post subject: Re: OSDev Tutorial License
PostPosted: Fri Jan 31, 2014 4:12 pm 
Offline
Member
Member
User avatar

Joined: Sun Feb 18, 2007 7:28 pm
Posts: 1564
Quote:
I have been borrowing & adapting OSDev tutorial code

That is a bad habit to be dropped ASAP. That type of thing might work well for some other projects, but I assure you that it does not work well for OS development. There is always a threshold; a point of no return; when you will have to be completely self reliant. And if you don't understand your own code very well (you don't from copying and pasting) you won't stand a chance.

Copying and pasting code does not even guarantee that the code you copied is valid or correct, even if it appears to work on some machines.

_________________
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}


Top
 Profile  
 
 Post subject: Re: OSDev Tutorial License
PostPosted: Fri Jan 31, 2014 4:22 pm 
Offline
Member
Member
User avatar

Joined: Wed Mar 21, 2012 3:01 pm
Posts: 930
Indeed. It's also worth remembering that when you copy code, even if it is correct and you understand it, it might not be good code. I'm still removing the last pieces of bad tutorial code from my OS, going on for the third year.


Top
 Profile  
 
 Post subject: Re: OSDev Tutorial License
PostPosted: Fri Jan 31, 2014 9:51 pm 
Offline
Member
Member

Joined: Fri Jan 31, 2014 8:21 am
Posts: 32
Yes, I do understand that. I just copied some code to start off (e.g. bare bones tutorial), but don't intend on making my OS 100% based off of tutorials & copied code (as there are many possible issues as mentioned before)


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 11 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