Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
GeniusCobyWalker wrote:Heres my OS that i'm working on: http://www.mediafire.com/?my0d80jcg31
(Extremely Basic)
Look over it and see if this helps you at all.
Trust me, you will need none of that. It's just a bunch of tutorial copy & pastes, empty files and some files unrelated to the project. And why the heck would you add a ~ after the extensions?
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
Ah, ok. Still, I can't see the reason for including those in the archive. Also, check the contents of your files... You will find something a bit... odd...
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
Image size is 109 KB instead of 'normal' 1474560 bytes.
That's actually a good thing.
gzaloprgm wrote:Am I missing something?
The use of semicolons after "}"s.
The lack of optimization in loops.
The fact that kmain() actually returns.
Why is the directory full of makefiles?
Don't even get me started on that batch file (which isn't very convinent to run either, since it has a backup thingamajig after the normal extension). "cat" isn't a Windows program... Besides, this is a bastardized version of the makefile(s). And why is there a copy of it called "build.sh~"?
The presence of bochsrc.txt (and its backup).
The fact that loader.s~ and Text.c~ are empty.
Finally, I see no reason for including 2 files which read the text "blankpadding" 100 times (didn't actually count).
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
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.
Technically, you're right, but it's considered bad practice (esp. if there's more people working on one kernel, since it may be that someone else wrote the part with the Multiboot header). As I already pointed out, "loader.S~" (and friends) is(/are) empty so I guess we'll never know if it's actually a bug ...
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
Well, firstly, we have an OSdev projects page. No need for a topic. Plus, if you want to use all of my code, you may, but don't call it your own. btw, the only reason that I'm saying that you can do it is because I'm bound by the terms of my license file, and the tutorials that I borrowed some code from.
Plus, you clicked the wrong button? And you didn't notice when it wanted a topic that something was askew?
I remember reading this in MIT's 6.828 Operating System Engineering course, some years ago. Most probably in the source code of their example OS (i.e. comment), I can't remember and I'm too lazy to check.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]