Development of my OS

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.
Post Reply
violationgames
Posts: 4
Joined: Sun Oct 22, 2006 10:07 pm

Development of my OS

Post by violationgames »

Hello all. I am looking for an operating system to base my OS on. I don't want something big like Minix or Syllable but something smaller, with a GUI that I can expand on. ASM is okay, but C++ is better.
------------------------
BlueFeather Operating System. Comming Soon.
User avatar
bluecode
Member
Member
Posts: 202
Joined: Wed Nov 17, 2004 12:00 am
Location: Germany
Contact:

Re: Development of my OS

Post by bluecode »

Visoposys, monolithic, C++
Spoon, microkernel, C++
They both have a gui.
violationgames
Posts: 4
Joined: Sun Oct 22, 2006 10:07 pm

Post by violationgames »

Okay, do you know how to boot spoon inside Bochs or Qemu?
------------------------
BlueFeather Operating System. Comming Soon.
User avatar
gaf
Member
Member
Posts: 349
Joined: Thu Oct 21, 2004 11:00 pm
Location: Munich, Germany

Post by gaf »

Get the floppy image and extract it to some directory (/spoon/kernel.img)


On qemu you just have to pass the path to your image as a parameter:

Code: Select all

qemu -fda /spoon/kernel.img -net none -m 16
For bochs you'll have to create a bochsrc file in /usr/local/user/ (linux) or the directory of your bochs file (windows):

Code: Select all

romimage: file=/usr/local/share/bochs/BIOS-bochs-latest, address=0xf0000
vgaromimage: file=/usr/local/share/bochs/VGABIOS-elpin-2.40

megs: 16

floppya: 1_44=/spoon/kernel.img, status=inserted
boot: floppy

log: /home/user/bin/bochs/bochsout
regard,
gaf
durand
Member
Member
Posts: 193
Joined: Wed Dec 21, 2005 12:00 am
Location: South Africa
Contact:

Post by durand »

The spoon code base is currently under a bit of heavy development. I wouldn't feel comfortable saying that it has a GUI at the moment - because it doesn't. The screenshots and binary images are kinda old. :) So, as much I don't like to do it, I don't recommend using the system as a base for your new OS at the moment.

But... it's going to be UNIX source compatible soon, and almost is already. The other examples you gave (Minix, Syllable) and some others (Haiku, Linux, Solaris, *bsd) all have limited or full posix and unix source compatibility already. Why don't you rather find a portable GUI library and design your system based on that at first? I've kinda had my eye on the FLTK toolkit (http://www.fltk.org/). It seems really portable and looks okay.

Decide on a nice, portable GUI toolkit. Design your filesystem layout. Start to build your applications against the GUI. Then you can move the system from OS to OS a bit later if you change your mind about the initial OS you've chosen....

That's kinda what I'm aiming for. I don't know what your aims are or how much you want to work for them.
violationgames
Posts: 4
Joined: Sun Oct 22, 2006 10:07 pm

Post by violationgames »

Thank you everyone for your help.
------------------------
BlueFeather Operating System. Comming Soon.
violationgames
Posts: 4
Joined: Sun Oct 22, 2006 10:07 pm

Post by violationgames »

I don't really under what fltk is? Can you give more of an explanation please. I'm kinda new at this.
------------------------
BlueFeather Operating System. Comming Soon.
durand
Member
Member
Posts: 193
Joined: Wed Dec 21, 2005 12:00 am
Location: South Africa
Contact:

Post by durand »

It's just a GUI toolkit - like QT for KDE or GTK for gnome. It's just that it is small and easily portable so it was a nice example of what I meant. If you don't want to write your own GUI, you can use a portable GUI toolkit and a posix/unix/common api code base and then the OS can be changed with little problems if you want to move around a little bit later.
Post Reply