Hi,
nullplan wrote:glauxosdever wrote:
- It's been suggested before that UEFI made the barrier to entry higher because of the lack of resources. I suspect this is true since, when I was trying to return to OSDev two months ago by doing a UEFI bootloader, I gave up due to the lack of time that was needed to look up everything needed.
It's weird. With BIOS, we only had RBIL to look up things. Every BIOS worked a bit differently, and nothing was ever enforced, you just kind of had to hope that "int 13, function 2" means the same thing to the BIOS as it means to you. Now you have a public spec, and an entire SDK, and
now you complain about a lack of resources? I don't get it.
Indeed, having a public spec that forces implementations to behave the same way makes things more predictable and easier. On the other side, there is a lot of example code for various BIOS and other legacy stuff (not saying it's always of good quality though). Reading from the disk using INT 0x13, enabling the A20 line, switching to protected mode and others have been nicely documented on the wiki and we have a lot of example code both on the wiki and elsewhere. For UEFI stuff, the only example code I have found on the wiki are the Bare Bones tutorials and Uefi.inc (which is questionable). Around the Internet, there sure is some more stuff, but probably a lot less than for BIOS. But I'd guess it's just a reflection of the falling interest in OS development. Less people are interested in OS development these days, thus less people write about UEFI now than did about BIOS earlier.
Of course, however, I'm not saying there should be example code for everything, but it can often be useful when dealing with something complex.
glauxosdever wrote:
- There are only three "relevant" desktop OSes these days, which makes it look like "normal" people can't write one. I remember some years ago looking at a market share graph that also included some BSD variants. Nowadays, even Linux has declined.
Yeah. The desktop PC has gotten less relevant, now that all the normies can just use phones and tablets for all their Internet surfing needs. It is still relevant for business, but the market still has shrunk.
That's true, however, I don't see many notable OSes for phones and tablets either.
glauxosdever wrote:I'll probably try to write a good OS at this point to make more people interested in OSDev but, is there anything else that can be done to restore OSDev to its previous state?
Besides making people develop OSes? The optimist in me says this is a waveform, interest waned in the past, but it will come back at some point. Possibly. But the cynic in me says maybe this hobby is just destined to fade away. Either way, I won't try to predict the future.
Of course, making people develop OSes is the point. But in order for people to be interested in this hobby, I think the following are needed:
- Some OSes that are interesting in some respect and have some online coverage. I was reading earlier today an article from 2008, about several alternative OSes that one could try. I feel like most of them have been forgotten by now. When I joined this community, Sortix and ToaruOS were often spoken about. I also spent a lot of time searching older posts. I remember seeing posts about Clicker, DexOS, MikeOS and others. Now I think, among these, ToaruOS is the only active OS and, to be honest, I don't see anything taking the place of the other ones.
- A slightly lowered entry barrier. I think that people some years ago were more patient than now, myself included. I can't imagine myself in the present time spending three months on a bad-quality EHCI driver, like I did in 2015, although that may be a reflection of me not having now as much time as I did back then.
- Anything else?
To fix the problem described in the first point, I started finding some free time to do some stuff, even if it's just the OS prerequisites (for now, a Version Control System). Hopefully, my OS could be interesting enough. As for the second point, when I get to the point of doing the actual OS, I'll try to contribute as much as possible to the wiki.
I hope this explains my stance on the matter.
Regards,
glauxosdever