Making an OS (x86) Chapter 1 - CPU, Assembly, Booting

preview_player
Показать описание
In this video you will (hopefully) learn the basis of what the CPU is, what Assembly is like and even use some Assembly code to create a functioning boot sector.
Corrections:
- It's not SUM ax, 5 but ADD ax, 5
- Times is not an "instruction", it only repeats an "action" n times in the binary file.

New Video Next Sunday

To install nasm and qemu on linux (debian) run the following commands:
sudo apt update
sudo apt install nasm
sudo apt-get install qemu-system

(Look, it wasn't even a rickroll after all!)

Music by Kevin MacLeod
Рекомендации по теме
Комментарии
Автор

Knowing nothing about OSes, that boot concept made total sense. Always wondered about that.

Unfortunately doesn't seem to work when using WSL2 with Ubuntu... Get the error: "Unable to init server: Connection refused"

BeepDerpify
Автор

Since he called C a high-level language I knew it was a no-joke channel

nightjolt
Автор

I have been waiting for a series like this for a while.

mihnea-adriantoma
Автор

That moment he calls C a high level language
Me: My whole life has been a lie

AbhishekBM
Автор

Dude hell yes this is the right content we need

tanishislam
Автор

Awesome, my college was going to teach us assembly language in microprocessor and microcontroller subject, which seemed a bit boring. But after watching your tutorial, now it seems interesting enough to dig deeper.

oxycada
Автор

I'm a visual learner and I'm glad this exists

mystwalker
Автор

I used to write boot sector programs in class when I was bored, I wrote them in Hexadeimal, and counted 510 bytes, and at the end added 55AA, It is really hard, but was really satisfying to get home and see that the looking random numbers to any other person, actually run as an operating system in a Virtual Machine.

environmentNow
Автор

ax is 'A' e"x"tended, the register A, but extended (with more bits, by having two parts).
registers were named just like that, with letters, because naming them with numbers would be confusing, and they were made by engineers, if they were made by mathematicians, you would have greek letters.

monad_tcp
Автор

Wow, I loved this! Your pace is on point, not too fast that is confusing, not too slow that it gets boring. Looking forward to the next one!

roxferesr
Автор

Instant subscribed . I was searching the web on how to make OS . Please continue making these tutorials.This is pure gold.

alenpaul
Автор

The quality of this video is really good! It's really easy to understand and the "animation" helps a lot! I have been waiting for a series like this for a while. Keep up the amazing work!

jeckWade
Автор

on one hand i kinda want to get into OSDev, on the other i know how damn hard it is to make a fully functional OS (not even graphical) that can deal with Files, and load and run programs.
but it's just one of those projects i really want to achieve at some point, and even though my target platform is more likely RISC-V or 65CE02/65816 based instead of x86, this series is hopefully still gonna be a great help in understanding the basic concepts of various tasks an OS does.

proxy
Автор

This have been cost losts of time and such a quality explanation.
Thank you.

ilhaanfodkar
Автор

I have been wanted to create an os for about 3 years this has helped me out a lot!

thefoundation
Автор

Found this on reddit on r/programming I wanted to learn something like this for a long time now. Can't wait for the next video!!

MohamedRafi-hqfj
Автор

I saw this video on reddit and am glad that I did. really cool series please continue!

vornamenachname
Автор

At first line 3 didn't make sense to me, but then I realised what it does and now it makes sense.

oscwavcommentaccount
Автор

I thought I was gonna have to google 100 questions to figure out how to make something out of nothing. But then there is this emerging from the heavens!

joshuahall
Автор

That was the best i just saw about assembly intro and making OS of your own. I was watching these kind of vdos back to back, though they were also good, but as i picked this vdo from recommended list, Awesome !. Simply nailed it. Not only short but to the point and simplified explanation. Well done!

vitalheart