|
Go for books by
Andrew S Tanenbaum
It is *the* book on this subject. I cannot praise it enough.
This guy wanted his students to learn this subject so bad that he wrote an operating system from scratch (Minix, the actual birthplace of Linux).
|
|
|
|
|
If you are looking at ESP8266 then Linux is too big by far. I'd suggest looking at FreeRTOS. It is not a full featured OS but it does have a scheduler that you have a hope of understanding, code for task switching and the bonus of exploring a real-time OS, and it fits on a ESP8266.
|
|
|
|
|
I've been working through a course on Udemy called Developing a Multithreaded Kernel From Scratch by Daniel McCarthy. This course is kind of a walkthrough and you will have to put in work on the side to fully understand some of the topics. Develop a Multithreaded Kernel From Scratch. Much of the material seems to come from OSDev, but for me that is okay. I'm fine with repackaging content so I can code along because more important than reading about stuff is doing stuff. When I want to know how something works in more detail I can go read more details on OSDev and other sites.
I think this is my first interaction on Code Project. I've been lurking for a couple decades I'd imagine. This topic is something that I think is so beneficial these days I was compelled to provide more information. If you're familiar with the Udemy game then play it and wait for course to be lower price. I don't know or am not affiliated with Daniel, but I've enjoyed a couple of his walkthrough style courses.
“The purpose of thinking is to let the ideas die instead of us dying.” - Alfred Whitehead
|
|
|
|
|
Hi,
Go check out grc.com.
The entire site is written in assembler and does provide a means of getting in to assembler.
That will get you familiar with a language that works the bits and bytes directly.
Regards,
Cegarman
document code? If it's not intuitive, you're in the wrong field
|
|
|
|
|
|
I started by learning about IBM OS/360 and IBM System\370 Principles of Operation.
Everthing was based on Linked Lists.
If modern processors included certain features that were used in these machines, we would not have nearly as many hacking successes.
|
|
|
|
|
You're going to have to do some reading on your own ... a superficial knowledge of a complex subject will mean you won't understand much of what you are told to do. Things like: Operating Systems Fundamentals.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
You could look at uC/OS by Jean Labrosse. It's a small real time kernel developed back in the early 90's. He's got a few books out on uC/OS versions (version 1, 2 and 3). I've got the original book and it explains how things work pretty well. I actually used uC/OS in a project at work way back when. It pretty much got me started using RTOSes.
|
|
|
|
|
You already have a lot of indications on how to do it.
I just say... tough topic, brave intention. Go for it, work hard and good luck
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Here's a reimplementation of Unix V. 6 for modern hardware that was made precisely for the learning of operating system design. Called XV6, it's all in C so it's very simple.
6.1810 / Fall 2022[^]
Some reference:
xv6 - Wikipedia[^]
|
|
|
|
|
If there was an obscure question that had one (wrong) answer, and people (somehow) started asking that same question, would AI respond with the wrong answer until it became "the" answer?
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
I tried asking ChatGPT this, but it's at capacity right now.
Jeremy Falcon
|
|
|
|
|
Jeremy Falcon wrote: it's at capacity right now.
Too many school kids getting the wrong answer ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Jeremy Falcon wrote: I tried asking ChatGPT this, but it's at capacity right now. It said this:
Quote: No, AI would not respond with the wrong answer until it became "the" answer. AI systems are designed to provide accurate and reliable answers, and they would not be programmed to provide wrong answers. AI systems are programmed to use algorithms to analyze data and provide the most accurate answer possible. Heh, and I believe it? Nope!
|
|
|
|
|
It’s good at sales at least. But we know how that goes. =D
Jeremy Falcon
|
|
|
|
|
Yes. But so do humans, and not just for obscure stuff.
40 countries help Turkey; 3 countries help Syria.
What do you think "religion" is? Ghosts, Angels?
Ask ChatGPT for me which religion is "correct" and post me the answer If you want a real riot, ask it who blew up the gaslines to Germany.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
"There is no definitive answer to this question."
|
|
|
|
|
Ask ChatGPT "Who run Barter Town?"
|
|
|
|
|
|
|
The next war, is fought by developers and hardware experts. And all it need to do is blow up one factory, and we loose 10 years of development.
ONE factory, to throw us back 10 years.
ASML.
Right now they run Barter town, but then, we already know how that one ends
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
A definite maybe?
PartsBin an Electronics Part Organizer - An updated version available!
JaxCoder.com
|
|
|
|
|
Or something about goats.
|
|
|
|
|
+++++ Out of cheese error +++++
(Hex, Discworld)
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Gerry Schmitz wrote: If there was an obscure question that had one (wrong) answer,...
Addressing that seriously...no.
If it is that obscure then "right" is no longer meaningful because no one would ask it. And no one would care if it was wrong anyways.
|
|
|
|