Page 1 of 1

HD VIDEO - make an operating system just from scratch.

Posted: Thu Dec 25, 2014 12:38 pm
by nidhalkratos
HD VIDEO - make an operating system just from scratch

Hi and welcome OSDEV, In this video we are going to be building an operating system just from scratch using C and ASSEMBLY programming languages.


Re: HD VIDEO - make an operating system just from scratch.

Posted: Thu Dec 25, 2014 4:09 pm
by Combuster
Beginner mistakes wrote:In fact, the vast majority of tutorials currently out there are known to be broken in at least one way, so you are generally better off not trusting them in the first place.
You pretty much proved that part right:

- using gedit to insert "apt-get install gedit" into a shell script.
- SYGWIN should be CYGWIN
- No use of a cross-compiler (which hard-breaks anybody using a cygwin install, or probably everyone not using 64-bit x86 linux).
- Nothing else to prevent the compiler from assuming a hosted machine.
- The stack is garbage
- The linker script rejects important sections
- Multiboot header is not guaranteed to be sufficiently close to the start of the binary.
- Colours in your post (read the forum rules)
- probably copyrighted background music.

Basically, you're just lucky it works. It won't work for everyone, and it certainly won't work for anybody who adds pretty much anything non-trivial beyond this.

Re: HD VIDEO - make an operating system just from scratch.

Posted: Thu Dec 25, 2014 5:40 pm
by sortie
If you're going to document how to make an operating system, I recommend you base it off the http://wiki.osdev.org/Bare_Bones tutorial. The decisions in that tutorial is very deliberate to avoid pitfalls.

I suggest against making youtube videos as they can't be community edited and reviewed. If you must, you should be very experienced and include all current community advise.

Re: HD VIDEO - make an operating system just from scratch.

Posted: Thu Dec 25, 2014 9:19 pm
by alexfru
Dunno if I should laugh or cry.

But keep doing it. Perhaps, you'll get better at it (it being OS dev itself and explaining stuff).

Re: HD VIDEO - make an operating system just from scratch.

Posted: Fri Dec 26, 2014 3:26 am
by iansjack
I would strongly advise against doing OS development whilst logged on as "root".

Re: HD VIDEO - make an operating system just from scratch.

Posted: Fri Dec 26, 2014 6:02 am
by Roman
iansjack wrote:I would strongly advise against doing OS development whilst logged on as "root".
Yes, no one wants to accidentally type "rm -rf build /*" instead of "rm -rf build/*"

Re: HD VIDEO - make an operating system just from scratch.

Posted: Fri Dec 26, 2014 11:30 am
by Coomer69
Roman wrote:Yes, no one wants to accidentally type "rm -rf build /*" instead of "rm -rf build/*"
Don't say that! You'll make him curious and he'll run the command!

Then sue us.

Re: HD VIDEO - make an operating system just from scratch.

Posted: Fri Dec 26, 2014 2:24 pm
by Combuster
We'll have someone sue back for the music ;)

(P.S. anybody is free to spam that list of errors to youtube. I'm not bothering to create a youtube account just for the occasion)

Re: HD VIDEO - make an operating system just from scratch.

Posted: Fri Dec 26, 2014 4:06 pm
by konacake
I think this is a prime example of mount stupid.

I didn't even watch the video all the way, I hate video tutorials related to programming, they're always sub-par and difficult to learn from. If we're dealing with text, it should be in a text-based medium.

Re: HD VIDEO - make an operating system just from scratch.

Posted: Fri Dec 26, 2014 6:42 pm
by KemyLand
alexfru wrote:Dunno if I should laugh or cry.
Or avoiding this from getting into the wiki...