Which OS to use to design an 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.
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:Which OS to use to design an OS

Post by Candy »

Brandon has a point there... my development environment atm is my laptop, which is just plain too slow to do games on (distraction down). It also has all the tools I ever could want to use on development (comfort up). That includes sed, jove, cat, grep, dozens of compiler or compilerish tools and a bunch of my own tools and code samples. There's not much I can't find on there for programming :)

And I believe it to be one of the very few computers that has no reference to VI anywhere. If there's something that's just plain unusable it's vi.

(please, don't feed this troll, just had to mention it in terms of my personal comfort).
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

Re:Which OS to use to design an OS

Post by distantvoices »

*pulls out the troll hunting club* ];->

As I do not play games on any computer, that's no issue for me, this *distraction-by-games* argument. *gg* I rather seek distraction from os-deving by doing the cooking or do a quick web lookup or sorta ...

The point is a bit invalid insofar as it denies the usefulness of distraction. You imagine your brain spinning around a problem and the conscious is gritting teeth for not finding out the solution - get outta there, have a chat with your faery or cook something well tasting fopr the two of you or you alone - and experience the bang of suddenly knowing a solution for a given problem without having spent any conscious thoughts on it.
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re:Which OS to use to design an OS

Post by bubach »

as i don?t play much modern games (i suck on all shooting games etc..), my distracting is mostly to watch a Futurama episode that i have "only" seen about 15 times, or an old movie.. ::)
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
dh

Re:Which OS to use to design an OS

Post by dh »

Personally I use linux.

- xterm, etc. with mutipal tabs open supporting...
- VIM for some editing
- Make for a nice clean environment (example as followed)
[tt]Make _loader _boot _interface _error _debug _kernel_debug[/tt]
- Gedit (name?) for most copy, cut and paste functions
- xterm, etc with ONE tab logged in as root (with su) to do things such as /sbin/losetup and mounting. (I now do this with a makefile. Sleek and secure ;P)
- Bochs with a shortcut on the desktop for ease of use.
- Mutipal workspaces each containing a specific step. Example: workspace 1 contains sourcecode editing and compileing. workspace 2 is "packaging" (eg putting in the image". workspace 3 is cutting and pasting (gedit). workspace 4 is *drumroll* testing under bochs!!!

There you go. This is probably overkill, but it highlights organization.

If one is insisting on using windows, your going to have one hard time. sorry, it's true.
keeper

Re:Which OS to use to design an OS

Post by keeper »

beyond infinity wrote: My development environment is: KATE straight out of KDE: it offers File selector/File system browser, shell and text editor in one window - tiled,as one would say, and I usually keep all of them busy. vim is good for quickly applying changes to some config file but for editing with some comfort like cut n paste (it is possible with vim, i know) I prefer something graphical.
Yep, Kate is the best way to go. its gots a terminal, and synthax hilighting. its all a OSD programmer needs!

I use:

For OSD:

-Kate
-Gcc 3.4
-G++ 3.4
-vim for quick 10 second bug fixes
-nasm

for linux apps:

-Kdevelop
-Quanta+
keeper

Re:Which OS to use to design an OS

Post by keeper »

Linux Vs Windows! What I think should be sticky!

After looking and the preceeding posts, i have come to the conclusion that linux would be better for the course of Operating System Design and Development.

Linux has a wide verity of nice *built in* programs for the varry purpos of OSD.

All Hail, The Puenguins!
Curufir

Re:Which OS to use to design an OS

Post by Curufir »

keeper wrote: Linux has a wide verity of nice *built in* programs for the varry purpos of OSD.
Don't assume this. There are a number of Linux distros that don't come with the GNU toolchain installed. Most do, but it's just something to check after you unwrap that penguin shaped package this Christmas.

I still use Windows atm. Cygwin and a few hacked together tools of my own devious imagination (Mostly for image manipulation with my screwed up filesystem). Works pretty well and to be honest there's not much different from Linux (Still have all the GNU tools, vim etc). About the only thing I miss is tabbed terminals and a loopback device.

Main reason for not bothering with Linux is that it STILL doesn't work properly with my sound card (I've been screwing around with Linux on and off for about 6 years ever since my first LFS build). It's not a configuration problem, the driver is just screwed. Without my music I start to go insane :), so no full switch is gonna happen until that gets fixed.

***

