Page 1 of 1
Development of my OS
Posted: Mon Oct 23, 2006 9:42 pm
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.
Re: Development of my OS
Posted: Tue Oct 24, 2006 5:49 am
by bluecode
Visoposys, monolithic, C++
Spoon, microkernel, C++
They both have a gui.
Posted: Tue Oct 24, 2006 8:25 am
by violationgames
Okay, do you know how to boot spoon inside Bochs or Qemu?
Posted: Tue Oct 24, 2006 8:52 am
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
Posted: Tue Oct 24, 2006 3:29 pm
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.
Posted: Tue Oct 24, 2006 4:38 pm
by violationgames
Thank you everyone for your help.
Posted: Tue Oct 24, 2006 4:46 pm
by violationgames
I don't really under what fltk is? Can you give more of an explanation please. I'm kinda new at this.
Posted: Wed Oct 25, 2006 2:07 am
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.