KixOS

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
Kimm
Member
Member
Posts: 50
Joined: Wed Nov 03, 2004 12:00 am
Location: Sweden

Re: KixOS

Post 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?
[AlAdDiN]
Member
Member
Posts: 107
Joined: Fri Oct 22, 2004 11:00 pm
Contact:

Re: KixOS

Post 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
-----------------------
There are 10 types of people in this world... those that understand binary, and those that don't.
Kimm
Member
Member
Posts: 50
Joined: Wed Nov 03, 2004 12:00 am
Location: Sweden

Re: KixOS

Post 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)
cipek
Member
Member
Posts: 43
Joined: Mon Oct 25, 2004 11:00 pm
Location: Poland

Re: KixOS

Post by cipek »

You can try on www.nondot.org/sabre/os
Maybe you find here something about Multibooting. Or try on www.osdever.net
rexlunae
Member
Member
Posts: 134
Joined: Sun Oct 24, 2004 11:00 pm
Location: North Dakota, where the buffalo roam

Re: KixOS

Post 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.
Kimm
Member
Member
Posts: 50
Joined: Wed Nov 03, 2004 12:00 am
Location: Sweden

Re: KixOS

Post 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?
rexlunae
Member
Member
Posts: 134
Joined: Sun Oct 24, 2004 11:00 pm
Location: North Dakota, where the buffalo roam

Re: KixOS

Post 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.
Kimm
Member
Member
Posts: 50
Joined: Wed Nov 03, 2004 12:00 am
Location: Sweden

Re: KixOS

Post 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
Legend
Member
Member
Posts: 195
Joined: Tue Nov 02, 2004 12:00 am
Contact:

Re: KixOS

Post 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!
*post*
Kimm
Member
Member
Posts: 50
Joined: Wed Nov 03, 2004 12:00 am
Location: Sweden

Re: KixOS

Post 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? :)
Kimm
Member
Member
Posts: 50
Joined: Wed Nov 03, 2004 12:00 am
Location: Sweden

Re: KixOS

Post 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!
ZOSdever
Member
Member
Posts: 79
Joined: Thu Mar 31, 2005 12:00 am
Contact:

Re: KixOS

Post by ZOSdever »

Are you still deving this os or have you given in? because the last post is quite old.
DruG5t0r3
Member
Member
Posts: 29
Joined: Thu Mar 24, 2005 12:00 am
Contact:

Re: KixOS

Post 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]
<h2>-OSdev addict</h2>
Post Reply