Page 2 of 2

Re: KixOS

Posted: Mon Nov 08, 2004 12:00 am
by Kimm
it is in ELF format (did check it), but what do you meen by compiling it under cygwin? And I fel rey stubid when asking... Multiboot signature?

Re: KixOS

Posted: Mon Nov 08, 2004 12:00 am
by [AlAdDiN]
if you want to use GRUB take a look here http://www.mega-tokyo.com/osfaq2/index. ... ca0139f859

there is a detailed tutorial about grub

Re: KixOS

Posted: Mon Nov 08, 2004 12:00 am
by Kimm
well, that was a good tutorial but it didnt realy say much about Multibooting. What is it? and where can I find a tutorial on it (if you know one)

Re: KixOS

Posted: Mon Nov 08, 2004 12:00 am
by cipek
You can try on www.nondot.org/sabre/os
Maybe you find here something about Multibooting. Or try on www.osdever.net

Re: KixOS

Posted: Mon Nov 08, 2004 12:00 am
by rexlunae
Kimm wrote:well, that was a good tutorial but it didnt realy say much about Multibooting. What is it? and where can I find a tutorial on it (if you know one)
That link wouldn't be helpful. try here:
<a href="http://www.gnu.org/software/grub/manual/multiboot/multiboot.html">http://www.gnu.org/software/grub/manual/multiboot/multiboot.html
</a>

The multiboot header just gives GRUB some info on your OS's requirements.
Kimm wrote:And I fel rey stubid when asking... Multiboot signature?
Don't feel stupid for this, the signature is one of the easy-to-overlook things that GRUB uses. Confused me for a while.

Re: KixOS

Posted: Thu Nov 11, 2004 12:00 am
by Kimm
well, that turorial said a bit more, but I still dont get it, they ceep displaying loads of numbers, what the heck am I supose to do with those?

Re: KixOS

Posted: Thu Nov 11, 2004 12:00 am
by rexlunae
Kimm wrote:well, that turorial said a bit more, but I still dont get it, they ceep displaying loads of numbers, what the heck am I supose to do with those?
You're going to have to be a lot more specific. What is displaying a lot of numbers and when.

Re: KixOS

Posted: Fri Nov 12, 2004 12:00 am
by Kimm
I am talking about in the tutorial, take this for example
Offset Type Field Name Note
0 u32 magic required
4 u32 flags required
8 u32 checksum required
12 u32 header_addr if flags[16] is set
16 u32 load_addr if flags[16] is set
20 u32 load_end_addr if flags[16] is set
24 u32 bss_end_addr if flags[16] is set
28 u32 entry_addr if flags[16] is set
32 u32 mode_type if flags[2] is set
36 u32 width if flags[2] is set
40 u32 height if flags[2] is set
44 u32 depth if flags[2] is set

Re: KixOS

Posted: Fri Nov 12, 2004 12:00 am
by Legend
If you link to an ELF executable, for your first steps you basically only need the first three fields.

magic => The magic number of a multiboot header, used to find the header in the file. got to be at a 4 aligned address and in the first 8kb of the file afaik!
flags => Well, flags that you want to tell GRUB, basically in most cases you want memory information.
checksum => The checksum of these 8 bytes, it is described in the docs how to compute it!

Re: KixOS

Posted: Sat Nov 13, 2004 12:00 am
by Kimm
well... where shoud i put it??? should I add like: #define MAGIC 4

or should I give it as a flag when compiling or what???

could you give me an example of how I use it? :)

Re: KixOS

Posted: Sun Dec 05, 2004 12:00 am
by Kimm
http://www.area51central.com/Temp/KixOS.tar.gz

could anyone download it and look at it again?
I have made some changes to it (Multiboot header added, some changes in compiling), but I still cant make it boot. I still have make.out in there and there are some changes made to it. If you wounder about how I compile you can look in Make.cpp.

Hope you can help me!

Re: KixOS

Posted: Fri May 27, 2005 11:00 pm
by ZOSdever
Are you still deving this os or have you given in? because the last post is quite old.

Re: KixOS

Posted: Sun Jun 26, 2005 11:00 pm
by DruG5t0r3
Well...that kernel kicks @$$ (sarcastic)

Code: Select all

#include "include/kstdio.h"
#include "include/sysbase.h"

int main()
{
   kclear();
   printk("Hello World", 0, 1);

return 0;
}
[/code]