Anyone thinking of restarting their OS? Starting afresh?

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Anyone thinking of restarting their OS? Starting afresh?

Post by JamesM »

I've been thinking about it. This would make the third restart and I'm determined to make it better than ever!

If anyone else is thinking about restarting their OS project (sorry, I'm really not interested in first-time coders) and fancied working together on a project, please post here or PM me and let me know!

I'm not interested in throwing my ideas upon you, in fact I have no plan whatsoever as to the design of my restart so if someone wanted to join forces we would come up with a plan together, taking both our viewpoints into account.

Just an idea. Anyone interested?

JamesM
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post by AJ »

I know this is not exactly what you are looking for but how about this for an idea?

I have partially created CBoot - it's a second stage boot loader which, at the moment, takes over from GRUB and launches a 32 bit or 64 bit kernel, passing over an information structure (in much the same way as GRUB). I'll upload the latest version to my web site later today (the one on there at the moment is months out of date. CBoot uses v86 mode to switch video modes and accepts a large variety of command line parameters controlling output video mode and debug options - there is even a command line console which pops up if there is a kernel load error.

CBoot can also directly load 32 and 64 bit elf kernels directly to higher memory before it launches them (my Kernel is linked at 0xFFFFF00000000000 in 48 bit virtual address space).

I would be very interested in re-starting CBoot to make it more 'customisable', and I would love to lose the condition that it must currently be loaded by a multiboot compliant loader (i.e. make it self standing). I would like the output status to be much better designed and to have better documentation, so that it is actually a real contender to be a GRUB replacement for modern kernels.

If you would be interested in starting off by doing something like that before you actually tackle your kernel, I'll PM you the current binary and CBoot reference document so that you can see it in action.

I should warn you that I am completely self-taught and am not an IT professional, so the coding style would pretty much be in your hands if you wanted

Cheers,
Adam
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post by AJ »

OK - CBoot latest version is now downloadable from my site (link below - see 'Downloads' on the side bar) and the CBoot reference document is also downloadable from the same location (as a linked .rtf).

For CBoot, you can either download the binary file and then manually edit your GRUB menu.cfg or download the full disk image with sample kernel(suggested). At present, I have commented the kernel out of menu.cfg so that CBoot throws an error and brings up it's (limited) debug console. You can re-enable the kernel loading by un-commenting this line from the menu.cfg file.

If you enable the kernel in this way, changing -cli:error to -cli:postload in menu.cfg will bring up the debug console anyway. You will then notice the additional command 'exit', which leaves the CLI and continues attempting to boot the kernel. Of course, changig back to -cli:error means that CBoot will just go straight on to loading the kernel silently.

Cheers,
Adam
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

Hi Adam,

Yes, you're right, that's not quite what I was after. I'm really more interested in the 'higher up bits', or the higher level stuff than bootloading, and making them more efficient (i.e. tasking etc). Sorry, but I don't think a bootloader is something I want to go into just at this moment :oops:

As a sidenote, I'm looking to work in C/C++ with a preexisting bootloader (e.g. GRUB).
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post by AJ »

No problems!
JamesM wrote: As a sidenote, I'm looking to work in C/C++ with a preexisting bootloader (e.g. GRUB).
How about using CBoot? :wink:

Cheers,
Adam
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

;) Possibly!
User avatar
ucosty
Member
Member
Posts: 271
Joined: Tue Aug 08, 2006 7:43 am
Location: Sydney, Australia

Re: Anyone thinking of restarting their OS? Starting afresh?

Post by ucosty »

JamesM wrote:I've been thinking about it. This would make the third restart and I'm determined to make it better than ever!
Out of curiosity are you restarting your work becuase aren't interersted in your original goals, you have hit a roadblock in development caused by your design or because you have learned something (or lots of things) that make your original design seem broken/unworkable?
The cake is a lie | rackbits.com
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

The other option, which is because I feel that since starting my current development I've learned a lot more about design and testing, and I feel that I can do a better job in a shorter time.
Tyler
Member
Member
Posts: 514
Joined: Tue Nov 07, 2006 7:37 am
Location: York, England

Post by Tyler »

I used to have a serious issue with restarting. If a single Source file seemed badly written, my folder structure didn't suit me anymore or i thought i could rewrite anything more efficiently i'd go back to the drawing board. My last project actually had me swallow my pride and just keep on trucking, though, the design was of course, perfect.

Unfortunately the need never completely disapears and i would like to start again. Especially considering both the other developers have disapeared, one to the Army, and the other to America, and i am never one to write code that only takes one person. Could be fun to discuss ideas with someone who didn't learn OSdev from me at the begining of the project.

I hope you have some idea of direction though :-P, feel free to message me about it.
User avatar
packet50071
Member
Member
Posts: 43
Joined: Sat Dec 22, 2007 2:27 pm
Location: canada

Post by packet50071 »

I am not a new coder but a new os dever ;)
I am restarting my OS cause I am gona take a different take at it

i want my cpu to control real hardwares ( like a robot ) - it takes in no input for starting - no keyboard no mouse - no monitor. but if the cpu is connected to one of those thing it will take advantage of those thing in any way possible (that is using it in a way that its not commonly used.)

So if u want to join me pm me ;)
Technology is here to make things easier not harder.
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

Sorry, but I'm looking for developers with OS experience as well.

I'm currently starting a project codenamed "pedigree" (the first beer we could agree was awesome), with Tyler.

If anyone else has experience and would like a hand in both the design and implementation stages, please do reply.
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

The OS is now being done by Myself, Tyler, and bluecode.
User avatar
crazygray1
Member
Member
Posts: 168
Joined: Thu Nov 22, 2007 7:18 pm
Location: USA,Hawaii,Honolulu(Seriously)

Post by crazygray1 »

I just restarted in asm. I realized how badly I sucked at C when none of my code would compile. I'll just stick with what I'm good at.
Codname: Cipher
Working On: Design Doc(CFFS file system)
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Post by inflater »

I haven't developed PortixOS now. Just had my notes on the school report closed for this half-year (one B and all other As, note that F doesn't exist here), and the second half-year is not very much important. Plus, first state exams will come in 6. February. I just hope I the "selection interview for the secondary school" will come without additional exams :(...

On the topic: My fiddling with C can't be just called "OS development" :lol: As long I've kept the asm sources, I'm slowly starting afresh too... with my own kernel.
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Post by piranha »

I just did that, started with basic MM and interrupts (and other basics), now I'm getting HD access and implementing SFS.

-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
Post Reply