A
A
AndrewKitaev2022-02-03 17:53:15
assembler
AndrewKitaev, 2022-02-03 17:53:15

How can you make your OS in pure NASM assembly and C (C++)?

I really want to make my own OS on my own kernel, bootloader, using pure x86 NASM assembler and the C programming language (And maybe C ++).

I will be very grateful if you help, for example, find some materials (from osdev.org ) or write at least something for her.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Saboteur, 2022-02-03
@saboteur_kiev

Start by writing your own bootloader so that you can boot into your program directly from a flash drive and write a greeting.
Then come up with your own file system so that you can store files and work with them.
Well, actually, the question is too general and bad. If you are new to programming, then the task is clearly not up to the task, you should first try something simpler.
If experienced, then why didn’t I find the first top links in Google?

V
Vladimir Korotenko, 2022-02-03
@firedragon

for x86 your OS? but why?
x86 is a very wide architecture, it's quite difficult to take everything into account.
Why not look towards STM32F411RE

M
Myclass, 2022-02-03
@Myclass

Do you know what, for example, a heap, a stack, how int differs from double, what is shared memory and much more, logical or physical address? You decided to take God by the horns, but do you have strength for this?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question