This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
To spice things up a little, the tutorials demo creates a (very!) basic command line interface (CLI). Because of this, it is also the first interactive demo.
Please let me know what you think of it, possible factual errors, etc. Any and all comments welcome.
Now lets all get back to our OS...
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
All of your tutorials are very good. Lots of information, lots of code, lots of nice pictures. My only complaint is that there are no links in between tutorials, a Next and Previous link would be nice.
One thing I've noticed in the two tutorials I've glanced through are several common spelling mistakes. I don't have time to point them out right now, but later I can proofread them and see what I come across...
Judging by a working screenshot, I'd say the answer is "yes."
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
Firestryke31 wrote:One thing I've noticed in the two tutorials I've glanced through are several common spelling mistakes.
I agree it's rather annoying. A simple spelling checker could help. Just copy/paste in Word (yes, I know it'll flag all the technical terms, but it will also flag the non-technical ones).
The page on scancodes is a bit confusing. It has a header saying "Original XT Scan Code Set", but below it it lists extended keys (starting with 0xe0), ACPI and Windows keys, which were of course not present on an XT.
EDIT: It is also not mentioned clearly that a keyboard can use different scancode sets, and that it is possible to set them. I also do not agree with "modern keyboards" using untranslated scan code set 2 instead of translated set 2. See here for a more thorough explanation.
The page on scancodes is a bit confusing. It has a header saying "Original XT Scan Code Set", but below it it lists extended keys (starting with 0xe0), ACPI and Windows keys, which were of course not present on an XT.
Hm, good point. I will have to change that.
EDIT: It is also not mentioned clearly that a keyboard can use different scancode sets, and that it is possible to set them. I also do not agree with "modern keyboards" using untranslated scan code set 2 instead of translated set 2.
Actually it does describe that a keyboard can use different scan code sets, and how to set them. I will take a look at the link when I get back from work.
Regarding the spelling errors - please do not notify me of the errors. All spelling errors are planned to be fixed in the next series revision. I have been notified of it alot of times and is on my to do list
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}