One small thing. How come nobody has mentioned a BSD? That gives you full access to the GNU toolchain as well.
srg

Re:Which OS to use to design an OS

Post by srg »

Curufir wrote:
keeper wrote: Linux has a wide verity of nice *built in* programs for the varry purpos of OSD.
Don't assume this. There are a number of Linux distros that don't come with the GNU toolchain installed. Most do, but it's just something to check after you unwrap that penguin shaped package this Christmas.

I still use Windows atm. Cygwin and a few hacked together tools of my own devious imagination (Mostly for image manipulation with my screwed up filesystem). Works pretty well and to be honest there's not much different from Linux (Still have all the GNU tools, vim etc). About the only thing I miss is tabbed terminals and a loopback device.

Main reason for not bothering with Linux is that it STILL doesn't work properly with my sound card (I've been screwing around with Linux on and off for about 6 years ever since my first LFS build). It's not a configuration problem, the driver is just screwed. Without my music I start to go insane :), so no full switch is gonna happen until that gets fixed.

***

One small thing. How come nobody has mentioned a BSD? That gives you full access to the GNU toolchain as well.
Very true, appart from driver support, IMHO freeBSD is a nicer os to use than linux.

Anyway, Brendon's comment is very good, you could in theory do this with DOS's debug or some simple hex editor. I just like to use the tools that I feel comfortable with.

srg
keeper

Re:Which OS to use to design an OS

Post by keeper »

I stand corrected!
All *good* distros have them built in, like say, Fedora, Red hat, Suse, Gentoo, Knoppix.
AxelDominatoR

Re:Which OS to use to design an OS

Post by AxelDominatoR »

Curufir: which sound card do you have?
Curufir

Re:Which OS to use to design an OS

Post by Curufir »

AxelDominatoR wrote: Curufir: which sound card do you have?
To the best of my knowledge it's a Realtek ALC650 onboard sound chip. It came with my NForce2 board.

Problem is that sound works fine for about 2-5 minutes then start to become increasingly noisy until it's just irritating. Killing all the ALSA stuff and reloading is usually enough to get rid of the noise, but only temporarily. Guess I could screw around with the NForce2 drivers from NVidia (Which might solve the problem), but quite frankly I can't be bothered. Windows isn't irritating me enough that I'm willing to expend anything other than minimal effort on an alternative.
keeper

Re:Which OS to use to design an OS

Post by keeper »

AxelDominatoR wrote: Curufir: which sound card do you have?
i gots:

Processor: 1 x Intel Pentium 4 Extreme Edition 3.4GHz
System Memory: 1GB (installed) / 4GB (max) - DDR SDRAM - 400MHz - PC3200
Graphics Controller: AGP 8x - Nvidia GeForce FX 5950 Ultra - 256MB
Installed Video Memory: 256MB / 256MB (max)
Monitor: Flat panel display - 18" - TFT active matrix
Hard Drive: 2 x 74GB - standard - Serial ATA-150
Optical Storage: 1 x DVD?RW
Optical Storage (2nd): CD-RW
Audio: Sound card - 7.1 channel surround
OS Provided: Microsoft Windows XP Professional

and Fedora Core 3 and worx fine...but it was hell to raid the harddrives
keeper

Re:Which OS to use to design an OS

Post by keeper »

bubach wrote: as i don?t play much modern games (i suck on all shooting games etc..), my distracting is mostly to watch a Futurama episode that i have "only" seen about 15 times, or an old movie.. ::)
my main distraction is mega-tokyo, but the GNUChess is a bad distraction too.
AxelDominatoR

Re:Which OS to use to design an OS

Post by AxelDominatoR »

Curufir wrote:
AxelDominatoR wrote: Curufir: which sound card do you have?
Windows isn't irritating me enough that I'm willing to expend anything other than minimal effort on an alternative.
Well I think things that way: if I'm creating my own OS, the current one ( windows, linux, whatever ) I use, it's only a "transition" phase ;)
So really, don't matters what OS do you use, only be sure to get where do you want to arrive.

Sigh... I want a Cray-powered Amiga with my good old Workbench installed :'(
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

Re:Which OS to use to design an OS

Post by distantvoices »

@curufir: to my knowledge, the ALSA sound stuff is not developed anymore, so I'd switch to something else. (Have read some article on OSNEWS) OSS or jack might be good alternatives.
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
Post Reply