HD VIDEO - make an operating system just from scratch.

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
nidhalkratos
Posts: 1
Joined: Thu Dec 25, 2014 12:20 pm

HD VIDEO - make an operating system just from scratch.

Post 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.

User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

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

Post 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.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
sortie
Member
Member
Posts: 931
Joined: Wed Mar 21, 2012 3:01 pm
Libera.chat IRC: sortie

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

Post 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.
alexfru
Member
Member
Posts: 1112
Joined: Tue Mar 04, 2014 5:27 am

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

Post 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).
User avatar
iansjack
Member
Member
Posts: 4707
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

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

Post by iansjack »

I would strongly advise against doing OS development whilst logged on as "root".
User avatar
Roman
Member
Member
Posts: 568
Joined: Thu Mar 27, 2014 3:57 am
Location: Moscow, Russia
Contact:

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

Post 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/*"
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
- Alan Kay
Coomer69
Member
Member
Posts: 31
Joined: Thu Feb 20, 2014 4:49 am

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

Post 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.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

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

Post 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)
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
konacake
Member
Member
Posts: 27
Joined: Wed Jul 02, 2014 2:10 am

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

Post 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.
User avatar
KemyLand
Member
Member
Posts: 213
Joined: Mon Jun 16, 2014 5:33 pm
Location: Costa Rica

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

Post by KemyLand »

alexfru wrote:Dunno if I should laugh or cry.
Or avoiding this from getting into the wiki...
Happy New Code!
Hello World in Brainfuck :D:

Code: Select all

++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
[/size]
Post Reply