Page 12 of 17
Re:Where do i start??
Posted: Mon Nov 25, 2002 1:49 am
by Berserk
NOTE: I am using an example BootSector & Kernel, after i make this function i will make my own.
Ciao
Re:Where do i start??
Posted: Mon Nov 25, 2002 10:25 am
by WHOisTHISdood
okay, i have been reading this guys berserks posts and he seems like a two year old asking why the skys blue and then wanting an example so he can make it green.
if you want to learn something, search for it, probably a dozen people told you that, and you say you did and then they give you tutorials you missed on google. I'd say learn how to search.
i use to know a kid like you in one of my old computer science classes, he would pay kids to do his labs... hmmm
and i got a question for you, is this OS you're making for a class or homework or something? I have been attempting to make one for the past 2 years and i have a basic input/output system and just now have a console i can call good. There is no way you're going to just jump into graphics and switching from PM to RM and back and forth and jmp to the moon or whatever you wanted to do, in what seems 3 weeks? Please correct me if i'm wrong.
i'm out.
Re:Where do i start??
Posted: Mon Nov 25, 2002 12:42 pm
by Pype.Clicker
okay, guys, let's give up with "primordial soup" and other "2 years old" ... the question about real/protected quicksiwtch is pertinent as the video memory is ...
However, as long as bersek don't put a few week on the study of the architecture (like what the stack is and how it works, etc. i don't mean learn the whole opcode table ... just the basic concepts of addressing, stacking, function calls and parameters passing), ...he's working on, i'm afraid the answer he'll receive will not help him in any way.
... though they might help someone else ... or at least grow our knowledge base
Hi Berserk!
Posted: Mon Nov 25, 2002 8:20 pm
by tfurtado
Hi Berserk!
I liked your idea of making an OS and I want to start one too.
Please, send me a mail message, so we can communicate better.
(send me in the e-mail which languages you can write and read).
See you...
;D by Acid Demon
Re:Where do i start??
Posted: Mon Nov 25, 2002 8:25 pm
by Tom
What idea was that?
I'm already making my OS:
www.sourceforge.net/projects/fritzos
Re:Where do i start??
Posted: Mon Nov 25, 2002 9:35 pm
by Curufir
Ok, I admit that the "primordial soup" post was maybe taking things a bit far...maybe
Anyhow, in penance, here's a link to some code that contains a pmode->real mode switch (Actually big real mode I think so you'll probably have to fiddle with it a bit to get the interrupts working if you loaded an IDT for pmode).
http://www.nondot.org/sabre/os/files/ProtectedMode/SIMPL_PM.asm
Curufir
Re:Where do i start??
Posted: Wed Nov 27, 2002 6:38 am
by Berserk
I don't know what to do anymore, i don't think i have asked for code to be done for me, ohhh well.
If anybody can help with this function it will be very appreciated ;D
I'll be on this forum in about 20 hours, just so you know, ciao
And sorry if you think i am asking for code, sorry. And for anything else or anything bad i have said.
Ciao
Re:Where do i start??
Posted: Wed Nov 27, 2002 7:45 pm
by PlayOS
Berserk,
People here don't want to be rude to you or to not help you, in fact all I have seen is people trying to help you and you seem to not understand the answers given, can I ask you a couple of questions:
1) How long have you been programming?
2) What languages do you know?
3) How long have you been learning each language?
3) What are your goals in programming?
Also, off topic, where are you from, and how old are you?
Also, you have been asking for code, if you re-read your posts you are saying 'all I want is an example' this is asking for code, the things you are asking for cannot be easily given as examples, things like v86 mode and PMode -> RMode -> PMode are very complex procedures that require a fair bit of knowledge, you will not understand them, even if you got some fully functioning code, I haven't bothered to get into yet (except for unreal mode, very different to v86 though), because while I believe that we all have a good chance of learning, things like this need to come in an order, beginners stuff, moderate stuff, advanced stuff and then really advanced stuff, you cannot expect to go beginner to advanced, it is just not possible, unless your einstein or something.
Anyway, just thought I'd let you know. You can write your answers to those questions here if you want, but the first 4 were for you to answer and think about. I mean you have to ask yourself, do you really think that you are up to the task of creating an OS? You seem to be very new to programming.
Re:Where do i start??
Posted: Fri Nov 29, 2002 8:46 pm
by Berserk
Hey,
First of all i would like to say that i have started a BootSector, and i will get back to this function.
Im having some problems loading a Second Stage loader in Real Mode, i know somebody has tried to help me out, but i can not seem to get it to work. How do i jump to the second stage loader in Real Mode??
As for your questions, I know C/C++, and i know basic nasm assembler.
It doesn't matter how long i have benn using C/C++, it's long enough, besides, knowledge of Windows C/C++ functions is useless. So it doesn't really matter how long i have been programming.
I live in Sydney, NSW, Australia. But i come from Croatia. As for how old am i, it doesn't matter. I don't know how old most of you are, and i personally don't care. It doesn't matter.
Ciao
P.S. I am sorry if i have been rude to anybody, i want you'se to know that i don't mean anything bad or rude that i say, if i go overboard, just tell me ;D
Re:Where do i start??
Posted: Fri Nov 29, 2002 11:06 pm
by PlayOS
Ok, but I never mentioned windows, and c\c++ functions have nothing dependant on windows, in fact how well you know your languages is going to play a big roll in how well you code an OS.
I think that you have jumped head first into a project that you are not capable of completing. You obviously don't understand how c or c++ works if you think that they are tied to windows in anyway, in fact it is the opposite way around, windows is dependant upon these langauges.
And as for the questions, you are obviously very touchy when it comes to your programming skills, you need not be because they are obvious.
i want you'se to know that i don't mean anything bad or rude that i say
Well then why say it?? ???
if i go overboard, just tell me
Many people have tried and you claim to not know what you are doing wrong.
I am sorry for being blunt but you really have a lot to learn. By the way, it is your responses that actually prompted me to ask you questions about your age and programming skills.
Re:Where do i start??
Posted: Sat Nov 30, 2002 5:35 am
by Berserk
Hey,
I know i know, i was just saying that knowledge of Windows C/C++ librarys and functions is useless in os dev.
Correct me if i'm wrong?
Re:Where do i start??
Posted: Sat Nov 30, 2002 7:48 am
by Tim
It's very useful indeed. In fact, the better your knowledge of various operating systems (including Windows), the better your own OS development will be. I can recommend picking up a copy of Inside Windows 2000 (I think I mentioned it in the book recommendations thread); you can learn a lot from there.
What are the steps to build an OS?
Posted: Sun Dec 01, 2002 6:17 pm
by tfurtado
Hello!
I'm here again and now I want to expose some of my ideas.
I want to create a small OS, just for increasing my programming capabilities. I want to know the steps of building a OS. First the Kernel or the bootloader? I can use functions such as 'printf' in the kernel? Or I can use only C-native functions?
Thanks for any help.
P.S.: Berserk, contact me trough e-mail (
[email protected]), so we can discuss and change ideias.
See you...
by Acid Demon
Re:Where do i start??
Posted: Sun Dec 01, 2002 7:37 pm
by Tom
I think you should use someone elses bootloader, untill you want to do special stuff. I have a simple bootloader, with a second stage loader.
Steps: Use someone elses bootloader->Make your kernel->You cannot use the printf in stdio.h. you need to make your own stdio.h and printf functions. I can make you some printf functions if you would like.
printf Functions
Posted: Sun Dec 01, 2002 7:52 pm
by tfurtado
Hi Tom!
Thanks for your interest!
I would like if you could give me tips on making fully functional printf functions. I tried to make one mixing C and ASM, but it didn't work.
I don't want an already made code. In the last case, if I can't do it myself, I'll ask for your help, ok?
Please, enter in contact trhough my e-mail address. I should by at least a week out, so send sugestions and tips to my e-mail, ok?
Thanks a lot for helping me!