OSDev.org

The Place to Start for Operating System Developers
It is currently Sat Apr 27, 2024 1:31 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Finding resources for modern systems
PostPosted: Mon Jan 15, 2024 12:07 pm 
Offline

Joined: Mon Jan 15, 2024 11:48 am
Posts: 2
I want to develop an operating system and have only recently gotten into the field. I must say I really enjoy it, but most resources, be it on this wiki or in general, seem to refer to the legacy BIOS protocol.
I've completed a few tutorials and have gotten a grip on the basics. Now, I would like to develop a small OS that I could expand over time into something useful. I've started out, but I'm currently having trouble finding resources.
There are a lot of tutorials and research papers writing bootloaders, kernels and all that stuff for older systems using BIOS instead of UEFI and the 32-bit x86 architecture instead of the 64-bit x86_64 architecture.
Am I missing something? Maybe I haven't searched well enough. Maybe I should work harder and try and figure all that stuff out by myself? Am I just lazy?
I'm just starting out, so excuse me if I appear stupid or lazy.

Thank you in advance!


Top
 Profile  
 
 Post subject: Re: Finding resources for modern systems
PostPosted: Mon Jan 15, 2024 11:45 pm 
Offline

Joined: Wed Nov 29, 2023 4:47 am
Posts: 3
Hey! :D

To clarify your point, I would like to suggest not starting with something too ambitious. Instead of trying to have a 'useful' operating system (meaning that you innovate), you should probably start by having a working operating system.

Regarding resources/tutorials, I think you should first clarify what you are looking for.
Here are some hints:
- What is the language you want to use (you have to be proficient with it) ?
- What architecture do you initially target ?
- What core features do you want to implement ? I don't think it's a good idea to be UEFI compliant initially.


Top
 Profile  
 
 Post subject: Re: Finding resources for modern systems
PostPosted: Tue Jan 16, 2024 3:19 am 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5146
RedFox wrote:
most resources, be it on this wiki or in general, seem to refer to the legacy BIOS protocol.

Outside of bootloaders, you don't need to interact with the firmware at all, so for the most part you can pretend "BIOS" is equivalent to "UEFI" and ignore both. Unfortunately, some bootloaders seem to think VGA is a good idea, so you might have to specifically ask for a linear framebuffer to completely get away from the firmware. Of course, you're not writing a bootloader, so you don't have to worry about firmware. Right?

RedFox wrote:
There are a lot of tutorials and research papers writing bootloaders, kernels and all that stuff for older systems using BIOS instead of UEFI and the 32-bit x86 architecture instead of the 64-bit x86_64 architecture.

Beware: most tutorials are garbage.

As I already mentioned, the differences between BIOS and UEFI are mostly irrelevant. The differences between 32-bit and 64-bit are more substantial, but they're still the same CPU, so you can at least learn the basic concepts from any 32-bit-specific resource and then use the CPU manuals (and ABI manuals!) to learn how 64-bit is different.


Top
 Profile  
 
 Post subject: Re: Finding resources for modern systems
PostPosted: Tue Jan 16, 2024 8:33 am 
Offline

Joined: Mon Jan 15, 2024 11:48 am
Posts: 2
I think I just simply got confused...
I started writing my own stuff on top of the Meaty Skeleton https://wiki.osdev.org/Meaty_Skeleton project.
There I confused the bootstrap assembly with the bootloader.
Also it used legacy grub and I had grub2 on my system, resulting in grub not creating the image and failing. I figured out that my virtual machine's BIOS did the loading for me, which made me further believe the boostrap assembly being the bootloader.
I don't really want to write my own bootloader for now, and I think I'd be fine with something simple and EFI-capable like GRUB2, ELILO or something like that.
Thank you for clarifying everything, I'll research bootloaders to choose one and will certainly look into framebuffers.


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 24 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